Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

add optional gc constraint to config #433

@dchelimsky

Description

@dchelimsky

Per http://www.rubyinside.com/careful-cutting-to-get-faster-rspec-runs-with-rails-5207.html

Something like:

RSpec.configure do |c|
  c.gc_frequency = 10
end

This would allow GC to run after every 10th example, allowing the user to set tweak the frequency per needs of each suite.

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