Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash toString vs String Constructor1
(version: 0)
Comparing performance of:
Native vs Lodash
Created:
5 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4/lodash.min.js'></script>
Script Preparation code:
function native(values) { return values.map(String); } function lodash(values) { return values.map(_.toString); }
Tests:
Native
native([42, "42", undefined, null, true, [], {}, function() {}])
Lodash
lodash([42, "42", undefined, null, true, [], {}, function() {}])
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Native
Lodash
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Lodash toString vs js String Constructor
Lodash toString vs native toString
Lodash toString vs String Constructor2
Lodash toString vs String Constructor 2
Comments
Confirm delete:
Do you really want to delete benchmark?