matcha
matcha copied to clipboard
before and after each hooks
Some tested methods may have side effects on the environment. It'd be useful if we could specify beforeEach and afterEach hooks.
+1
+1 I have a bunch of terribly inaccurate benchmarks due to spending as much or more time on the setup for each iteration as I am doing the actual thing I want timing information for... >.>