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
8 months ago
(Small Object) Copy-on-write
37K/s
(Small Object) Stack + WeakSet Cycle Detection
23K/s
(Small Object) Recursively Freeze
23K/s
(Big Object) Proxy copy-on-write
50/s
(Big Object) Recursively Freeze
25/s
(Big Object) Stack + WeakSet Cycle Detection
25/s
View exact numbers
Test name Executions per second
(Small Object) Copy-on-write 36,939 Ops/sec
(Small Object) Stack + WeakSet Cycle Detection 23,491 Ops/sec
(Small Object) Recursively Freeze 23,348 Ops/sec
(Big Object) Proxy copy-on-write 50 Ops/sec
(Big Object) Recursively Freeze 25 Ops/sec
(Big Object) Stack + WeakSet Cycle Detection 25 Ops/sec
Script Preparation code:
Tests: