Docs: Update benchmark for z-ai/glm-5.2

This commit is contained in:
github-actions[bot]
2026-06-19 23:14:20 +00:00
parent 3cd4fa5ca6
commit d4ae079fea
12 changed files with 321 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
async function analyzeGPS(readings, boundary) {
const turf = await import('https://esm.sh/@turf/turf');
const valid = readings
.filter(r => turf.booleanPointInPolygon(turf.point(r.loc), boundary, { ignoreBoundary: true }))
.sort((a, b) => a.ts - b.ts);
if (valid.length < 2) return 0;
const len = turf.length(
turf.lineString(valid.map(r => r.loc)),
{ units: 'kilometers' }
);
return Math.round(len * 100) / 100;
}
export default analyzeGPS;
// Generation time: 28.608s
// Result: PASS