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
(Small Object) Stack + WeakSet Cycle Detection 23832.1 Ops/sec
(Small Object) Recursively Freeze 23461.1 Ops/sec
(Small Object) Copy-on-write 37410.1 Ops/sec
(Big Object) Stack + WeakSet Cycle Detection 7578.5 Ops/sec
(Big Object) Recursively Freeze 7557.5 Ops/sec
(Big Object) Proxy copy-on-write 12332.7 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