aboutsummaryrefslogtreecommitdiff
path: root/bench/install/app/root.tsx
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-04-04 16:26:40 -0700
committerGravatar GitHub <noreply@github.com> 2023-04-04 16:26:40 -0700
commit76adc5be8a4f35730bbd81f06f043073e7160af8 (patch)
treea6e32fee2faf6418be6e6dc7c447086fa4c4ce13 /bench/install/app/root.tsx
parentf3ab445c3fcae6a5177eb89e710e47f83cd7db42 (diff)
downloadbun-76adc5be8a4f35730bbd81f06f043073e7160af8.tar.gz
bun-76adc5be8a4f35730bbd81f06f043073e7160af8.tar.zst
bun-76adc5be8a4f35730bbd81f06f043073e7160af8.zip
Add npm benchmark (#2555)
* Add install bench * Update scripts and readme * remove lockfiles * Format bench * Add dev instructions
Diffstat (limited to 'bench/install/app/root.tsx')
-rw-r--r--bench/install/app/root.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/bench/install/app/root.tsx b/bench/install/app/root.tsx
new file mode 100644
index 000000000..4d0236fb2
--- /dev/null
+++ b/bench/install/app/root.tsx
@@ -0,0 +1,20 @@
+import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from "@remix-run/react";
+
+export default function App() {
+ return (
+ <html lang="en">
+ <head>
+ <meta charSet="utf-8" />
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <Meta />
+ <Links />
+ </head>
+ <body>
+ <Outlet />
+ <ScrollRestoration />
+ <Scripts />
+ <LiveReload />
+ </body>
+ </html>
+ );
+}