Javascript .toUpperCase() vs .toLowerCase()

Benchmark created by ThinkingStiff on


Test runner

Ready to run.

Testing in
TestOps/sec
.toUpperCase()
var str = 'aBcDeFgHiJkLmNoPqRsTuVwXyZ'.toUpperCase();
ready
.toLowerCase()
var str = 'aBcDeFgHiJkLmNoPqRsTuVwXyZ'.toLowerCase();
ready

Revisions

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