Sha256: 979a2939dbc88a0c2cdd28c2650c603e53f60f2dacfebc2bfaed24d656a5bd75

Contents?: true

Size: 1.12 KB

Versions: 46

Compression:

Stored size: 1.12 KB

Contents

To run the benchmarks, from within the benchmarks run:
   ruby benchmark.rb [options]

The following options are supported:
  --adapter [String]   The database adapter to use. IE: mysql, postgresql, oracle
             
  --do-not-delete       By default all records in the benchmark tables will be deleted at the end of the benchmark. This flag indicates not to delete the benchmark data.
  --num [Integer]      The number of objects to benchmark. (Required!)
  --table-type [String]  The table type to test. This can be used multiple times. By default it is all table types.
  --to-csv [String]      Print results in a CSV file format
  --to-html [String]     Print results in HTML format (String filename must be supplied)

See "ruby benchmark.rb -h" for the complete listing of options.

EXAMPLES
--------
To output to html format:
  ruby benchmark.rb --adapter=mysql2 --to-html=results.html

To output to csv format:
  ruby benchmark.rb --adapter=mysql2 --to-csv=results.csv

LIMITATIONS
-----------
Currently MySQL is the only supported adapter to benchmark.

AUTHOR
------
Zach Dennis
zach.dennis@gmail.com
http://www.continuousthinking.com

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
activerecord-import-2.0.0 benchmarks/README
activerecord-import-1.8.1 benchmarks/README
activerecord-import-1.8.0 benchmarks/README
activerecord-import-1.6.0 benchmarks/README
activerecord-import-1.5.1 benchmarks/README
activerecord-import-1.5.0 benchmarks/README
activerecord-import-1.4.1 benchmarks/README
activerecord-import-1.4.0 benchmarks/README
activerecord-import-1.3.0 benchmarks/README
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/activerecord-import-1.2.0/benchmarks/README
activerecord-import-1.2.0 benchmarks/README
activerecord-import-1.1.0 benchmarks/README
activerecord-import-1.0.8 benchmarks/README
activerecord-import-1.0.7 benchmarks/README
activerecord-import-1.0.6 benchmarks/README
activerecord-import-1.0.5 benchmarks/README
activerecord-import-1.0.4 benchmarks/README
activerecord-import-1.0.3 benchmarks/README
activerecord-import-1.0.2 benchmarks/README
activerecord-import-1.0.1 benchmarks/README