Yonatan Kra

Yonatan Kra

Family, Code, Run

  • Blog
  • Planned Talks
  • About Me
  • Free Tech Blogging eBook!

Category: Performance

Home / Performance (Page 2)

Reducing Network Traffic with the Flyweight Design Pattern

January 26, 2020August 10, 2021 Yonatan KraLeave a Comment on Reducing Network Traffic with the Flyweight Design Pattern
WBC flyweight champion Yu Kimura
Image by: Papakanno (CC BY-SA)

Your users expect a fast and smooth experience. Sometimes what stands in the way is how long it takes to download data. The flyweight design pattern is a …

Read More

Optimization Patterns in Javascript Talk

January 22, 2020August 10, 2021 Yonatan KraLeave a Comment on Optimization Patterns in Javascript Talk

My talk (in Hebrew) at Javascript Israel about Optimization Patterns in Javascript is now online. Enjoy 🙂

They caught me at my geek joke!
…
Read More

Collecting Garbage in ConfrontJS

January 21, 2020August 10, 2021 Yonatan KraLeave a Comment on Collecting Garbage in ConfrontJS

My video from confrontJS about reducing garbage collection with the Object Pool design pattern is now live on YouTube!

…
Read More

Programming Complexity in JavaScript – not What You’d Expect

January 18, 2020August 10, 2021 Yonatan KraLeave a Comment on Programming Complexity in JavaScript – not What You’d Expect

I’ve recently given a talk about Design Patterns in JS at Javascript Israel. I’ve spoken about memory allocation in JS when I explained about the Object Pool design pattern.

After the talk several people came to ask questions …

Read More

Object Pool use case

January 15, 2020August 10, 2021 Yonatan KraLeave a Comment on Object Pool use case

After the Object Pool article went online, I was asked this on Facebook:

Benjamin Gruenbaum comment on my article. Benji is a nodejs contributor, among other cool things he’s doing.

What I take from here is 2 fold:

  1. The one
…
Read More

Improve Performance with Object Pool

January 10, 2020August 10, 2021 Yonatan KraLeave a Comment on Improve Performance with Object Pool

In a former article I’ve shown the consequences of memory allocation and garbage collection. Object pool is a simple design pattern that can be used in order to solve both problems.

The Problem

Memory allocation is a slow process. …

Read More

Memory Allocation and Garbage Collection in Javascript

January 2, 2020August 10, 2021 Yonatan KraLeave a Comment on Memory Allocation and Garbage Collection in Javascript
Memory Allocation
This is how we can allocate memory – by taking photos. This empty frame is ready to be filled with a memory. Photo by Rolands Zilvinskis on Unsplash

Javascript developers usually don’t care much about memory management. The JS engine …

Read More

Runtime Optimization Patterns

November 7, 2019August 10, 2021 Yonatan KraLeave a Comment on Runtime Optimization Patterns

My talk from CodeTalks 2019 is live. You can watch it here:

In this talk I go over 3 design patterns I’ve used in production in order to enhance performance in Javascript: Dirty flag, data locality and Object pool.

Some …

Read More

Posts navigation

Previous 1 2

I’m an instructor at:

Egghead.io

Follow me on

Sign up for my newsletter

Recent Posts

  • Live Coding an Open Source Feature
  • How to Use Github Actions Self-Hosted Runners?
  • How to Build a Vivid Birthday Quiz in 20 minutes?
  • The One Trick to Writing Effective Tests
  • 3 Simple Habits to Improve Your Tests

Categories

  • Algorithms
  • Architecture
  • AskQL
  • Blogging
  • canvas
  • chrome extensions
  • CodeTalks 2019
  • Coding
  • Conferences
  • ConfrontJS
  • ConfrontJS 2019
  • Cypress
  • debugging
  • Design Patterns
  • devops
  • docker
  • Gaming
  • Github
  • github actions
  • GraphQL
  • Interview Questions
  • Javascript
  • javascript engine
  • Javascript Israel
  • jest
  • Memory
  • Meta Programming
  • Musings
  • nodejs
  • NPM
  • nx
  • Open Source
  • Performance
  • Playwright
  • Skills
  • Testing
  • typescript
  • Uncategorized
  • vivid
  • WarsawJS
  • Web Component
  • webpack
| beetech by Buzthemes.