mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-01-14 16:47:55 +00:00
Docs: Update benchmark results
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user