Skip to content

Instantly share code, notes, and snippets.

---
total_time: 0.43
threads:
78550710:
total_time: 0.43
methods:
Global#[No method]:
calls: 1
total_time: 0.43
self_time: 0.0
(05:59) gsilva ~/Projects/redmine[rails3] $ time rails generate dummy:all
successful initialize Rails application
create test/dummy/data
successful generate 20 records for 'workflow'
successful generate 10 records for 'project'
successful generate 20 records for 'version'
successful generate 10 records for 'setting'
successful generate 40 records for 'journal'
successful generate 10 records for 'project_custom_field'
successful generate 40 records for 'comment'
Test applications live under ci/benchmark/* (and ignored with .gitignore)
1. rails generate benchmarking_data
2. rails generate benchmarking_routes (depends on 1. for PUT/DELETE)
3. rails generate benchmarking_ci (runs 1. and 2.)
4. rake benchmark
1.
- Checks if test/fixtures/rails_benchmarking_ci/data/* was not already automatically generated
- Generates fake data automatically and stores it in test/fixtures/rails_benchmarking_ci/data/*
GCdata
1.9.2: http://github.com/wycats/ruby-prof/blob/master/patches/gcdata/ruby192gc.patch
1.9.3: http://github.com/wycats/ruby-prof/blob/master/patches/gcdata/ruby193gc.patch
Zero-copy context switching
1.8.6: http://timetobleed.com/files/186-hs.patch
1.8.7: http://timetobleed.com/files/187-hs.patch
MBARI
1.6.8:http://sites.google.com/site/brentsrubypatches/Home/ruby-1.6.8-mbari8B.patch?attredirects=0&d=1