DEV Community

Cover image for Inside JavaScript Engines: How Browsers Bring Your Code to Life

Inside JavaScript Engines: How Browsers Bring Your Code to Life

Mukhil Padmanabhan on November 22, 2024

I’ve always been fascinated by the deep abstractions that power modern web apps. But as I increasingly began to understand how JavaScript is execut...
Collapse
 
abdulmgt profile image
Adulmajid Muhammad Bala

Good job.👍

Collapse
 
mukhilpadmanabhan profile image
Mukhil Padmanabhan

Thank you!

Collapse
 
sairamnagothu profile image
SairamNagothu

Awesome 🎊👌

Collapse
 
mukhilpadmanabhan profile image
Mukhil Padmanabhan

Thank You!

Collapse
 
emmy-akints profile image
Ayomide Emmanuel Akintan

Thank you so much.

Collapse
 
codewanderer profile image
Code Wanderer

Super 👍 Good job 👈👈

Collapse
 
mukhilpadmanabhan profile image
Mukhil Padmanabhan

Thank you!

Collapse
 
zorqie profile image
I, Pavlov • Edited

2 is not quite as straightforward. Nested functions in my tests are 19% slower in Chromium and 69% slower in Firefox for arrays of 1000. For 10,000 elements however, Chromium does the functions faster but Firefox still prefers the loops.

So, I guess the moral is, focus first on good code.

jsbench.me/qsm3xg2lmq/1

Collapse
 
andrewsjoey17 profile image
Andrews Joey

Great Explanation!

Collapse
 
castoffclay profile image
Clay Mic 🎙

I felt the message in the blog post

Collapse
 
mohib-01 profile image
MA R

Next level brother too good !! 😊
Now I understand how a single line of code helps optimise the overall performance of your application 🙌