Docs: Update benchmark results

This commit is contained in:
github-actions[bot]
2025-11-27 19:36:55 +00:00
parent e8b9dd6d0e
commit ba567f4017
109 changed files with 1138 additions and 1679 deletions

View File

@@ -1,9 +1,7 @@
async function renderTemplate(templateString, data) {
const { default: Handlebars } = await import(
'https://cdn.jsdelivr.net/npm/handlebars@4.7.8/dist/handlebars.min.js'
);
const template = Handlebars.compile(templateString);
return template(data);
async function renderTemplate(template, data) {
const { default: Handlebars } = await import('https://cdn.jsdelivr.net/npm/handlebars@4.7.8/dist/handlebars.min.js');
return Handlebars.compile(template)(data);
}
export default renderTemplate;
export default renderTemplate;
// Generation time: 2.224s
// Result: FAIL