Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Benchmarking Like a Boss

JSConf via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Benchmarking Like a Boss

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.