Skip to content

Instantly share code, notes, and snippets.

@phiggins
Created December 6, 2010 03:52
Show Gist options
  • Save phiggins/729819 to your computer and use it in GitHub Desktop.
Save phiggins/729819 to your computer and use it in GitHub Desktop.
eventmachine test speedups
### BEFORE
$ rake
(in /home/phiggins/projects/eventmachine-upstream)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
cp tmp/x86_64-linux/rubyeventmachine/1.9.2/rubyeventmachine.so lib/rubyeventmachine.so
cp tmp/x86_64-linux/fastfilereaderext/1.9.2/fastfilereaderext.so lib/fastfilereaderext.so
Loaded suite /home/phiggins/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
...................................................................................................................................................................
Finished in 27.141788 seconds.
163 tests, 258 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 53729
### AFTER
$ rake
(in /home/phiggins/projects/eventmachine)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
no configuration section for specified version of Ruby (rbconfig-1.9.2)
cp tmp/x86_64-linux/rubyeventmachine/1.9.2/rubyeventmachine.so lib/rubyeventmachine.so
cp tmp/x86_64-linux/fastfilereaderext/1.9.2/fastfilereaderext.so lib/fastfilereaderext.so
Loaded suite /home/phiggins/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
...................................................................................................................................................................
Finished in 11.408967 seconds.
163 tests, 252 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 12330
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment