mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 00:27:55 +00:00
Docs: Update benchmark for openai/gpt-5.2
This commit is contained in:
15
tests/3_lis/outputs/openai_gpt-5.2.js
Normal file
15
tests/3_lis/outputs/openai_gpt-5.2.js
Normal file
@@ -0,0 +1,15 @@
|
||||
let _d3
|
||||
|
||||
async function findLISLength(a) {
|
||||
if (!Array.isArray(a)) throw new TypeError("Expected an array of numbers")
|
||||
|
||||
let { bisectLeft: b } = await (_d3 ||= import("https://cdn.jsdelivr.net/npm/d3-array@3/+esm"))
|
||||
let t = []
|
||||
|
||||
for (let x of a) t[b(t, x)] = x
|
||||
|
||||
return t.length
|
||||
}
|
||||
export default findLISLength;
|
||||
// Generation time: 9.821s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user