HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/ruby-2.7.4/gems/railties-6.1.4.1/lib/rails/generators/rails/benchmark/USAGE
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`