Skip to content
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

Support -n (number of messages) in z_sub_thr.c #828

Open
evshary opened this issue Nov 20, 2024 · 0 comments
Open

Support -n (number of messages) in z_sub_thr.c #828

evshary opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@evshary
Copy link
Contributor

evshary commented Nov 20, 2024

Describe the feature

Now in z_sub_thr.c, the number of messages is fixed

#define N 1000000

However, it can be adjusted in the Rust implementation.
https://github.com/eclipse-zenoh/zenoh/blob/924394cfc26a19d851a9ff711e6d280e79a58b8d/examples/examples/z_sub_thr.rs#L104

It would be good to make the parameter adjustable. This would be especially helpful if we want to test the throughput with a large payload size.

@evshary evshary added the enhancement New feature or request label Nov 20, 2024
@evshary evshary self-assigned this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant