Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/...
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move integration underneath test? It seems cleaner to have all tests in a single tree?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update to use the new LLVM-style coverage script? See envoyproxy/envoy#7552. This might not fix it, but it makes coverage much faster and easier to debug :)

```

### Build it

```bash
bazel build -c opt //:nighthawk_client
bazel build -c opt //:nighthawk
```

### Using the CLI
Expand Down Expand Up @@ -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 <address:port>] [--] [--version]
[-h]


Where:

--listen <address:port>
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
Expand Down
12 changes: 12 additions & 0 deletions docs/root/version_history.md
Original file line number Diff line number Diff line change
@@ -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)
=========================

Expand Down