Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/workflow/compiler_performance_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ on:
types: [opened, synchronize]
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
tools:
Expand Down Expand Up @@ -268,6 +269,7 @@ func BenchmarkValidation(b *testing.B) {
on: pull_request
permissions:
contents: read
issues: read
pull-requests: read
engine: copilot
tools:
Expand All @@ -291,6 +293,7 @@ Test validation performance.

compiler := NewCompiler(WithNoEmit(true))
compiler.SetStrictMode(true)
compiler.SetQuiet(true)

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