Test

Benchmark created on


Setup

const str = '[a, b]';

Test runner

Ready to run.

Testing in
TestOps/sec
A
str.slice(1, -1).split(', ')
ready
B
str.replace('[','').replace(']','').replaceAll('\'','').split(',')
ready

Revisions

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