Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
js lowercase vs uppercase
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Browser:
Firefox 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
native toUpperCase
632.8M/s
lodash toUpper
623.3M/s
View exact numbers
Test name
Executions per second
✓
native toUpperCase
632,815,872 Ops/sec
lodash toUpper
623,294,720 Ops/sec
Script Preparation code:
var test = 'More Text for TESTING'
Tests:
lodash toUpper
test.toLowerCase()
native toUpperCase
test.toUpperCase()