Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Testff
(version: 1)
dsf
Comparing performance of:
1 vs 2
Created:
12 days ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here--> <script src='https://cdn.jsdelivr.net/npm/@turf/turf@7/turf.min.js'></script>
Script Preparation code:
// A simple square (5 vertices) const smallPoly = turf.polygon([[ [-1, -1], [1, -1], [1, 1], [-1, 1], [-1, -1] ]]); // A complex "circle" (100 vertices) const largePoly = turf.circle([0, 0], 2, {steps: 100}); // The polygon we are testing against const target = turf.polygon([[ [0.5, 0.5], [1.5, 0.5], [1.5, 1.5], [0.5, 1.5], [0.5, 0.5] ]]);
Tests:
1
turf.booleanIntersects(smallPoly, target);
2
turf.booleanIntersects(largePoly, target);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
1
2
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
12 days ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Browser/OS:
Chrome 146 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
1
1719538.9 Ops/sec
2
13336.2 Ops/sec
Related benchmarks:
ZZZZZZ
Drawing on Canvas
Multiple Attributes Performance III
Multiple Attributes Performance IV
Canvas roundrect perf
Canvas roundrect perf comparison check
Roundrect perf comparison check
Roundrect perf comparison check 2
Testff1
Comments
Confirm delete:
Do you really want to delete benchmark?