Skip to content

activesupport on ruby 2.6 | using 1.hour in step gets slow #34888

@artisr

Description

@artisr

Steps to reproduce

use ruby 2.6 & activesupport 5.2.2

(1...72000).step(1.hour).each { |x| puts x }
or any other duration used in step

Expected behavior

be constantly fast

Actual behavior

gets exponentially slower

System configuration

rails 5.2
ruby 2.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions