Low-Level JavaScript Performance Best Practices (Crash Course)

Поділитися
Вставка
  • Опубліковано 28 чер 2024
  • Optimizing your JavaScript code can be tricky, as there are many pitfalls one can run into even before implementation. Let's learn about those in order to keep your JavaScript app performant.
    ======⚡⚡⚡======
    Consider becoming a member of the channel by joining me ❤️
    / @softwaredeveloperdiaries
    ☕ Buy me a coffee: www.buymeacoffee.com/software...
    🙌 Become my Patreon and get exclusive perks: / softdevdiaries
    💼 Follow me on LinkedIn and drop me a message if you'd like: / gadirovgs
    💻 Also, let's connect on GitHub: github.com/gusgad
    📚 Resources:
    Original article: romgrk.com/posts/optimizing-j...
    JavaScript Memory Model: www.zhenghao.io/posts/javascr...
    JavaScript Set vs. Map vs. Object vs. Array: / unveiling-the-speed-of...
    JavaScript Linked Lists: / why-use-a-linked-list-...
    Code: github.com/gusgad/youtube-tut...
    🕒 Timestamps:
    (0:00) Intro
    (0:45) String comparison
    (8:34) Object shapes
    (11:57) Array Object methods
    (14:53) Object access
    (16:16) Cache misses
    (21:22) Large objects
    (23:31) String mutations
    (25:43) Specialization
    (28:12) Data structures
    And don't forget to subscribe for more videos like this 😊
  • Наука та технологія

КОМЕНТАРІ • 10

  • @bombardo2489
    @bombardo2489 4 дні тому +3

    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  4 дні тому

      Happy to hear, mate! I'll put that on my list 😉

    •  4 дні тому

      This one sounds really good

  • @prashlovessamosa
    @prashlovessamosa 4 дні тому

    Great

  • @NathanielBabalola
    @NathanielBabalola 4 дні тому

    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

  • @gamingwolf3385
    @gamingwolf3385 4 дні тому

    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 ?

  • @GoetzGehgetz
    @GoetzGehgetz 4 дні тому

    t-10 ;)

  • @Serjgap
    @Serjgap 3 дні тому

    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