Benchmarking JavaScript
Offered By: GOTO Conferences via YouTube
Course Description
Overview
Explore JavaScript benchmarking techniques and performance optimization in this GOTO Chicago 2015 conference talk. Delve into the complexities of JavaScript VMs, browser performance, and compiler optimizations. Learn about loop invariants, dead code elimination, and how to write smarter benchmarks. Discover the impact of micro-benchmarks on VMs and how they can uncover bugs. Examine real-world examples, including the speaker's "patented blaze" case. Gain insights into various benchmarking tools, interesting modes, and constant faults. Understand the importance of presumption of innocence and avoiding hasty conclusions when interpreting benchmark results. Analyze different benchmark types, including method call speed tests and concurrent modification benchmarks. Acquire practical tips to speed up your JavaScript code and avoid common benchmarking pitfalls.
Syllabus
Intro
Complexity
Benchmarking
Browsers
Compiler
Loop invariant
Dead code elimination
How to write smarter benchmarks
Loop unrolling
Micro benchmarks vs VMs
How benchmarks find bugs in VMs
What happened with my patented blaze
The Tool
Interesting Mode
Constant Fault
Fix
presumption of innocence
jumping to conclusions
benchmark example
note
speed test
light
twice
multiple optimized versions
tags
counter
desert
methyl colon function
benchmark
method call speed
speed your JavaScript
no function benchmark
function call benchmark
concurrent modification benchmark
dont benchmark things
back in v8
Taught by
GOTO Conferences
Related Courses
Investment Strategies and Portfolio AnalysisRice University via Coursera Advanced R Programming
Johns Hopkins University via Coursera Supply Chain Analytics
Rutgers University via Coursera Технологическое предпринимательство
Moscow Institute of Physics and Technology via Coursera Learn How To Code: Google's Go (golang) Programming Language
Udemy