What is Nostr?
TechPostsFromX
npub12tg…u9ad
2024-11-27 01:44:13

TechPostsFromX on Nostr: Anytime I post a video on making code more readable, I get lots of "probably horrible ...

Anytime I post a video on making code more readable, I get lots of "probably horrible for perf!" comments.

Promise perf almost always comes down to your flow control - running things concurrent vs series. Adding an extra Promise.allSettled() seems to have no effect.

Its good to always think about perf, but just test it! Tools over rules.

I believe this is operations/second https://jsben.ch/TxAvE


Source: x.com/wesbos/status/1861428931670249745
Author Public Key
npub12tg3narznz500vypswuk6nn6k4xkmuy9xvp66j3u89qsyregvy5sh8u9ad