Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Ubuntu
Desktop
2 years ago
Use of defineProperty
1337.6M/s
Use of simple getter
808.2M/s
Proxy with get handler access
18.8M/s
Proxy with get reflect handler access
17.8M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Use of defineProperty
|
1,337,601,536 Ops/sec |
|
Object access
|
1,292,048,000 Ops/sec |
|
Use of simple getter
|
808,150,144 Ops/sec |
|
Proxy access
|
219,264,128 Ops/sec |
|
Proxy with get handler access
|
18,790,074 Ops/sec |
|
Proxy with get reflect handler access
|
17,766,590 Ops/sec |
Tests:
-
Object access
-
Proxy access
-
Proxy with get handler access
-
Use of simple getter
-
Use of defineProperty
-
Proxy with get reflect handler access