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

Hackathon Pyrobench: Test previous optimization https://github.com/prometheus/prometheus/pull/13843 #36

Draft
wants to merge 2 commits into
base: 20240807_retest-perf-b-before
Choose a base branch
from

Conversation

simonswine
Copy link

Do not merge!

This is used for #hackathon-2024-08-pyroscope-benchmarkers

It is meant to show the improvement of prometheus#13843 using pyrobench.

bboreham and others added 2 commits July 3, 2024 18:45
For example `foo.*|bar.*|baz.*`. Instead of checking each one in turn,
we build a map of prefixes, then check the smaller set that could match
the string supplied.

Signed-off-by: Bryan Boreham <[email protected]>

* Improve testing and readability

Address review comments on prometheus#13843

Signed-off-by: Marco Pracucci <[email protected]>
@@ -0,0 +1,29 @@
name: Pyrobench

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: no topLevel permission defined
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help

steps:
- name: Set up Go 1.22
uses: actions/setup-go@v5

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 6: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 6: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue
Copy link

github-actions bot commented Aug 7, 2024

Benchmark Report

Finished

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