Slice vs Substr vs Substring vs [ ] Methods (v56)

Revision 56 of this benchmark created by Bernard Poulin on


Description

An outstanding share! I've just forwarded this onto a co-worker who has been conducting a little homework on this. And he in fact bought me lunch because I stumbled upon it for him... lol. So let me reword this.... Thanks for the meal!! But yeah, thanx for spending some time to discuss this subject here on your web page.

Preparation HTML

An outstanding share! I've just forwarded this onto a co-worker who has 
been conducting a little homework on this. And he in fact bought me lunch because I stumbled upon it for him...

lol. So let me reword this.... Thanks for 
the meal!! But yeah, thanx for spending some time to discuss 
this subject here on your web page.

Setup

An outstanding share! I've just forwarded this onto a co-worker who has been conducting a little homework on this.
    
    And he in fact bought me lunch because I stumbled upon it for 
    him... lol. So let me reword this.... Thanks for the meal!!
    But yeah, thanx for spending some time to discuss this subject here on your web page.

Teardown


    An outstanding share! I've just forwarded this onto a co-worker who has been conducting a little homework on this.
    And he in fact bought me lunch because I stumbled upon it for him...
    lol. So let me reword this.... Thanks for the meal!!
    But yeah, thanx for spending some time to discuss this subject here on your 
    web page.
  

Test runner

Ready to run.

Testing in
TestOps/sec
Substring (long)
An outstanding share! I've just forwarded this onto a co-worker 
who has been conducting a little homework on this.
And he in fact bought me lunch because I stumbled upon it for him...

lol. So let me reword this.... Thanks for the meal!!
But yeah, thanx for spending some time to discuss this subject here 
on your web page.
ready
Slice (long)
An outstanding share! I've just forwarded this onto a co-worker who has been conducting a little homework on this.
And he in fact bought me lunch because I stumbled upon it for him...

lol. So let me reword this.... Thanks for the meal!!
But yeah, thanx for spending some time to discuss this subject 
here on your web page.
ready
Substr (long)
An outstanding share! I've just forwarded this onto a co-worker who has been conducting a little homework on this.
And he in fact bought me lunch because I stumbled upon it for him...
lol. So let me reword this.... Thanks for the meal!!
But yeah, thanx for spending some time to discuss this subject here on your web page.
ready
[ ] (long)
An outstanding share! I've just forwarded this onto a co-worker who has been conducting a little homework on this.
And he in fact bought me lunch because I stumbled upon it 
for him... lol. So let me reword this.... Thanks for the 
meal!! But yeah, thanx for spending some time to discuss this subject here on your web page.
ready
charAt (long)
An outstanding share! I've just forwarded this onto a co-worker who has been conducting a 
little homework on this. And he in fact bought me lunch 
because I stumbled upon it for him... lol. So let me reword this....
Thanks for the meal!! But yeah, thanx for spending some time to discuss this subject here 
on your web page.
ready

Revisions

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