-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bench: faster record value generation, add -static-record flag
Rather than copying 20 bytes each time, we can basically do an exponentially faster copy. Additionally, this adds a new flag that allows for eliminating any benmark record-value-creation overhead. This is similar to the default behavior of librdkafka, which uses a static message for all messages produced.
- Loading branch information
Showing
2 changed files
with
48 additions
and
16 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
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