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

perf: add microbenchmarks for a simple diamond with string manipulation #1476

Merged

Conversation

MingweiSamuel
Copy link
Member

@MingweiSamuel MingweiSamuel commented Sep 30, 2024

cargo bench -p benches --bench words_diamond

hydroflow_diamond
                        time:   [72.142 ms 72.831 ms 73.535 ms]
hydroflo2_diamond_forloop
                        time:   [49.023 ms 49.128 ms 49.291 ms]
hydroflo2_diamond_iter_clone_chain
                        time:   [60.333 ms 60.675 ms 61.171 ms]
hydroflo2_diamond_iter_clone_interleave
                        time:   [67.000 ms 67.275 ms 67.613 ms]
hydroflo2_diamond_iter_buffer_chain
                        time:   [62.588 ms 63.017 ms 63.621 ms]
hydroflo2_diamond_iter_tee_chain
                        time:   [59.979 ms 60.390 ms 60.894 ms]
hydroflo2_diamond_iter_tee_interleave
                        time:   [62.646 ms 62.937 ms 63.242 ms]
hydroflo2_diamond_iter_buffer_one
                        time:   [58.574 ms 58.916 ms 59.327 ms]

image

@MingweiSamuel MingweiSamuel force-pushed the benches-words-diamond branch 2 times, most recently from fc08008 to 531630a Compare September 30, 2024 22:15
@MingweiSamuel MingweiSamuel marked this pull request as ready for review October 2, 2024 16:11
@MingweiSamuel MingweiSamuel merged commit a064d60 into hydro-project:main Oct 2, 2024
13 checks passed
@MingweiSamuel MingweiSamuel deleted the benches-words-diamond branch October 2, 2024 20:55
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.

1 participant