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:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    split + join
    replaceAll

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 YaBrowser/23.1.5.751 Yowser/2.5 Safari/537.36
Yandex Browser 23 on Linux
View result in a separate tab
Test name Executions per second
split + join 660778.4 Ops/sec
replaceAll 1081411.2 Ops/sec