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
7 months ago
Test name Executions per second
(Small Object) Stack + WeakSet Cycle Detection 7714.7 Ops/sec
(Small Object) Recursively Freeze 7664.0 Ops/sec
(Small Object) Copy-on-write 12689.6 Ops/sec
(Big Object) Stack + WeakSet Cycle Detection 1053.6 Ops/sec
(Big Object) Recursively Freeze 1052.3 Ops/sec
(Big Object) Proxy copy-on-write 1924.5 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