Skip to content
Beyond Fireship
×0.8YouTube long-formTranscript

JavaScript performance is weird... Write scientifically faster code with benchmarking

BFBeyond Fireship@beyondfireship · 463K subscribers
Views
256K
255,926
Outlier
×0.8
Median 316K
Length
8:20
Published
Oct 30, 2024
Wednesday
Comments
341
11.2K likes
Watch on YouTube

Script

How it's written

English
Words
1,848
Words a minute
221
Reading time
8 min
Segments
6

The hook

0:00–0:26

what you're looking at here are the five rules of programming written by the legendary programmer Rob Pike who programmed the go programming language the first rule of programming is do not talk about programming the second rule of programming is to measure don't tune for Speed until you've measured and even then don't unless one part of the code overwhelms the rest this Echoes another legendary programmer Donald canth who offered similar advice when he said premature optimization is the root of all evil even my dad would tell me

Structure

Full transcript

Description

Learn how to benchmark your JavaScript code in Deno and find out how the way you write code affects performance. Why is a traditional for loop faster than forEach? And is premature optimization the root of all evil?

Use DENOTIME to take 30% off Fireship PRO https://fireship.io/pro

Node vs Deno vs Bun by ‪@AntonPutra‬    • Deno vs. Node.js vs Bun: Performance Compa...

10 Sorting Algorithms    • Sorting Algorithms Explained Visually

More from Beyond Fireship

Search Scout

Search creators, videos and pages, then press Enter to open one.