Module: FactoryBotInstruments
- Defined in:
- lib/factory_bot_instruments/tracing.rb,
lib/factory_bot_instruments/version.rb,
lib/factory_bot_instruments/benchmarking.rb,
lib/factory_bot_instruments.rb
Defined Under Namespace
Modules: Benchmarking, Tracing, TracingHelpers Classes: Benchmark
Constant Summary collapse
- VERSION =
"1.2.0"
Class Method Summary collapse
Class Method Details
.benchmark_report(options = {}) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/factory_bot_instruments.rb', line 14 def self.benchmark_report( = {}) = { :progress => true }.merge() FactoryBot.benchmark_all(**).each do |benchmark| puts benchmark end end |