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

[FEATURE] Add support for microbenchmarks #1237

Open
martin-gaievski opened this issue Mar 19, 2025 · 1 comment
Open

[FEATURE] Add support for microbenchmarks #1237

martin-gaievski opened this issue Mar 19, 2025 · 1 comment

Comments

@martin-gaievski
Copy link
Member

Is your feature request related to a problem?

Repo does nor have internal instrumentation for writing and running microbenchmarks for low-level code, e.g. single method execution.

What solution would you like?

Frameworks like JMH can be enabled easy and does not required extra time for evaluation and security validation as they are already part of some other repos in OpenSearch.

What alternatives have you considered?

Profiling is possible for some type of tasks, but it's limited and harder to setup.

@martin-gaievski martin-gaievski changed the title [FEATURE] Add support for JMH microbenchmarks [FEATURE] Add support for microbenchmarks Mar 19, 2025
@martin-gaievski
Copy link
Member Author

unfortunately JMH does not work for us due to restrictive license, it uses GPL. I see other repos had to roll it back even after enabling it first, e.g. opensearch-project/k-NN#2337

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants