Skip to content

Commit

Permalink
feat: add Elysia and ignore bun .lockb files (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone authored Dec 28, 2023
1 parent ac0a1c6 commit 9b4d269
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ package-lock.json

# Deno
deno.lock

# Bun
bun.lockb
2 changes: 1 addition & 1 deletion TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<h1><code>bench</code></h1>
<p>
<strong>📊 Daily benchmarks of deno & node HTTP frameworks</strong>
<strong>📊 Daily benchmarks of deno & node & bun HTTP frameworks</strong>
</p>
<br>
<p align="center">
Expand Down
8 changes: 8 additions & 0 deletions frameworks/elysia/framework.json
Original file line number Diff line number Diff line change
@@ -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"]
}
}
3 changes: 3 additions & 0 deletions frameworks/elysia/hello_bench.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Elysia from "elysia";

new Elysia().get("/", "Hello, Bench!").listen(8000);
5 changes: 5 additions & 0 deletions frameworks/elysia/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"elysia": "^0.8.3"
}
}

0 comments on commit 9b4d269

Please sign in to comment.