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 benchmark function for getSnippetHash #758

Merged
merged 6 commits into from Sep 16, 2022

Conversation

julienduchesne
Copy link
Member

@julienduchesne julienduchesne commented Sep 14, 2022

This will be used to compare performance in a future PR
I also added a workflow that posts a comparison of all benchmarks in the project. If we want to improve performance elsewhere, it'll be easier to do so. I will definitely need to do so on a feature I'm working on

@julienduchesne julienduchesne changed the base branch from julienduchesne/go-1.19 to main September 14, 2022 02:11
@julienduchesne julienduchesne changed the base branch from main to julienduchesne/go-1.19 September 14, 2022 02:12
@github-actions
Copy link

Benchstat (compared to main):


@julienduchesne
Copy link
Member Author

Benchstat (compared to main):

The benchstat is empty because we have nothing to compare with in the main branch. However, once this is merged, the future PRs will look like grafana/jsonnet-language-server#74 (comment)

@julienduchesne julienduchesne marked this pull request as ready for review September 14, 2022 02:20
@julienduchesne julienduchesne requested review from Duologic, sh0rez and a team September 14, 2022 02:20
Base automatically changed from julienduchesne/go-1.19 to main September 14, 2022 10:36
Copy link
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

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

Love it 👏🏽

Left some comments but the code as it is is good to be approved. Happy to re-review if you want to.

.github/workflows/benchstat-pr.yml Outdated Show resolved Hide resolved
pkg/jsonnet/imports_test.go Show resolved Hide resolved
pkg/jsonnet/imports_test.go Show resolved Hide resolved
pkg/jsonnet/imports_test.go Outdated Show resolved Hide resolved
@julienduchesne julienduchesne merged commit 12e8cf0 into main Sep 16, 2022
@julienduchesne julienduchesne deleted the julienduchesne/add-benchmark branch September 16, 2022 19:53
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.

None yet

2 participants