1
0
mirror of https://github.com/golang/go synced 2024-11-05 18:36:10 -07:00
go/dashboard/app/index.yaml
Dmitriy Vyukov ddb83b4815 dashboard: faster perf data fetching
Use single query to fetch commit runs and metric runs (instead of individual selects).
Hopefully this enables some kind of prefetching.
But more importantly it allows to work around "gaps" in commit nums,
as we only fetch data that is actually in the database
and don't try to query all commit runs in the "gap".

LGTM=adg
R=adg
CC=golang-codereviews, rsc
https://golang.org/cl/159910045
2014-10-17 11:38:11 +04:00

55 lines
804 B
YAML

indexes:
- kind: Commit
ancestor: yes
properties:
- name: Num
direction: desc
- kind: Commit
ancestor: yes
properties:
- name: Time
direction: desc
- kind: Commit
ancestor: yes
properties:
- name: NeedsBenchmarking
- name: Num
direction: desc
- kind: CommitRun
ancestor: yes
properties:
- name: StartCommitNum
direction: desc
- kind: PerfResult
ancestor: yes
properties:
- name: CommitNum
direction: desc
- kind: PerfResult
ancestor: yes
properties:
- name: CommitNum
direction: asc
- kind: CommitRun
ancestor: yes
properties:
- name: StartCommitNum
direction: asc
- kind: PerfMetricRun
ancestor: yes
properties:
- name: Builder
- name: Benchmark
- name: Metric
- name: StartCommitNum
direction: asc