Docs: Update benchmark for openai/gpt-5.6-luna EFF:high

This commit is contained in:
github-actions[bot]
2026-07-13 19:22:15 +00:00
parent c2950d20e7
commit 302f129522
12 changed files with 882 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
let dependencies;
const loadDependencies = () =>
dependencies ??= Promise.all([
import("https://esm.sh/marked@15.0.12"),
import("https://esm.sh/dompurify@3.2.6")
]);
async function parseMarkdown(markdown) {
if (typeof markdown !== "string") {
throw new TypeError("Markdown must be a string");
}
const [{ marked }, { default: DOMPurify }] = await loadDependencies();
const html = marked.parse(markdown, { gfm: true });
return DOMPurify.sanitize(html);
}
export default parseMarkdown;
// Generation time: 13.055s
// Result: PASS