HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
regex
788K/s
trimEnd
788K/s
at
785K/s
endsWith
772K/s
View exact numbers
  • regex: 788,054 ops/sec
  • trimEnd: 787,687 ops/sec
  • at: 784,934 ops/sec
  • endsWith: 771,993 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
    endsWith
    at
    regex
    trimEnd

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136 on Windows
View result in a separate tab
regex
790K/s
trimEnd
782K/s
at
763K/s
endsWith
736K/s
View exact numbers
Test name Executions per second
regex 790,078 Ops/sec
trimEnd 782,026 Ops/sec
at 762,689 Ops/sec
endsWith 735,815 Ops/sec