Docs: Update benchmark for google/gemini-3-flash-preview

This commit is contained in:
github-actions[bot]
2025-12-17 16:44:44 +00:00
parent 36b2e04fc3
commit 0bea7a0d26
11 changed files with 263 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
export async function analyzeGPS(readings, boundary) {
const T = await import('https://cdn.jsdelivr.net/npm/@turf/turf/+esm');
const pts = readings
.filter(({ loc }) => T.booleanPointInPolygon(loc, boundary))
.sort((a, b) => a.ts - b.ts)
.map(({ loc }) => loc);
if (pts.length < 2) return 0;
const len = T.length(T.lineString(pts), { units: 'kilometers' });
return Math.round(len * 100) / 100;
}
export default analyzeGPS;
// Generation time: 9.884s
// Result: PASS