diff --git a/README.md b/README.md index 5921f76..8f41d7d 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Currently, 64 bit Desktop Platforms (Linux, Windows and MacOS) are supported. ## Run Example ```bash -cd example_dart +cd example dart run cronet:setup # Downloads the cronet binaries. dart run ``` @@ -82,14 +82,14 @@ See benchmark [summary](dart_io_comparison.md#performance-comparison) and [exten ```bash dart pub get dart run cronet:setup # Downloads the cronet binaries. -dart run benchmarks/latency.dart # For sequential requests benchmark. -dart run benchmarks/throughput.dart # For parallel requests benchmark. -dart run benchmarks/run_all.dart # To run all the benchmarks and get reports. +dart run benchmark/latency.dart # For sequential requests benchmark. +dart run benchmark/throughput.dart # For parallel requests benchmark. +dart run benchmark/run_all.dart # To run all the benchmarks and get reports. ``` All the benchmarking scripts take test server url as a cli argument. `throughput.dart` and `run_all.dart` also take `N` where `2^N` is the maximum possible parallel requests and the max duration for each run to complete in seconds. -To know how to setup local test servers, read [benchmarking guide](benchmarks/benchmarking.md). +To know how to setup local test servers, read [benchmarking guide](benchmark/benchmarking.md). Note: Test results may get affected by: . diff --git a/benchmarks/benchmarking.md b/benchmark/benchmarking.md similarity index 100% rename from benchmarks/benchmarking.md rename to benchmark/benchmarking.md diff --git a/benchmarks/latency.dart b/benchmark/latency.dart similarity index 100% rename from benchmarks/latency.dart rename to benchmark/latency.dart diff --git a/benchmarks/run_all.dart b/benchmark/run_all.dart similarity index 100% rename from benchmarks/run_all.dart rename to benchmark/run_all.dart diff --git a/benchmarks/test_servers/caddy/Caddyfile b/benchmark/test_servers/caddy/Caddyfile similarity index 100% rename from benchmarks/test_servers/caddy/Caddyfile rename to benchmark/test_servers/caddy/Caddyfile diff --git a/benchmarks/test_servers/caddy/www/index.html b/benchmark/test_servers/caddy/www/index.html similarity index 100% rename from benchmarks/test_servers/caddy/www/index.html rename to benchmark/test_servers/caddy/www/index.html diff --git a/benchmarks/test_servers/flask/app.py b/benchmark/test_servers/flask/app.py similarity index 100% rename from benchmarks/test_servers/flask/app.py rename to benchmark/test_servers/flask/app.py diff --git a/benchmarks/throughput.dart b/benchmark/throughput.dart similarity index 100% rename from benchmarks/throughput.dart rename to benchmark/throughput.dart diff --git a/example_dart/bin/example_dart.dart b/example/bin/example_dart.dart similarity index 100% rename from example_dart/bin/example_dart.dart rename to example/bin/example_dart.dart diff --git a/example_dart/pubspec.yaml b/example/pubspec.yaml similarity index 100% rename from example_dart/pubspec.yaml rename to example/pubspec.yaml