Sha256: cb67b60f42ec5cfdc6f656908880f57b3505b2e83372f01a9c5d3b295828db3e
Contents?: true
Size: 600 Bytes
Versions: 117
Compression:
Stored size: 600 Bytes
Contents
Description: Generate benchmarks to compare performance optimizations. Makes use of the `benchmark-ips` gem as it provides a number of benefits like: - Simple significance test - Automatic warmup - No need to specify the number of iterations Example: `bin/rails generate benchmark opt_compare` This will create: script/benchmarks/opt_compare.rb You can run the generated benchmark file using: `ruby script/benchmarks/opt_compare.rb` You can specify different reports: `bin/rails generate benchmark opt_compare patch1 patch2 patch3`
Version data entries
117 entries across 111 versions & 10 rubygems