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

runtime benchmark suite #2142

Open
onur-ozkan opened this issue Jun 13, 2024 · 0 comments
Open

runtime benchmark suite #2142

onur-ozkan opened this issue Jun 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@onur-ozkan
Copy link
Member

onur-ozkan commented Jun 13, 2024

Motivation

KDF supports quite numerous of different targets and platforms. While this is cool, it's also introduces significant challenges from the development perspective. Identifying platform-specific performance regressions on dev branch is nearly impossible because unless we manually test the project, we cannot identify the performance impacts.

Solution

As a solution, we can use conditional compilation (e.g., adding the rt-benchmark compilation feature) without adding runtime overhead on prod releases to store detailed benchmark reports for nearly all core areas of the project. These reports would include metrics such as the time t (a function) was called, the number of times t called, the execution time spent on t and the resources utilized by t. Ideally we can use JSON format for storing these metrics, so it will be easy to parse and compare it from any environment.

This would enable convenient use of these reports both in CI environments (e.g., generating these reports in PR pipelines and comparing them with the target branch) and by developers.

@onur-ozkan onur-ozkan added the enhancement New feature or request label Jun 13, 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