diff --git a/.gitignore b/.gitignore index 7c3d862364..2630209f54 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ package-lock.json # Deno deno.lock + +# Bun +bun.lockb \ No newline at end of file diff --git a/TEMPLATE.md b/TEMPLATE.md index 391a2e933a..f3f73928ed 100644 --- a/TEMPLATE.md +++ b/TEMPLATE.md @@ -1,7 +1,7 @@

bench

- 📊 Daily benchmarks of deno & node HTTP frameworks + 📊 Daily benchmarks of deno & node & bun HTTP frameworks


diff --git a/frameworks/elysia/framework.json b/frameworks/elysia/framework.json new file mode 100644 index 0000000000..d9c59bf300 --- /dev/null +++ b/frameworks/elysia/framework.json @@ -0,0 +1,8 @@ +{ + "name": "Elysia", + "description": "Ergonomic Framework for Humans", + "website": "https://elysiajs.com/", + "benchmarks": { + "hello_bench": ["bun install", "bun run hello_bench.ts"] + } +} diff --git a/frameworks/elysia/hello_bench.ts b/frameworks/elysia/hello_bench.ts new file mode 100644 index 0000000000..c4f35f9232 --- /dev/null +++ b/frameworks/elysia/hello_bench.ts @@ -0,0 +1,3 @@ +import Elysia from "elysia"; + +new Elysia().get("/", "Hello, Bench!").listen(8000); \ No newline at end of file diff --git a/frameworks/elysia/package.json b/frameworks/elysia/package.json new file mode 100644 index 0000000000..36c96add44 --- /dev/null +++ b/frameworks/elysia/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "elysia": "^0.8.3" + } +}