Skip to content

Explicitly annotate all benchmark classes w/ State #187

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

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

fzhinkin
Copy link
Collaborator

Currently, not all benchmarks could be executed on native targets because only a few of them are explicitly annotated with @State. The majority of benchmarks inherit that annotation from a base class. It works fine w/ JMH, but doesn't work for native targets.

The change will make all benchmarks executable on native targets.

Currently, not all benchmarks could be executed on native targets
because only a few of them are explicitly annotated with @State.
The majority of benchmarks inherit that annotation from a base class.
It works fine w/ JMH, but doesn't work for native targets.

The change will make all benchmarks executable on native targets.
@fzhinkin fzhinkin requested a review from shanshin July 19, 2023 14:21
@fzhinkin fzhinkin merged commit bba9aea into develop Jul 20, 2023
@fzhinkin fzhinkin deleted the fix-benchmarks-for-native branch July 20, 2023 07:04
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.

2 participants