-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display test's time in ms #863
Comments
well test cases make horrible benchmarks, I'd definitely recommend against that beyond the really obvious crazy cases where something went really wrong, but we do display the times taken if they exceed |
+1, I agree with @tj that this does not have any real benchmark application, but it's an interesting metric all the same. |
This is already possible using the mocha test -s 0 |
@rash240719 |
One killer feature of qunit, that prevents me from switching to mocha completely for my browser tests, is the display of required time in milliseconds. This allows me to abuse my unit tests for simple benchmarking/profiling and iterate quickly to tweek performance.
Mocha currently only displays the time for longer tests: http://whiteout-io.github.io/crypto-lib/test/index.html
What would be awesome if there was an option to always display runtime like so:
The text was updated successfully, but these errors were encountered: