Low-Level JavaScript Performance Best Practices (Crash Course)

  Рет қаралды 4,707

Software Developer Diaries

Software Developer Diaries

Күн бұрын

Пікірлер: 17
@klarafall4281
@klarafall4281 4 ай бұрын
Good examples. Also keeping the folder view open actually helps understanding what currently explained. 👌
@bombardo2489
@bombardo2489 5 ай бұрын
man this exactly what i needed. could you spoil us further and make us video about user auth on enterprise level that would be sick
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 5 ай бұрын
Happy to hear, mate! I'll put that on my list 😉
5 ай бұрын
This one sounds really good
@W1ngSMC
@W1ngSMC 3 ай бұрын
I'm pretty sure JS strings are pooled so only the pointers to the actual c strings are compared. (V8 for sure pools constant strings you declare with "...") That is a reason you can't just set some nth character in the string, like in C.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 3 ай бұрын
Good point
@gamingwolf3385
@gamingwolf3385 5 ай бұрын
I was waiting for this video , thank you a lot I am learning C# , i see some new concepts like domain entity , value objects and this stuff , can you explain hiw to do it in node ?
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Will check if there are such alternatives in Node!
@NathanielBabalola
@NathanielBabalola 5 ай бұрын
Thank you, can you please drop the links to the jsbenchmarks ?
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 4 ай бұрын
Unfortunately they are not persisted, but you can find the approx. results in the original article linked in the description
@repenning1
@repenning1 4 күн бұрын
"Premature optimization is the root of all evil" - Donald Knuth. Why would you bother rewriting arguably more readable code (e.g., the array method example)? First of all, an improvement of, say, 38% in most use cases is quite pointless unless you are having a hard constraint such as 16ms FPS rendering budget. Second, the performance gain, if there even remains one, may be gone with the next version of JS engines. In short, stick to the more readable and more maintainable code and only optimize if there is an actual reason to do so.
@adwaitbokade2890
@adwaitbokade2890 4 ай бұрын
Magnificent !!
@prashlovessamosa
@prashlovessamosa 5 ай бұрын
Great
@_Greenflag_
@_Greenflag_ 4 күн бұрын
This is ok for a general knowledge, but this is (and should be) useless in programming. Yes, due to how things have been build, there is a difference of performance of objects "not having the same shape" but nobody (or there is a code problem) will do some 1 million iterations on an array or objects. So build readable and concise code instead of some esoteric performance optimisation.
@Serjgap
@Serjgap 4 ай бұрын
Speed optimization advices here are ok, but code style is very bad and inconsistent. You should have cleaned it up a bit instead of directly copying the article
@GoetzGehgetz
@GoetzGehgetz 4 ай бұрын
t-10 ;)
@HardikRudra-g3m
@HardikRudra-g3m 4 ай бұрын
Great
JavaScript Memory Leaks and How To Fix Them
14:58
Software Developer Diaries
Рет қаралды 29 М.
JavaScript Global Execution Context Explained!
27:25
Piyush Garg
Рет қаралды 10 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 85 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 130 МЛН
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 92 М.
Node.js Performance: optimizing the Event Loop
15:50
Software Developer Diaries
Рет қаралды 4,8 М.
Domain-Driven Design: The Last Explanation You'll Ever Need
21:05
Software Developer Diaries
Рет қаралды 10 М.
Why You Should AVOID Linked Lists
14:12
ThePrimeTime
Рет қаралды 280 М.
C Programming Tutorial for Beginners
3:46:13
freeCodeCamp.org
Рет қаралды 14 МЛН
"Clean" Code, Horrible Performance
22:41
Molly Rocket
Рет қаралды 909 М.
Beginner’s Guide to JavaScript Testing and its Best Practices
16:57
Software Developer Diaries
Рет қаралды 639
Vue.js Course for Beginners [2021 Tutorial]
3:39:56
freeCodeCamp.org
Рет қаралды 1,2 МЛН
Finally Fix Your Issues With JS/React Memory Management 😤
20:13
Jack Herrington
Рет қаралды 88 М.
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 85 МЛН