owaiskazi19 commented on code in PR #16894:
URL: https://github.com/apache/lucene/pull/16894#discussion_r4519734984


##########
.github/workflows/run-benchmark-luceneutil.yml:
##########
@@ -0,0 +1,282 @@
+name: "Run benchmark: luceneutil (baseline vs candidate)"
+
+# Runs a luceneutil comparison of two Lucene commits, started by a benchmark 
label on a pull request.
+# See dev-docs/benchmarking-pull-requests.md.
+
+# report-benchmark-luceneutil.yml reads the PR number and label from the run 
name
+run-name: >-
+  ${{ github.event_name == 'pull_request'
+      && format('luceneutil benchmark for PR #{0} ({1})', 
github.event.pull_request.number, github.event.label.name)
+      || 'luceneutil benchmark (manual)' }}
+
+on:
+  # The commit to benchmark is taken from the event, so it is the commit that 
was labeled even if
+  # the PR changes afterwards.
+  pull_request:
+    types: [labeled]
+  workflow_dispatch:
+    inputs:
+      source:
+        description: "luceneutil corpus size"
+        type: choice
+        options:
+          - wikimedium1m
+          - wikimedium10k
+        default: wikimedium1m
+      baseline_ref:
+        description: "Baseline ref (empty = the commit this workflow runs on)"
+        type: string
+        default: ""
+      candidate_ref:
+        description: "Candidate ref (empty = the commit this workflow runs on)"
+        type: string
+        default: ""
+      iterations:
+        description: "Number of JVM iterations per competitor"
+        type: string
+        default: "20"

Review Comment:
   We can only have 10 iterations for 10k and 20 for 1M?



##########
.github/workflows/run-benchmark-luceneutil.yml:
##########
@@ -0,0 +1,282 @@
+name: "Run benchmark: luceneutil (baseline vs candidate)"
+
+# Runs a luceneutil comparison of two Lucene commits, started by a benchmark 
label on a pull request.
+# See dev-docs/benchmarking-pull-requests.md.
+
+# report-benchmark-luceneutil.yml reads the PR number and label from the run 
name
+run-name: >-
+  ${{ github.event_name == 'pull_request'
+      && format('luceneutil benchmark for PR #{0} ({1})', 
github.event.pull_request.number, github.event.label.name)
+      || 'luceneutil benchmark (manual)' }}
+
+on:
+  # The commit to benchmark is taken from the event, so it is the commit that 
was labeled even if
+  # the PR changes afterwards.
+  pull_request:
+    types: [labeled]
+  workflow_dispatch:
+    inputs:
+      source:
+        description: "luceneutil corpus size"
+        type: choice
+        options:
+          - wikimedium1m
+          - wikimedium10k
+        default: wikimedium1m
+      baseline_ref:
+        description: "Baseline ref (empty = the commit this workflow runs on)"
+        type: string
+        default: ""
+      candidate_ref:
+        description: "Candidate ref (empty = the commit this workflow runs on)"
+        type: string
+        default: ""
+      iterations:
+        description: "Number of JVM iterations per competitor"
+        type: string
+        default: "20"

Review Comment:
   We can also have 10 iterations for 10k and 20 for 1M?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to