Skip to content

Improve benchmark implementation & Add warning for discarding events#971

Merged
haixuanTao merged 3 commits intodora-rs:mainfrom
Mivik:bench
Apr 22, 2025
Merged

Improve benchmark implementation & Add warning for discarding events#971
haixuanTao merged 3 commits intodora-rs:mainfrom
Mivik:bench

Conversation

@Mivik
Copy link
Copy Markdown
Contributor

@Mivik Mivik commented Apr 16, 2025

Resolves #966

This PR improves current benchmark implementation by increasing the queue size for throughput testing, and adding time gap between throughput tests of different sizes to ensure accurate measurement.

Besides, a warning message will be logged now on discarding events due to queue size limit.

@Mivik Mivik mentioned this pull request Apr 16, 2025
Copy link
Copy Markdown
Collaborator

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

The benchmark changes look good to me!

I'm not sure about the discard warning though (see my inline comment). What do you think @haixuanTao ?

@haixuanTao haixuanTao merged commit 72b4be8 into dora-rs:main Apr 22, 2025
139 checks passed
@haixuanTao
Copy link
Copy Markdown
Collaborator

Looks good thanks!

@haixuanTao haixuanTao mentioned this pull request Apr 22, 2025
@Mivik Mivik deleted the bench branch November 17, 2025 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benchmark & design issues

3 participants