Skip to content

Commit 6e02b86

Browse files
authored
perf: stabilize BenchmarkValidation by removing permission-warning/logging overhead (#27197)
1 parent c20d388 commit 6e02b86

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/workflow/compiler_performance_benchmark_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ on:
178178
types: [opened, synchronize]
179179
permissions:
180180
contents: read
181+
issues: read
181182
pull-requests: read
182183
engine: copilot
183184
tools:
@@ -268,6 +269,7 @@ func BenchmarkValidation(b *testing.B) {
268269
on: pull_request
269270
permissions:
270271
contents: read
272+
issues: read
271273
pull-requests: read
272274
engine: copilot
273275
tools:
@@ -291,6 +293,7 @@ Test validation performance.
291293

292294
compiler := NewCompiler(WithNoEmit(true))
293295
compiler.SetStrictMode(true)
296+
compiler.SetQuiet(true)
294297

295298
// Warm up: run once before timing to prime one-time caches (schema compilation, etc.)
296299
_ = compiler.CompileWorkflow(testFile)

0 commit comments

Comments
 (0)