Skip to content

Commit adecab1

Browse files
authored
chore(benchmarks): remove comment-out from router bench (#4387)
1 parent b3d5b40 commit adecab1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

benchmarks/routers/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,22 @@ Tested routes:
1313
- [Hono RegExpRouter](https://github.com/honojs/hono)
1414
- [Hono TrieRouter](https://github.com/honojs/hono)
1515

16+
Install:
17+
18+
```
19+
bun install
20+
```
21+
1622
For Node.js:
1723

1824
```
19-
yarn bench:node
25+
bun run bench:node
2026
```
2127

2228
For Bun:
2329

2430
```
25-
yarn bench:bun
31+
bun run bench:bun
2632
```
2733

2834
This project is heavily impaired by [delvedor/router-benchmark](https://github.com/delvedor/router-benchmark)

benchmarks/routers/src/bench.mts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ const routes: (Route & { name: string })[] = [
6666
},
6767
]
6868

69-
/*
7069
for (const route of routes) {
7170
summary(() => {
7271
group(`${route.name} - ${route.method} ${route.path}`, () => {
@@ -77,7 +76,7 @@ for (const route of routes) {
7776
}
7877
})
7978
})
80-
}*/
79+
}
8180

8281
group('all together', () => {
8382
summary(() => {

0 commit comments

Comments
 (0)