Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36 EdgA/142.0.0.0
Chrome Mobile 142
Android
Mobile
5 months ago
Test name Executions per second
Stack + WeakSet Cycle Detection 3077460.0 Ops/sec
Recursively Freeze 1250388.8 Ops/sec
Copy-on-write 23450162.0 Ops/sec
Script Preparation code:
Tests:
  • (Small Object) Stack + WeakSet Cycle Detection

  • (Small Object) Recursively Freeze

  • (Small Object) Copy-on-write

  • (Big Object) Stack + WeakSet Cycle Detection

  • (Big Object) Recursively Freeze

  • (Big Object) Proxy copy-on-write