gerrit/gerrit-acceptance-tests
Shawn Pearce 4cd05b2c5e Only compute submittable during submitted_together
The submittable field of ChangeInfo is undocumented and only used
by the Submitted Together tab of the web UI. It's also quite costly
to compute as the logic currently runs the Prolog rules in the
default "accurate" mode, ignoring the setFastEvalLabels(true) mode
used by DETAILED_LABELS.

Computing submittable for every search result is one of the reasons
dashboards are slow on gerrit-review. Each change is run through the
full set of rules, which requires group membership checks for every
single reviewer vote. These membership lookups take long enough that
the sequential evaluation adds up to a noticable delay.

Just disable the field, except during the submitted_together API.

Change-Id: Iffb893f31c5c01306ace4fb13a43f5f91dd9a2da
2016-09-19 09:26:32 +02:00
..
src/test/java/com/google/gerrit/acceptance Only compute submittable during submitted_together 2016-09-19 09:26:32 +02:00
BUCK Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00
tests.bzl Implement Bazel build 2016-06-14 21:12:02 +02:00
tests.defs Buck: Acceptance tests depend unconditionally on bouncycastle 2016-06-06 23:00:34 +02:00