Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Funfunc
(version: 0)
F
Comparing performance of:
Eval vs New function vs Arrow vs Classic
Created:
4 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var func = new Function("return 2 * 3"); var fun = () => 2*3; function f() { return 2*3; }
Tests:
Eval
eval("2*3")
New function
func()
Arrow
fun()
Classic
f()
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
Eval
New function
Arrow
Classic
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:
Round Numbers to 2 digits
Decimal rounding
Number fixing - 3
roundDecimal() with Math.pow vs. Unary and toPrecision()
Decimal Rounding - Exponential notation vs Number.EPSILON vs Double rounding vs Double rounding v2
Comments
Confirm delete:
Do you really want to delete benchmark?