Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
eval vs new Function - bool
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Browser:
Firefox 135
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
func
1046.2M/s
eval
2.3M/s
View exact numbers
Test name
Executions per second
✓
func
1,046,219,392 Ops/sec
eval
2,267,292 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
var func = new Function("return true || false && 10 != 7");
Tests:
eval
eval("true || false && 10 != 7");
func
func();