Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

History

  • Loading branch information...
commit 846679a3e72b08c3c6ed4e80b5a17e4ade99f805 1 parent b6a7897
@dchelimsky dchelimsky authored
Showing with 23 additions and 0 deletions.
  1. +2 −0  History.markdown
  2. +21 −0 Upgrade.markdown
View
2  History.markdown
@@ -12,6 +12,8 @@
rspec-2 (Justin Ko)
* debugger statements _just work_ as long as ruby-debug is installed
* otherwise you get warned, but not fired
+ * Expose example.metadata in around hooks
+ * Performance improvments (see [Upgrade.markdown](https://github.com/rspec/rspec-core/blob/master/Upgrade.markdown))
* Bug fixes
* Make sure --fail-fast makes it across drb
View
21 Upgrade.markdown
@@ -1,5 +1,26 @@
# rspec-core-2.2
+## 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
Please sign in to comment.
Something went wrong with that request. Please try again.