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 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0
Browser:
Firefox 138
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
9 months ago
Slice
62.7M/s
Length as 0
59.4M/s
Splice
37.9M/s
View exact numbers
Test name
Executions per second
✓
Slice
62,731,944 Ops/sec
Length as 0
59,414,020 Ops/sec
Splice
37,872,556 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;