File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,15 +66,15 @@ jobs:
6666 return;
6767 }
6868
69- // Find existing benchmark-extra comment (distinct from the classic
70- // Benchmark workflow's comment, which uses a different header).
69+ // Find existing benchmark-extra comment.
7170 const comments = await github.rest.issues.listComments({
7271 owner: context.repo.owner,
7372 repo: context.repo.repo,
7473 issue_number: context.issue.number,
7574 });
7675 const botComment = comments.data.find(c =>
77- c.body.includes('Sysbench-Style Benchmark (TEXT PK)')
76+ c.body.includes('<!-- benchmark:textpk -->') ||
77+ c.body.includes('## Sysbench-Style Benchmark (TEXT PK): Doltlite vs SQLite')
7878 );
7979
8080 if (botComment) {
Original file line number Diff line number Diff line change @@ -61,14 +61,15 @@ jobs:
6161 return;
6262 }
6363
64- // Find existing benchmark comment
64+ // Find existing classic benchmark comment
6565 const comments = await github.rest.issues.listComments({
6666 owner: context.repo.owner,
6767 repo: context.repo.repo,
6868 issue_number: context.issue.number,
6969 });
7070 const botComment = comments.data.find(c =>
71- c.body.includes('Sysbench-Style Benchmark')
71+ c.body.includes('<!-- benchmark:classic -->') ||
72+ c.body.includes('## Sysbench-Style Benchmark: Doltlite vs SQLite')
7273 );
7374
7475 if (botComment) {
Original file line number Diff line number Diff line change @@ -452,6 +452,7 @@ run_section() {
452452 echo " | Average | | | ${avg_ratio} |"
453453}
454454
455+ echo " <!-- benchmark:classic -->"
455456echo " ## Sysbench-Style Benchmark: Doltlite vs SQLite"
456457echo " "
457458echo " ### In-Memory"
Original file line number Diff line number Diff line change @@ -475,6 +475,7 @@ run_section() {
475475 echo " | Average | | | ${avg_ratio} |"
476476}
477477
478+ echo " <!-- benchmark:textpk -->"
478479echo " ## Sysbench-Style Benchmark (TEXT PK): Doltlite vs SQLite"
479480echo " "
480481echo " _Companion to the classic Sysbench-Style Benchmark. Every workload here"
You can’t perform that action at this time.
0 commit comments