Skip to content

Commit 3087239

Browse files
expand benchmarking README
1 parent 8577e4c commit 3087239

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

benchmarking/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Benchmarking
22

3-
This directory contains a script for running full end to end benchmarks again the example applications
3+
This directory contains a script for running full end to end benchmarks against the example applications.
4+
5+
What the script does:
6+
7+
- takes all the example applications from the [`./examples` directory](../examples/)
8+
(excluding the ones specified in the `exampleAppsNotToBenchmark` set in [`./src/cloudflare.ts`](./src/cloudflare.ts))
9+
- in parallel for each application:
10+
- builds the application by running its `build:worker` script
11+
- deploys the application to production (with `wrangler deploy`)
12+
- takes the production deployment url
13+
- benchmarks the application's response time by fetching from the deployment url a number of times
414

515
> [!note]
616
> This is the first cut at benchmarking our solution, later we can take the script in this directory,

0 commit comments

Comments
 (0)