https://github.com/threepointone/partybench
Benchmarking Durable Objects
https://github.com/threepointone/partybench
Last synced: about 1 month ago
JSON representation
Benchmarking Durable Objects
- Host: GitHub
- URL: https://github.com/threepointone/partybench
- Owner: threepointone
- Created: 2024-08-18T14:52:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-18T14:57:16.000Z (9 months ago)
- Last Synced: 2025-04-12T01:17:08.057Z (about 1 month ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## partybench
Some scripts for benchmarking partyserver/durable objects.
Each folder under `src/` contains a different benchmarking scenario.
- `index.ts` that defines a worker
- `wrangler.toml` for configuration
- `load.yml` for artillery load testing
- `results.txt` with a results for a runThe folders:
- `worker-server` is a simple worker
- `plain-server` is a Durable Object
- `party-server` is a Durable Object defined with partyserverYou can run a becnhmark by running `artillery run load.yml` in the folder of the scenario you want to test.
Results:
- [`worker-server`](/src/worker-server/results.txt)
- [`plain-server`](/src/plain-server/results.txt)
- [`party-server`](/src/party-server/results.txt)