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

introduce memory usage benchmarks for Rust-based frameworks #24

Closed
eightfilms opened this issue Apr 21, 2023 · 2 comments
Closed

introduce memory usage benchmarks for Rust-based frameworks #24

eightfilms opened this issue Apr 21, 2023 · 2 comments
Milestone

Comments

@eightfilms
Copy link
Contributor

In private conversations with @tumberger we discussed 2 ways of measuring memory usage:

  1. in-language memory benchmarks: this would require most likely require usage of jemalloc, which means we need to depend on libc directly.

  2. external tools: we could also use /usr/bin/time or something like valgrind.

If we decide on 2), the logic between the test runner<>benchmarks would have to be separated, since in the current runner we are doing other tasks like writing to CSV, etc. which means we may not get the most accurate results.

@StefanosChaliasos
Copy link
Collaborator

We will probably need to go with the second option so that we can use the same tooling across all frameworks. Hence, we will need separate runners per phase.

@StefanosChaliasos StefanosChaliasos added this to the v0.1.0 milestone May 28, 2023
@StefanosChaliasos StefanosChaliasos mentioned this issue May 28, 2023
46 tasks
@StefanosChaliasos
Copy link
Collaborator

In #32, we use time to perform the measurement.

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

No branches or pull requests

2 participants