Tests:
-
Loop ParseInt
-
Loop Constructor
-
DataView
-
Direct Constructor
-
Direct ParseInt
-
Direct Constructor with split
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0
Firefox 145 on Mac OS X 10.15
View result in a separate tab
Direct Constructor with split
35.2M/s
Direct Constructor
8.8M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Direct Constructor with split
|
35,170,820 Ops/sec |
|
Direct Constructor
|
8,822,615 Ops/sec |
|
Loop ParseInt
|
4,838,594 Ops/sec |
|
Direct ParseInt
|
4,661,772 Ops/sec |
|
Loop Constructor
|
4,593,928 Ops/sec |
|
DataView
|
3,482,706 Ops/sec |
Do you really want to delete benchmark?