Benchmarking Like a Boss
Offered By: JSConf via YouTube
Course Description
Overview
Dive into the world of JavaScript benchmarking with this 21-minute JSConf talk by John-David Dalton. Explore various benchmarking techniques, including synthetic and DOM benchmarks, and learn about tools like JSperf, JScom, and Xstats. Discover the importance of context, consistency, and accurate formulas in benchmarking, and understand how to address common issues such as the Firefox bug. Gain insights into achieving consistent timer resolution and applying statistical methods like t-tests to your benchmarking results. By the end of this talk, you'll be equipped with the knowledge to benchmark JavaScript code like a pro and make informed decisions about performance optimization.
Syllabus
Introduction
Synthetic Benchmarks
DOM Benchmarks
JSperf
JScom
XstatsJS
While Loop
One Second Test
Context
Consistency
Results
Firefox Bug
Finding Accurate Formulas
How to Get Consistent Timer Resolution
Formulas
Ttest
Khan Academy
Gotchas
Issues
Questions
Taught by
JSConf
Related Courses
Deno - Next Generation JavaScript RuntimeJSConf via YouTube How I Got 1600 Stars on GitHub in 2 Months of Open Source Work
JSConf via YouTube Is it Okay to Pursue Functional Programming on Frontend - JSConf Korea
JSConf via YouTube If - Extensible Design - Return "Work Life Balance"
JSConf via YouTube React x Web Components - How It Is and How It Could Be
JSConf via YouTube