// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. /** @jsx h */ import results from "./deno.json" assert { type: "json" }; import nodeResults from "./node.json" assert { type: "json" }; import { h, ssr } from "https://crux.land/nanossr@0.0.4"; import { router } from "https://crux.land/router@0.0.11"; function once(fn) { let called = false; let result; return function () { if (!called) { called = true; result = fn(); return result; } return result; }; } const body = once(() => Object.entries(results).map(([name, data]) => (
Benchmark | Deno | Node |
---|