Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
grhmc
· 12y ago · 0 comments
Amazing, the "performance tests" here operate on a list of only ten items long:
https://github.com/codemix/fast.js/blob/master/bench/for-eac...
I'm sure that is a statistically valid way to measure performance.
Comments
[–]
phpnode
12y ago
you're right in that it's important to consider inputs of different sizes. I did this for the indexOf() functions, I'll do the same here, thanks!
[–]
alttab
12y ago
To prove its worth, try showing a
Real
use case.