Add thousand spec
Created by: sheerun
Hello :)
I'd like to contribute something I've called "thousand spec" that tests real world performance of executing specs of different sizes, from .5ms to 10ms. Tests spawn external processes so we're 100% sure whole thing is correctly measured.
I hope in the future this test will be expanded to include more real-world code, but I think for now is good enough and does few important things:
- It is a regression test so rspec real-world performance isn't slower than its main competitor
- Tells rspec how much overhead rspec currently have compared to its main competitor
It turns out RSpec is just max 1.1 (normal tests) - 1.6 (micro tests) times slower
Let's improve this