-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a benchmark for lots of tiny objects to measure latency #83
Comments
I think this is a good idea. It would also provide some pressure to reduce the overhead involved in performing a single serialization operation. |
since each of the benchmarks' data is represented as an outer vector of smaller data, this could be accomplished by moving the benchmarked action down one level of nesting. this just omits the cost of whatever bookkeeping is involved in that outer packaging. this could probably be done with relatively little code... |
Agreed, I would love if we can have something similar but for primitive types bench example. |
IMO the real world use case of high-frequency trading would be a good fit:
|
It seems most of the benchmarks are focusing on serializing/deserializing a single piece of huge data. It would be nice to have a benchmark focusing on lots of small data.
In a lot of real world cases, we deal with lots of small messages (<1KB), rather than huge 1MB+ files. So, It could be a useful benchmark.
The text was updated successfully, but these errors were encountered: