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
13K/s
(Small Object) Stack + WeakSet Cycle Detection
8K/s
(Small Object) Recursively Freeze
8K/s
(Big Object) Proxy copy-on-write
2K/s
(Big Object) Stack + WeakSet Cycle Detection
1K/s
(Big Object) Recursively Freeze
1K/s
View exact numbers
Test name Executions per second
(Small Object) Copy-on-write 12,690 Ops/sec
(Small Object) Stack + WeakSet Cycle Detection 7,715 Ops/sec
(Small Object) Recursively Freeze 7,664 Ops/sec
(Big Object) Proxy copy-on-write 1,925 Ops/sec
(Big Object) Stack + WeakSet Cycle Detection 1,054 Ops/sec
(Big Object) Recursively Freeze 1,052 Ops/sec
Script Preparation code:
Tests: