Docs: Update benchmark for minimax/minimax-m2.1

This commit is contained in:
github-actions[bot]
2025-12-23 02:41:05 +00:00
parent 4d1b1b44a4
commit 3983c8eb1a
11 changed files with 315 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
async function findLISLength(arr) {
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm');
const tails = [];
for (const num of arr) {
const idx = bisectLeft(tails, num);
if (idx === tails.length) tails.push(num);
else tails[idx] = num;
}
return tails.length;
}
export default findLISLength;
// Generation time: 4.847s
// Result: PASS