paint-brush
Optimizing Performance With Throttling in JavaScriptby@marat
1,226 reads
1,226 reads

Optimizing Performance With Throttling in JavaScript

by Marat3mJanuary 5th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Some browser events have an extremely high-frequency rate. The number of events such as cursor moving, scrolling, resizing the browser window, holding down a key, etc., can reach 100 times per second. To reduce the load on the browser, you need to use throttling. Throttling allows you to "slow down" the function, i.e. the function will be executed no more than once in the specified period.
featured image - Optimizing Performance With Throttling in JavaScript
Marat HackerNoon profile picture
Marat

Marat

@marat

Hi guys, I'm Marat, a software developer with expertise in JavaScript, TypeScript and React

About @marat
LEARN MORE ABOUT @MARAT'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item

STORY’S CREDIBILITY

DYOR

DYOR

The writer is smart, but don't just like, take their word for it. #DoYourOwnResearch

L O A D I N G
. . . comments & more!

About Author

Marat HackerNoon profile picture
Marat@marat
Hi guys, I'm Marat, a software developer with expertise in JavaScript, TypeScript and React

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite