Docs: Update benchmark for google/gemini-3.1-flash-lite

This commit is contained in:
github-actions[bot]
2026-05-18 03:02:46 +00:00
parent 542af993bf
commit ebeee1ab97
12 changed files with 349 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
async function analyzeGPS(readings, boundary) {
const { booleanPointInPolygon, lineString, length } = await import('https://cdn.skypack.dev/@turf/turf');
const valid = readings
.filter(r => booleanPointInPolygon(r.loc, boundary))
.sort((a, b) => a.ts - b.ts);
if (valid.length < 2) return 0;
const dist = length(lineString(valid.map(r => r.loc)), { units: 'kilometers' });
return +dist.toFixed(2);
}
export default analyzeGPS;
// Generation time: 1.005s
// Result: PASS