synbioz / bm-ar-ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmark

Setup

Create the database bm on your postgresql instance.

bundle install

Configure your config/database.yml.

bundle exec ruby db/setup.rb

Inject some datas

You can specify the amount of lines you want, default is 1 million.

LINES=10_000 bundle exec ruby db/seed.rb

Run the benchmark

bundle exec ruby bm/bm.rb

About


Languages

Language:Ruby 100.0%