diff --git a/BUILD b/BUILD index 12a138ad0..33e20fd5b 100644 --- a/BUILD +++ b/BUILD @@ -8,6 +8,15 @@ load( envoy_package() +filegroup( + name = "nighthawk", + srcs = [ + ":nighthawk_client", + ":nighthawk_service", + ":nighthawk_test_server", + ], +) + envoy_cc_binary( name = "nighthawk_client", repository = "@envoy", diff --git a/README.md b/README.md index b84266296..b8b3f7445 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,13 @@ For building the Nighthawk test server, see [here](source/server/README.md). ### Test it ```bash -bazel test -c dbg //test:nighthawk_test +bazel test -c dbg //test/... //integration/... ``` ### Build it ```bash -bazel build -c opt //:nighthawk_client +bazel build -c opt //:nighthawk ``` ### Using the CLI @@ -155,6 +155,40 @@ Where: ``` +### Nighthawk gRPC service + +The gRPC service can be used to start a server which is able to perform back-to-back benchmark runs upon request. The service interface definition [can be found here.](https://github.com/envoyproxy/nighthawk/blob/59a37568783272a6438b5697277d4e56aa16ebbe/api/client/service.proto) + + +```bash +➜ bazel-bin/nighthawk_service --help + +USAGE: + + bazel-bin/nighthawk_service [--listen ] [--] [--version] + [-h] + + +Where: + + --listen + The address:port on which the Nighthawk gRPC service should listen. + Default: 0.0.0.0:8443. + + --, --ignore_rest + Ignores the rest of the labeled arguments following this flag. + + --version + Displays version information and exits. + + -h, --help + Displays usage information and exits. + + + L7 (HTTP/HTTPS/HTTP2) performance characterization tool. + +``` + ## A sample benchmark run ```bash diff --git a/docs/root/version_history.md b/docs/root/version_history.md index 0a2b215f6..ccb2c138b 100644 --- a/docs/root/version_history.md +++ b/docs/root/version_history.md @@ -1,5 +1,17 @@ Version history --------------- + +0.2 (July 16, 2019) +========================= + +- Nighthawk as a service: (https://github.com/envoyproxy/nighthawk/issues/22) +- Add option to control how request pacing is maintained (https://github.com/envoyproxy/nighthawk/issues/80) +- Add python orchestration for integration testing: https://github.com/envoyproxy/nighthawk/issues/50 +- Benchmark client configuration options: + - Connection-pool configuration https://github.com/envoyproxy/nighthawk/issues/45 + - Allow control of TLS ciphers and settings https://github.com/envoyproxy/nighthawk/issues/32 + - Measure time spend waiting on a full connection queue: https://github.com/envoyproxy/nighthawk/pull/97 + 0.1 (May 6, 2019) =========================