News Score: Score the News, Sort the News, Rewrite the Headlines

JavaScript Benchmarking Is a Mess

I hate benchmarking code, just like any human (which, at this point, most viewers of this probably aren’t ¯\_(ツ)_/¯). It is much more fun to pretend that your caching of a value increased performance 1000% rather than testing to see what it did. Alas, benchmarking in JavaScript is still necessary, especially as JavaScript is used (when it shouldn’t be?) in more performance-sensitive applications. Unfortunately, due to many of its core architectural decisions, JavaScript doesn’t make benchmarking...

Read more at byteofdev.com

© News Score  score the news, sort the news, rewrite the headlines