mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-03-17 03:11:01 +00:00
Refactor: Remove stale benchmark outputs
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
export async function renderTemplate(t, d = {}) {
|
||||
let { default: H } = await import("https://esm.sh/handlebars@4.7.8")
|
||||
return H.compile(String(t))({ ...d })
|
||||
}
|
||||
export default renderTemplate;
|
||||
// Generation time: 2.200s
|
||||
// Result: PASS
|
||||
@@ -1,8 +0,0 @@
|
||||
let hb
|
||||
async function renderTemplate(t, d) {
|
||||
hb = hb || (await import('https://cdn.jsdelivr.net/npm/handlebars@4.7.7/dist/handlebars.esm.js')).default
|
||||
return hb.compile(t)(d)
|
||||
}
|
||||
export default renderTemplate;
|
||||
// Generation time: 1.117s
|
||||
// Result: FAIL
|
||||
@@ -1,7 +0,0 @@
|
||||
const renderTemplate = async (t, d) => {
|
||||
const { default: h } = await import('https://esm.sh/handlebars');
|
||||
return h.compile(t)(d);
|
||||
};
|
||||
export default renderTemplate;
|
||||
// Generation time: 110.510s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user