From a9e4ff2029a769737982fcf7e0b7d76d35cf35e4 Mon Sep 17 00:00:00 2001 From: evan Date: Tue, 12 Jul 2022 04:40:12 -0400 Subject: cleanup benchmarks folder (#587) * cleanup benchmarks * run prettier --- bench/react-hello-world.deno.jsx | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 bench/react-hello-world.deno.jsx (limited to 'bench/react-hello-world.deno.jsx') diff --git a/bench/react-hello-world.deno.jsx b/bench/react-hello-world.deno.jsx deleted file mode 100644 index df4eb3cc9..000000000 --- a/bench/react-hello-world.deno.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import { renderToReadableStream } from "https://esm.run/react-dom/server"; -import { serve } from "https://deno.land/std@0.146.0/http/server.ts"; -import * as React from "https://esm.run/react"; - -const App = () => ( - - -

Hello World

- - -); - -const headers = { - headers: { - "Content-Type": "text/html", - "Cache-Control": "no-transform" // disables response body auto compression, see https://deno.land/manual/runtime/http_server_apis#automatic-body-compression - }, -}; - -await serve( - async (req) => { - return new Response(await renderToReadableStream(), headers); - }, - { port: 8080 } -); -- cgit v1.2.3