Skip to content

Commit 708b1e2

Browse files
committed
Add PhpStorm Indexing Dashboard
1 parent 4f7e0ae commit 708b1e2

File tree

2 files changed

+155
-0
lines changed

2 files changed

+155
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
<template>
2+
<DashboardPage
3+
v-slot="{ averagesConfigurators }"
4+
db-name="perfintDev"
5+
table="phpstorm"
6+
persistent-id="phpstorm_indexing_dashboard"
7+
initial-machine="linux-blade-hetzner"
8+
:with-installer="false"
9+
>
10+
<section class="flex gap-6">
11+
<div class="flex-1 min-w-0">
12+
<AggregationChart
13+
:configurators="averagesConfigurators"
14+
:aggregated-measure="'processingSpeed#PHP'"
15+
:title="'Indexing PHP (kB/s)'"
16+
:chart-color="'#219653'"
17+
:value-unit="'counter'"
18+
/>
19+
</div>
20+
</section>
21+
22+
<section class="flex gap-x-6">
23+
<div class="flex-1 min-w-0">
24+
<GroupProjectsChart
25+
label="Indexing"
26+
measure="indexingTimeWithoutPauses"
27+
:projects="[
28+
'b2c-demo-shop/indexing',
29+
'bitrix/indexing',
30+
'oro/indexing',
31+
'ilias/indexing',
32+
'magento2/indexing',
33+
'drupal8-master-with-plugin/indexing',
34+
'laravel-io/indexing',
35+
'wordpress/indexing',
36+
'mediawiki/indexing',
37+
'WI_66681/indexing',
38+
]"
39+
/>
40+
</div>
41+
<div class="flex-1 min-w-0">
42+
<GroupProjectsChart
43+
label="Indexing"
44+
measure="indexingTimeWithoutPauses"
45+
:projects="['akaunting/indexing', 'aggregateStitcher/indexing', 'prestaShop/indexing', 'kunstmaanBundlesCMS/indexing', 'shopware/indexing']"
46+
/>
47+
</div>
48+
</section>
49+
50+
<section class="flex gap-x-6">
51+
<div class="flex-1 min-w-0">
52+
<GroupProjectsChart
53+
label="Indexing"
54+
measure="indexingTimeWithoutPauses"
55+
:projects="[
56+
'WI_39333-5x/indexing',
57+
'php-cs-fixer/indexing',
58+
'many_classes/indexing',
59+
'magento/indexing',
60+
'proxyManager/indexing',
61+
'dql/indexing',
62+
'tcpdf/indexing',
63+
'WI_51645/indexing',
64+
'WI_66279-10x/indexing',
65+
]"
66+
/>
67+
</div>
68+
<div class="flex-1 min-w-0">
69+
<GroupProjectsChart
70+
label="Indexing"
71+
measure="indexingTimeWithoutPauses"
72+
:projects="['empty_project/indexing', 'complex_meta/indexing', 'WI_53502-10x/indexing', 'many_array_access/indexing-10x']"
73+
/>
74+
</div>
75+
</section>
76+
77+
<section class="flex gap-x-6">
78+
<div class="flex-1 min-w-0">
79+
<GroupProjectsChart
80+
label="Scanning"
81+
measure="scanningTimeWithoutPauses"
82+
:projects="[
83+
'b2c-demo-shop/indexing',
84+
'bitrix/indexing',
85+
'oro/indexing',
86+
'ilias/indexing',
87+
'magento2/indexing',
88+
'drupal8-master-with-plugin/indexing',
89+
'laravel-io/indexing',
90+
'wordpress/indexing',
91+
'mediawiki/indexing',
92+
'WI_66681/indexing',
93+
]"
94+
/>
95+
</div>
96+
<div class="flex-1 min-w-0">
97+
<GroupProjectsChart
98+
label="Scanning"
99+
measure="scanningTimeWithoutPauses"
100+
:projects="['akaunting/indexing', 'aggregateStitcher/indexing', 'prestaShop/indexing', 'kunstmaanBundlesCMS/indexing', 'shopware/indexing']"
101+
/>
102+
</div>
103+
</section>
104+
105+
<section class="flex gap-x-6">
106+
<div class="flex-1 min-w-0">
107+
<GroupProjectsChart
108+
label="Scanning"
109+
measure="scanningTimeWithoutPauses"
110+
:projects="[
111+
'WI_39333-5x/indexing',
112+
'php-cs-fixer/indexing',
113+
'many_classes/indexing',
114+
'magento/indexing',
115+
'proxyManager/indexing',
116+
'dql/indexing',
117+
'tcpdf/indexing',
118+
'WI_51645/indexing',
119+
]"
120+
/>
121+
</div>
122+
<div class="flex-1 min-w-0">
123+
<GroupProjectsChart
124+
label="Scanning"
125+
measure="scanningTimeWithoutPauses"
126+
:projects="['empty_project/indexing', 'complex_meta/indexing', 'WI_53502-10x/indexing', 'many_array_access/indexing-10x', 'WI_66279-10x/indexing']"
127+
/>
128+
</div>
129+
</section>
130+
131+
<section>
132+
<GroupProjectsChart
133+
label="Index size"
134+
measure="indexSize"
135+
:projects="['akaunting/indexing', 'aggregateStitcher/indexing', 'prestaShop/indexing', 'kunstmaanBundlesCMS/indexing']"
136+
/>
137+
</section>
138+
</DashboardPage>
139+
</template>
140+
141+
<script setup lang="ts">
142+
import AggregationChart from "../charts/AggregationChart.vue"
143+
import GroupProjectsChart from "../charts/GroupProjectsChart.vue"
144+
import DashboardPage from "../common/DashboardPage.vue"
145+
</script>

dashboard/new-dashboard/src/routes.ts

+10
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ enum ROUTES {
9191
PhpStormDashboard = `${ROUTE_PREFIX.PhpStorm}/${DASHBOARD_ROUTE}`,
9292
PhpStormProductMetricsDashboard = `${ROUTE_PREFIX.PhpStorm}/${PRODUCT_METRICS_ROUTE}`,
9393
PhpStormLLMDashboard = `${ROUTE_PREFIX.PhpStorm}/llmDashboard`,
94+
PhpStormIndexingDashboard = `${ROUTE_PREFIX.PhpStorm}/indexingDashboard`,
9495
PhpStormStartupDashboard = `${ROUTE_PREFIX.PhpStorm}/${STARTUP_ROUTE}`,
9596
PhpStormWithPluginsDashboard = `${ROUTE_PREFIX.PhpStorm}/pluginsDashboard`,
9697
PhpStormTests = `${ROUTE_PREFIX.PhpStorm}/${TEST_ROUTE}`,
@@ -524,6 +525,10 @@ const PHPSTORM: Product = {
524525
url: ROUTES.PhpStormLLMDashboard,
525526
label: "LLM Dashboard",
526527
},
528+
{
529+
url: ROUTES.PhpStormIndexingDashboard,
530+
label: "Indexing Dashboard",
531+
},
527532
{
528533
url: ROUTES.PhpStormDevTests,
529534
label: TESTS_LABEL,
@@ -1449,6 +1454,11 @@ export function getNewDashboardRoutes(): ParentRouteRecord[] {
14491454
component: () => import("./components/phpstorm/MLDashboard.vue"),
14501455
meta: { pageTitle: "PhpStorm LLM Performance dashboard" },
14511456
},
1457+
{
1458+
path: ROUTES.PhpStormIndexingDashboard,
1459+
component: () => import("./components/phpstorm/IndexingDashboard.vue"),
1460+
meta: { pageTitle: "PhpStorm Indexing Dashboard" },
1461+
},
14521462
{
14531463
path: ROUTES.PhpStormWithPluginsDashboard,
14541464
component: () => import("./components/phpstorm/PerformanceDashboardWithPlugins.vue"),

0 commit comments

Comments
 (0)