Hacker News new | ask | show | jobs
by wruza 1354 days ago
I’m getting 70mops byId and 23mops qs-#id. This looks like making a huge difference until I add these cases:

  3: "abc”.replace("a", "b")
  4: "1" * 2
Which result in 15mops and 74mops respectively. This test measures diameters of neutrinos so to say.
1 comments

My experience is that most developers tend to guess at performance and throw away numbers they disagree with. As a result performance testing is only something product owners care about.