Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Testff
dsf
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
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:
Chrome 146
Operating system:
Windows
Device Platform:
Desktop
Date tested:
12 days ago
Test name
Executions per second
1
1719538.9 Ops/sec
2
13336.2 Ops/sec
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);