String Replace

Benchmark created on


Setup

function strReplaceTest() {
const testOBj = undefined;
const testStr = "reallyLongStringIshHowAboutNow";
const strReplace = testStr.replace("Is", testObj?? "0");
}

Test runner

Ready to run.

Testing in
TestOps/sec
Test performance
strReplaceTest()
ready
Test performance 2
strReplaceTest()
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.