Create a quick way to measure performance#88
Conversation
|
2 numbers aren't enough to be meaningful (on my machine, For high-precision time measurement (not Date.now() specialty), you can use process.hrtime() |
|
The noise is in the 1-2ms ballpark on my machine, so it doesn't seem useful to get more high-precision measures. My usecase is "how much does patch X slow this down", for which the current state is fine. I selected the "real" articles from our existing testcases, so I don't think mean/median is useful as they are different files. |
71eaed8 to
f544b69
Compare
|
The |
f544b69 to
a38f88a
Compare
|
Closing in favour of #90 . |
This is a pretty bare-bones approach, but it spits out two numbers and that seems useful enough as a baseline. @leibovic, @n1k0 - thoughts?