Главная
Study mode:
on
1
Intro
2
Statistics
3
Benchmarking pitfalls
4
Test in all browsers
5
The 6 bullet points
6
Common problems with tests
7
Running tests
8
Comparing methods
9
Test case example
10
Reset variables
11
Test case
12
Test rerun
13
Test randomness
14
Never just asynchronous
15
synchronous tests
16
multi test case
17
dumb cleanup
18
benchmarkjs
19
testcount
20
unexpected browser features
Description:
Discover how to effectively use jsPerf for JavaScript performance testing in this JSConf EU 2011 talk. Learn about benchmarking pitfalls, the importance of testing across multiple browsers, and six key points for accurate results. Explore common problems with tests, proper test case setup, variable resetting, and handling asynchronous operations. Gain insights into comparing methods, dealing with test randomness, and avoiding unexpected browser features that can skew results. Master the art of creating reliable JavaScript benchmarks to optimize your code performance.

Using jsPerf Correctly

JSConf
Add to list
0:00 / 0:00