Permalink
Browse files

Merge branch 'master' of github.com:rspec/rspec-core

  • Loading branch information...
2 parents 5a5208d + 846679a commit 913ce199e7744d29c04606e7d76c86884bd97c1a @dchelimsky dchelimsky committed Nov 19, 2010
Showing with 21 additions and 0 deletions.
  1. +21 −0 Upgrade.markdown
View
21 Upgrade.markdown
@@ -21,6 +21,27 @@ Run using ruby-1.9.2 on Mac OS X w/ 3.06 G
** this does _not_ mean your suite will be 64% faster, but it does mean that
the overhead incurred by RSpec in your suite should be roughly 64% less.
+## FASTER!
+
+Made several small optimizations that all add up to a considerable improvement
+in performance. Using a simple benchmark:
+
+ generate 5000 example groups,
+ each with one example,
+ each with one passing expectation
+
+Run using ruby-1.9.2 on Mac OS X w/ 3.06 G
+
+* rspec-2.1
+ * loaded in 0.85 on avg
+ * ran in 2.61 on avg
+* rspec-2.2
+ * loaded in 0.73 on avg (~15% improvement)
+ * ran in 0.94 on avg (~64% improvement**)
+
+** this does _not_ mean your suite will be 64% faster, but it does mean that
+ the overhead incurred by RSpec in your suite should be roughly 64% less.
+
## Command line
### --debug/-d is now deprecated

0 comments on commit 913ce19

Please sign in to comment.