Function x Replace (Coala)

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
function
const replaceFunc = (str) => `lorem ipsum ${str}`

replaceFunc()
ready
replace
const text = 'lorem ipsum {mock}'

text.replace('{mock}', 'dolor sit amet')
ready

Revisions

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