https://github.com/plugfox/dart-http-server-benchmark
Dart HTTP Server Benchmark
https://github.com/plugfox/dart-http-server-benchmark
Last synced: about 1 year ago
JSON representation
Dart HTTP Server Benchmark
- Host: GitHub
- URL: https://github.com/plugfox/dart-http-server-benchmark
- Owner: PlugFox
- License: mit
- Created: 2023-07-17T17:40:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-17T20:02:09.000Z (over 2 years ago)
- Last Synced: 2025-01-05T02:42:09.833Z (about 1 year ago)
- Language: Dart
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart Server Benchmark
## Compile and run the server
```bash
cd server
dart pub get
mkdir -p build
dart compile exe bin/main.dart -o build/server
./build/server --address=127.0.0.1 --port=8080 --isolates=24 --verbose=2 --environment=local
```
## Compile and run the client
```bash
cd client
dart pub get
mkdir -p build
dart compile exe bin/main.dart -o build/client
./build/client --address=127.0.0.1 --port=8080 --isolates=24 --count=10000
```