zhouqi-exec-match

Benchmark created by ZhouQi on


Test runner

Ready to run.

Testing in
TestOps/sec
exec
/\d+/.exec('adasd112s321asdasdasd')
ready
match
'adasd112s321asdasdasd'.match(/\d+/)
ready
match-g
'adasd112s321asdasdasd'.match(/\d+/g)
ready
exec-group
/(\d+)/.exec('adasd112s321asdasdasd')
ready
match-group
'adasd112s321asdasdasd'.match(/(\d+)/)
ready
match-group-g
'adasd112s321asdasdasd'.match(/(\d+)/g)
ready
replace
'adasd112s321asdasdasd'.replace(/\d+/, '')
ready
replace-g
'adasd112s321asdasdasd'.replace(/\d+/g, '')
ready
replace-group-g
'adasd112s321asdasdasd'.replace(/(\d+)/g, '')
ready

Revisions

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

  • Revision 1: published by ZhouQi on