Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Multiplication vs Math.exp
(version: 1)
Comparing performance of:
Multiplication vs Exponential
Created:
one year ago
by:
Guest
Go to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
/*your preparation JavaScript code goes here To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/ async function globalMeasureThatScriptPrepareFunction() { // This function is optional, feel free to remove it. // await someThing(); }
Tests:
Multiplication
const a = 2; const b = 3; const result = a * b;
Exponential
const x = 2; const result = Math.exp(x);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Multiplication
Exponential
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0
Browser/OS:
Firefox 139 on Ubuntu
View result in a separate tab
Embed
Embed Benchmark Result
Exponential
2706.7M/s
Multiplication
2599.6M/s
View exact numbers
Test name
Executions per second
✓
Exponential
2,706,702,336 Ops/sec
Multiplication
2,599,615,488 Ops/sec
Related benchmarks
reate array by lenght
Assigning new variable
Float32Array Vec3 init
Benchmark GTM
Decimal.js vs Native
Test array concat
Test array concat with larger array
me vs chatgpt
Constructor parameters versus object assignment
Comments
Confirm delete:
Do you really want to delete benchmark?