Tag

performance

Articles tagged “performance”

Articles
4
Latest
  1. №04
    The V8 object model

    Four Maps Is Polymorphic. Five Is Not.

    Monomorphic, polymorphic and megamorphic are counted states with a threshold of four. Here is the transition log, the V8 line that decides it, and the cost.

  2. №03
    The V8 object model

    Object Shapes Are a Tree, and the Tree Is Shared

    A hidden class is a node in a transition tree V8 keeps for the whole isolate — which is why an unrelated function can decide how your object is stored.

  3. №02
    Async machinery

    The Event Loop You Think You Know

    Microtasks, rendering opportunities and starvation — what the loop actually does between your callbacks, in the browser and in Node.

  4. №01
    The V8 object model

    How V8 Decides to Optimize Your Function

    Two functions that look identical can run at very different speeds. The difference is usually shapes, inline caches, and a deoptimization you never saw.

Arrow keys to move, Enter to open.