-
Notifications
You must be signed in to change notification settings - Fork 258
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
chore: added push WRK output into the bencher #2001
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- id: convert_wrk_output_markdown
name: Convert Output to Markdown
working-directory: ci-benchmark
run: |
node wrk-output-to-md.js wrk-output.txt > body.md
- id: cat_md
name: Cat Markdown
working-directory: ci-benchmark
run: |
cat body.md
- name: "Upload Artifact"
uses: actions/upload-artifact@v4
with:
name: body
path: ci-benchmark/body.md
Can this steps can be removed?
When I run ./lint.sh mode=fix the paths are changing of docs/** -> docs/ |
@tusharmath Can I get reviewed this PR? |
Action required: PR inactive for 2 days. |
Waiting for review |
Action required: PR inactive for 2 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's stick to node.js and rust only in this PR. Adding python to the mix isn't worth it.
return bmf_json | ||
# Example usage | ||
wrk_data = parse_wrk_output('wrk_output.txt') | ||
bmf_data = generate_bmf_json(wrk_data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Action required: PR inactive for 2 days. |
Fixed in #2080 |
Summary:
bencherdev/bencher@main action
.generate_bmf_json.py
that converts WRK output into Bencher Metric Format (BMF) JSON. This script reads wrk_output.txt, extracts necessary metrics and formats them into BMF JSON.Issue Reference(s):
/fixes #1993
/claim #1993
Build & Testing:
cargo test
successfully../lint.sh --mode=fix
to fix all linting issues raised by./lint.sh --mode=check
.Checklist:
<type>(<optional scope>): <title>