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

Add BCV API dumps #194

Merged
merged 13 commits into from
Apr 9, 2024
Merged

Add BCV API dumps #194

merged 13 commits into from
Apr 9, 2024

Conversation

adam-enko
Copy link
Member

  • add BCV
  • hide internal KxBM functionality with an opt-in annotation
  • minor tidying of plugin build script

Resolves https://youtrack.jetbrains.com/issue/KT-66948

- add BCV
- hide internal KxBM functionality with an opt-in annotation
- minor tidying of plugin build script

https://youtrack.jetbrains.com/issue/KT-66948
@adam-enko adam-enko marked this pull request as draft March 27, 2024 17:05
@adam-enko adam-enko marked this pull request as ready for review March 27, 2024 17:14
plugin/build.gradle Show resolved Hide resolved
* Please remove references to internal API to supported stable references.
* If you still require access to these APIs, please raise an issue.
*/
@RequiresOptIn(level = WARNING)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest adding a message to the annotation in addition or even instead to the KDoc as it's more visible and accessible even without the sources

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A message would indeed be helpful. But a lengthy one could overwhelm users. Especially if the internal API is used in multiple instances, as this would clutter the build log. I prefer a shorter message in addition to the documentation, such as "This API is internal to the Kotlinx Benchmark project and will be hidden in a future release."

Copy link
Member Author

@adam-enko adam-enko Apr 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Alex, I forgot that @RequiresOptIn had a message option.

I used a more generic message @qurbonzoda Internal Kotlinx Benchmark API. It may be changed in future releases without notice., since it might be used on things that can't be made internal - WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adam-enko adam-enko merged commit 5d0b4d1 into master Apr 9, 2024
@adam-enko adam-enko deleted the feat/add-bcv-api-checker branch April 9, 2024 07:42
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.

3 participants