HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 9 community runs

Desktop Results:
Chrome 9 runs
Array.prototype.slice
20.7M/s
Lodash slice
17.2M/s

Fastest: Array.prototype.slice (1.2x faster)

View exact numbers
  • Array.prototype.slice: 20,688,590 ops/sec
  • Lodash slice: 17,233,272 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash slice
    Array.prototype.slice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 hours ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36
Chrome 151 on Windows
View result in a separate tab
Lodash slice
1396.2M/s
Array.prototype.slice
86.5M/s
View exact numbers
Test name Executions per second
Lodash slice 1,396,219,392 Ops/sec
Array.prototype.slice 86,505,624 Ops/sec