Skip to content

Commit ea3eb7d

Browse files
authored
Merge pull request #146553 from cockroachdb/blathers/backport-release-25.1-146482
release-25.1: opt: stabilize end-to-end benchmarks
2 parents c89c994 + bfcb9a9 commit ea3eb7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/sql/opt/bench/bench_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,8 @@ func BenchmarkEndToEnd(b *testing.B) {
11411141
sr.Exec(b, `SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false`)
11421142
sr.Exec(b, `SET CLUSTER SETTING sql.stats.flush.enabled = false`)
11431143
sr.Exec(b, `SET CLUSTER SETTING sql.metrics.statement_details.enabled = false`)
1144+
sr.Exec(b, `SET CLUSTER SETTING sql.metrics.statement_details.index_recommendation_collection.enabled = false`)
1145+
sr.Exec(b, `SET plan_cache_mode = force_custom_plan`)
11441146
sr.Exec(b, `CREATE DATABASE bench`)
11451147
for _, schema := range schemas {
11461148
sr.Exec(b, schema)

0 commit comments

Comments
 (0)