Skip to content

Commit e10f051

Browse files
committed
Switch RustRover to dev build
1 parent eee9d9a commit e10f051

File tree

4 files changed

+330
-14
lines changed

4 files changed

+330
-14
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<template>
2+
<DashboardPage
3+
db-name="perfintDev"
4+
table="rust"
5+
persistent-id="rust_plugin_dashboard"
6+
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
7+
:with-installer="false"
8+
>
9+
<section>
10+
<GroupProjectsChart
11+
label="Local Inspections (on file open, metric 'firstCodeAnalysis')"
12+
measure="firstCodeAnalysis"
13+
:projects="rustLocalInspectionCases"
14+
/>
15+
</section>
16+
17+
<section>
18+
<GroupProjectsChart
19+
label="Local Inspections (on typing top-level, metric 'typingCodeAnalyzing#mean_value')"
20+
measure="typingCodeAnalyzing#mean_value"
21+
:projects="rustLocalInspectionCases.map((testCase) => `${testCase}-top-level-typing`)"
22+
/>
23+
</section>
24+
25+
<section>
26+
<GroupProjectsChart
27+
label="Local Inspections (on typing stmt in function, metric 'typingCodeAnalyzing#mean_value')"
28+
measure="typingCodeAnalyzing#mean_value"
29+
:projects="rustLocalInspectionCases"
30+
/>
31+
</section>
32+
33+
<section>
34+
<GroupProjectsChart
35+
label="Global Inspection execution time (metric 'globalInspections')"
36+
measure="globalInspections"
37+
:projects="rustGlobalInspectionProjects.map((project) => `global-inspection/${project}-inspection`)"
38+
/>
39+
</section>
40+
41+
<section>
42+
<GroupProjectsChart
43+
label="Completion"
44+
measure="completion#mean_value"
45+
:projects="rustCompletionCases"
46+
/>
47+
</section>
48+
<section>
49+
<GroupProjectsChart
50+
label="Find Usages"
51+
measure="findUsages"
52+
:projects="['find-usages/yew', 'find-usages/wasm']"
53+
/>
54+
</section>
55+
56+
<section>
57+
<GroupProjectsChart
58+
label="Typing Latency (mean value)"
59+
measure="typing#latency#mean_value"
60+
:projects="['typing/nalgebra/typing']"
61+
/>
62+
</section>
63+
<section>
64+
<GroupProjectsChart
65+
label="Typing Latency (max value)"
66+
measure="typing#latency#max"
67+
:projects="['typing/nalgebra/typing']"
68+
/>
69+
</section>
70+
</DashboardPage>
71+
</template>
72+
73+
<script setup lang="ts">
74+
import GroupProjectsChart from "../charts/GroupProjectsChart.vue"
75+
import DashboardPage from "../common/DashboardPage.vue"
76+
import { rustLocalInspectionCases, rustGlobalInspectionProjects, rustCompletionCases } from "./RustTestCases"
77+
</script>
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
<template>
2+
<DashboardPage
3+
v-slot="{ averagesConfigurators }"
4+
db-name="perfintDev"
5+
table="rust"
6+
persistent-id="rust_rover_first_startup_dashboard"
7+
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
8+
:with-installer="false"
9+
>
10+
<section class="flex gap-6">
11+
<div class="w-1/2">
12+
<AggregationChart
13+
:configurators="averagesConfigurators"
14+
:aggregated-measure="'processingSpeedAvg#Rust'"
15+
:title="'Indexing Rust (kB/s)'"
16+
:chart-color="'#219653'"
17+
:value-unit="'counter'"
18+
/>
19+
</div>
20+
</section>
21+
<section class="flex gap-x-6">
22+
<div class="flex-1 min-w-0">
23+
<GroupProjectsChart
24+
label="Indexing"
25+
:measure="['indexingTimeWithoutPauses']"
26+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
27+
/>
28+
</div>
29+
<div class="flex-1 min-w-0">
30+
<GroupProjectsChart
31+
label="Scanning"
32+
:measure="['scanningTimeWithoutPauses']"
33+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
34+
/>
35+
</div>
36+
</section>
37+
38+
<section>
39+
<GroupProjectsChart
40+
label="Duration from Start to Work (metric 'rust_duration_from_start_to_work')"
41+
measure="rust_duration_from_start_to_work"
42+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
43+
/>
44+
</section>
45+
<section class="flex gap-x-6">
46+
<div class="flex-1 min-w-0">
47+
<GroupProjectsChart
48+
label="Warm Duration from Start to Work (first run)"
49+
:measure="['rust_duration_from_start_to_work_warm_run_1']"
50+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
51+
/>
52+
</div>
53+
<div class="flex-1 min-w-0">
54+
<GroupProjectsChart
55+
label="Warm Duration from Start to Work (second run)"
56+
:measure="['rust_duration_from_start_to_work_warm_run_2']"
57+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
58+
/>
59+
</div>
60+
</section>
61+
<section>
62+
<GroupProjectsChart
63+
label="Duration from Start to Cargo Sync (metric 'rust_duration_from_start_to_cargo_sync')"
64+
measure="rust_duration_from_start_to_cargo_sync"
65+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
66+
/>
67+
</section>
68+
<section>
69+
<GroupProjectsChart
70+
label="Full Cargo Sync (metric 'cargo_sync_execution_time')"
71+
measure="cargo_sync_execution_time"
72+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
73+
/>
74+
</section>
75+
<section>
76+
<GroupProjectsChart
77+
label="Cargo Metadata (metric 'rust_cargo_metadata_time')"
78+
measure="rust_cargo_metadata_time"
79+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
80+
/>
81+
</section>
82+
<section>
83+
<GroupProjectsChart
84+
label="Buildscript evaluation (metric 'rust_buildscript_evaluation_time')"
85+
measure="rust_buildscript_evaluation_time"
86+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
87+
/>
88+
</section>
89+
<section>
90+
<GroupProjectsChart
91+
label="Stdlib fetching (metric 'rust_stdlib_fetching_time')"
92+
measure="rust_stdlib_fetching_time"
93+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
94+
/>
95+
</section>
96+
<section>
97+
<GroupProjectsChart
98+
label="Rust CrateDefMaps build (metric 'rust_def_maps_execution_time')"
99+
measure="rust_def_maps_execution_time"
100+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
101+
/>
102+
</section>
103+
<section>
104+
<GroupProjectsChart
105+
label="Rust macro expansions saving to VFS (metric 'rust_macro_expansion_execution_time')"
106+
measure="rust_macro_expansion_execution_time"
107+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
108+
/>
109+
</section>
110+
<section>
111+
<GroupProjectsChart
112+
label="Rust CrateDefMaps size in MB (metric 'rust_class_instances_tree_size_mb#org.rust.lang.core.resolve2.CrateDefMap')"
113+
measure="rust_class_instances_tree_size_mb#org.rust.lang.core.resolve2.CrateDefMap"
114+
:projects="rustGlobalInspectionProjects.map((project) => `${project}/indexing`)"
115+
value-unit="counter"
116+
/>
117+
</section>
118+
</DashboardPage>
119+
</template>
120+
121+
<script setup lang="ts">
122+
import AggregationChart from "../charts/AggregationChart.vue"
123+
import GroupProjectsChart from "../charts/GroupProjectsChart.vue"
124+
import DashboardPage from "../common/DashboardPage.vue"
125+
import { rustGlobalInspectionProjects } from "./RustTestCases"
126+
</script>
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<template>
2+
<DashboardPage
3+
db-name="perfintDev"
4+
table="rust"
5+
persistent-id="rust_product_dashboard"
6+
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
7+
:charts="charts"
8+
:with-installer="false"
9+
>
10+
<section>
11+
<GroupProjectsChart
12+
v-for="chart in charts"
13+
:key="chart.definition.label"
14+
:label="chart.definition.label"
15+
:measure="chart.definition.measure"
16+
:projects="chart.projects"
17+
/>
18+
</section>
19+
</DashboardPage>
20+
</template>
21+
22+
<script setup lang="ts">
23+
import { ChartDefinition, combineCharts } from "../charts/DashboardCharts"
24+
import GroupProjectsChart from "../charts/GroupProjectsChart.vue"
25+
import DashboardPage from "../common/DashboardPage.vue"
26+
import { rustCompletionCases, rustGlobalInspectionProjects, rustLocalInspectionCases } from "./RustTestCases"
27+
28+
const chartsDeclaration: ChartDefinition[] = [
29+
{
30+
labels: ["Indexing"],
31+
measures: ["indexingTimeWithoutPauses"],
32+
projects: rustGlobalInspectionProjects.map((project) => `${project}/indexing`),
33+
},
34+
{
35+
labels: ["FirstCodeAnalysis"],
36+
measures: ["firstCodeAnalysis"],
37+
projects: rustLocalInspectionCases,
38+
},
39+
{
40+
labels: ["Completion"],
41+
measures: ["completion"],
42+
projects: rustCompletionCases,
43+
},
44+
{
45+
labels: ["SearchEverywhere"],
46+
measures: ["searchEverywhere"],
47+
projects: ["searchEverywhere/cargo/go-to-all-with-warmup/Display/typingLetterByLetter"],
48+
},
49+
{
50+
labels: ["TypingCodeAnalysis"],
51+
measures: ["typingCodeAnalyzing"],
52+
projects: rustLocalInspectionCases.concat(rustLocalInspectionCases.map((testCase) => `${testCase}-top-level-typing`)),
53+
},
54+
{
55+
labels: ["Inspections"],
56+
measures: ["globalInspections"],
57+
projects: rustGlobalInspectionProjects.map((project) => `global-inspection/${project}-inspection`),
58+
},
59+
]
60+
61+
const charts = combineCharts(chartsDeclaration)
62+
</script>

0 commit comments

Comments
 (0)