Skip to content

Instantly share code, notes, and snippets.

@jwinter
Created May 15, 2012 01:44
Show Gist options
  • Save jwinter/2698473 to your computer and use it in GitHub Desktop.
Save jwinter/2698473 to your computer and use it in GitHub Desktop.
~/src/rspec_minitest_benchmark (411d12h19m|master*)
$ time rspec rspec.rb && time ruby minispec.rb && time ruby minitest.rb
................
Finished in 0.00415 seconds
16 examples, 0 failures
rspec rspec.rb 0.22s user 0.05s system 98% cpu 0.278 total
Run options: --seed 24680
# Running tests:
................
Finished tests in 0.002572s, 6220.8398 tests/s, 44712.2862 assertions/s.
16 tests, 115 assertions, 0 failures, 0 errors, 0 skips
ruby minispec.rb 0.17s user 0.03s system 98% cpu 0.213 total
Run options: --seed 16716
# Running tests:
................
Finished tests in 0.001802s, 8879.0233 tests/s, 63817.9800 assertions/s.
16 tests, 115 assertions, 0 failures, 0 errors, 0 skips
ruby minitest.rb 0.17s user 0.03s system 97% cpu 0.205 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment