Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
testing1234567899876
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
Browser:
Firefox 145
Operating system:
Windows
Device Platform:
Desktop
Date tested:
9 months ago
Slice
68.6M/s
Length as 0
64.7M/s
Splice
39.9M/s
View exact numbers
Test name
Executions per second
✓
Slice
68,616,368 Ops/sec
Length as 0
64,703,660 Ops/sec
Splice
39,877,572 Ops/sec
Tests:
Splice
const testArray = [1, 2, 3]; testArray.splice(0);
Slice
const testArray = [1, 2, 3]; testArray.slice();
Length as 0
const testArray = [1, 2, 3]; testArray.length = 0;