Skip to content

ci: add bench ci for pr#654

Open
k7Xm9pQr wants to merge 3 commits into
xline-kv:masterfrom
k7Xm9pQr:bench-ci
Open

ci: add bench ci for pr#654
k7Xm9pQr wants to merge 3 commits into
xline-kv:masterfrom
k7Xm9pQr:bench-ci

Conversation

@k7Xm9pQr

@k7Xm9pQr k7Xm9pQr commented Feb 18, 2024

Copy link
Copy Markdown
Contributor

Signed-off-by: iGxnon igxnon@gmail.com

Example: k7Xm9pQr#2

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

    Add benchmark CI for each PR which labeled run-benchmark

  • what changes does this pull request make?

    As above

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

    No

@k7Xm9pQr k7Xm9pQr added the run-benchmark Run benchmark on this PR label Feb 18, 2024
@codecov

codecov Bot commented Feb 18, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.50%. Comparing base (e35b35a) to head (dad3c0d).
⚠️ Report is 332 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #654      +/-   ##
==========================================
- Coverage   75.55%   75.50%   -0.05%     
==========================================
  Files         180      186       +6     
  Lines       26938    27488     +550     
  Branches    26938    27488     +550     
==========================================
+ Hits        20353    20756     +403     
- Misses       5366     5459      +93     
- Partials     1219     1273      +54     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@k7Xm9pQr k7Xm9pQr added run-benchmark Run benchmark on this PR and removed run-benchmark Run benchmark on this PR labels Feb 18, 2024
@k7Xm9pQr k7Xm9pQr added run-benchmark Run benchmark on this PR and removed run-benchmark Run benchmark on this PR labels Feb 18, 2024
@k7Xm9pQr k7Xm9pQr marked this pull request as draft February 20, 2024 15:43
@k7Xm9pQr k7Xm9pQr force-pushed the bench-ci branch 2 times, most recently from eb73608 to a91ff88 Compare March 3, 2024 14:47
@k7Xm9pQr k7Xm9pQr marked this pull request as ready for review March 4, 2024 03:10
@k7Xm9pQr k7Xm9pQr marked this pull request as draft March 4, 2024 03:16
@k7Xm9pQr k7Xm9pQr force-pushed the bench-ci branch 4 times, most recently from cf13f23 to 210a119 Compare March 4, 2024 12:29
@k7Xm9pQr k7Xm9pQr marked this pull request as ready for review March 4, 2024 13:16
@mergify

mergify Bot commented Apr 18, 2024

Copy link
Copy Markdown

@iGxnon Your PR is in conflict and cannot be merged.

@mergify mergify Bot requested a review from a team April 19, 2024 04:35
@mergify

mergify Bot commented Apr 19, 2024

Copy link
Copy Markdown

@iGxnon You've modified the workflows. Please don't forget to update the .mergify.yml.

Comment thread scripts/benchmark.sh
docker_id=$(docker ps -qf "name=${name}")
if [ -n "$docker_id" ]; then
docker stop $docker_id
docker stop $docker_id -t 1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why do you wait 1 second before killing the container?

cat out_local/xline.txt >> bench_outputs
echo "\`\`\`" >> bench_outputs

# echo -e "\r\n### Base \r\n\`\`\`txt" >> bench_outputs

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do these commentted lines required after 0.7.0?

@mergify mergify Bot requested a review from a team April 20, 2024 10:29
@Phoenix500526 Phoenix500526 self-assigned this May 23, 2024
k7Xm9pQr added 3 commits May 23, 2024 11:31
Signed-off-by: iGxnon <igxnon@gmail.com>
Signed-off-by: iGxnon <igxnon@gmail.com>
Signed-off-by: iGxnon <igxnon@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-benchmark Run benchmark on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants