Skip to content

Commit

Permalink
benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
TigersWay committed Mar 29, 2024
1 parent 5468a61 commit 5c84679
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,18 @@ Metric studies on Cloudflare Workers & Pages
_Light router but no helpers, fast anyway_
![worker pico](images/worker-pico.png)

- [itty-router](https://github.com/kwhitley/itty-router) v4.0.27 (Total Upload: 1.47 KiB / gzip: 0.91 KiB ~~2.10 KiB / gzip: 1.08 KiB~~) \
- [itty-router](https://github.com/kwhitley/itty-router) v4.0.27 (Total Upload: 1.49 KiB / gzip: 0.92 KiB ~~2.10 KiB / gzip: 1.08 KiB~~) \
_Famous router with its helpers, fast_
![worker itty-router](images/worker-itty.png)

- [Hono/tiny](https://github.com/honojs/hono) v4.0.4 (Total Upload: 12.84 KiB / gzip: 4.74 KiB ~~28.33 KiB / gzip: 7.18 KiB~~) \
- [Hono/tiny](https://github.com/honojs/hono) v4.0.4 (Total Upload: 11.30 KiB / gzip: 4.45 KiB ~~28.33 KiB / gzip: 7.18 KiB~~) \
_Real fast router but slightly too heavy for a 'free plan' 10ms_
![worker hono](images/worker-hono.png)

- [feTS](https://github.com/ardatan/feTS) v0.8.0 (Total Upload: 143.80 KiB / gzip: 41.30 KiB) \
_No comments_
![worker fets](images/worker-fets.png)

## Pages & Functions

- Native
Expand Down
Binary file added images/worker-fets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/worker-hono.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/worker-itty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/worker-native.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/worker-pico.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions samples/pages/advanced/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"alwaysStrict": false,
"lib": [
"esnext"
],
"types": [
"@cloudflare/workers-types"
]
"lib": ["esnext"],
"types": ["@cloudflare/workers-types"]
}
}
}
7 changes: 2 additions & 5 deletions samples/pages/itty/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"lib": ["DOM", "esnext"],
"types": [
"@cloudflare/workers-types"
// "node"
]
"lib": ["esnext"],
"types": ["@cloudflare/workers-types"]
}
}

0 comments on commit 5c84679

Please sign in to comment.