benchmark/benchmark.rb in mysql2xxxx-0.1.1 vs benchmark/benchmark.rb in mysql2xxxx-0.2.0
- old
+ new
@@ -1,10 +1,10 @@
#!/usr/bin/env ruby
ENV['HERE'] = File.dirname(__FILE__)
ENV['DBUSER'] = 'root'
ENV['DBPASSWORD'] = 'password'
-ENV['DBNAME'] = 'data1'
+ENV['DBNAME'] = 'mysql2xxxx_benchmark'
ENV['MEMPROF_REPORT_PATH'] = File.expand_path('memprof.txt')
ENV['DUMP_PATH'] = File.expand_path('a.dump')
ENV['EXECUTE'] = 'SELECT * FROM five_thousand_rows'
FORMATS = %w{ CSV JSON XML }
SAMPLE_RATE = 0.3