-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-integrate and document the fan-out benchmark
- Loading branch information
Showing
4 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
find_package(benchmark QUIET) | ||
|
||
# add_subdirectory(cluster) | ||
# add_subdirectory(fan-out) | ||
add_subdirectory(fan-out) | ||
# add_subdirectory(routing-table) | ||
# add_subdirectory(serialization) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
add_executable(broker-fan-out-benchmark | ||
fan-out.cc | ||
) | ||
target_link_libraries(broker-fan-out-benchmark PRIVATE ${BROKER_LIBRARY}) | ||
target_include_directories(broker-fan-out-benchmark PRIVATE | ||
"${CMAKE_CURRENT_SOURCE_DIR}" | ||
"${CMAKE_CURRENT_BINARY_DIR}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The `broker-fan-out-benchmark` program is a standalone, self-contained tool to | ||
measure the performance of a single publisher and multiple subscribers. All | ||
Broker endpoints are created in a single process. | ||
|
||
By default, the program has no output and simply runs until completion. The | ||
intended use is to run the program with a tool like `time` to measure the time | ||
it takes to send a certain number of messages to all subscribers. | ||
|
||
To see all available options, run the program with the `--help` flag. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters