liveBook · Manning

Slow property

As explained in JavaScript in Depth

A V8 object property stored in a dictionary or hash table when the object's structure becomes highly dynamic.

A slow property is stored in a dictionary or hash table after an object becomes highly dynamic. V8 trades fast offset-based access for flexible property changes. section 5.10.2

V8 can enter slow-property mode when:

  • Properties are added dynamically, deleted, or arranged across many different object shapes. section 5.10.2
  • The delete operator removes a named property; V8 places the entire object into slow mode. section 5.10.2
  • Property reads lose the direct hidden-class offset path and may become substantially slower. section 5.10.2
const point = { x: 1, y: 2, z: 3 };
%HasFastProperties(point);  #A
delete point.z;
%HasFastProperties(point);  #B

Observe the transition by checking an object before and after deleting a property with V8's nonstandard intrinsic. section 5.10.2

How JavaScript in Depth covers it

How deep it goes
Explains dictionary storage, hidden-class offsets, transition triggers, and delete behavior, but remains specific to V8.
Examples
Uses a %HasFastProperties check before and after delete, plus Node.js 24 property-load measurements.
What you can do after
Diagnose slow-property transitions with Node.js's --allow-natives-syntax and avoid delete when preserving fast access matters.
How it connects
Connects slow properties with hidden classes, inline caches, object shapes, and megamorphic property access.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of JavaScript in Depth. The section links point to the parts of the book it draws on.