Skip to content

Add PhpStorm Indexing Dashboard #228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 145 additions & 0 deletions dashboard/new-dashboard/src/components/phpstorm/IndexingDashboard.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
<template>
<DashboardPage
v-slot="{ averagesConfigurators }"
db-name="perfintDev"
table="phpstorm"
persistent-id="phpstorm_indexing_dashboard"
initial-machine="linux-blade-hetzner"
:with-installer="false"
>
<section class="flex gap-6">
<div class="flex-1 min-w-0">
<AggregationChart
:configurators="averagesConfigurators"
:aggregated-measure="'processingSpeed#PHP'"
:title="'Indexing PHP (kB/s)'"
:chart-color="'#219653'"
:value-unit="'counter'"
/>
</div>
</section>

<section class="flex gap-x-6">
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Indexing"
measure="indexingTimeWithoutPauses"
:projects="[
'b2c-demo-shop/indexing',
'bitrix/indexing',
'oro/indexing',
'ilias/indexing',
'magento2/indexing',
'drupal8-master-with-plugin/indexing',
'laravel-io/indexing',
'wordpress/indexing',
'mediawiki/indexing',
'WI_66681/indexing',
]"
/>
</div>
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Indexing"
measure="indexingTimeWithoutPauses"
:projects="['akaunting/indexing', 'aggregateStitcher/indexing', 'prestaShop/indexing', 'kunstmaanBundlesCMS/indexing', 'shopware/indexing']"
/>
</div>
</section>

<section class="flex gap-x-6">
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Indexing"
measure="indexingTimeWithoutPauses"
:projects="[
'WI_39333-5x/indexing',
'php-cs-fixer/indexing',
'many_classes/indexing',
'magento/indexing',
'proxyManager/indexing',
'dql/indexing',
'tcpdf/indexing',
'WI_51645/indexing',
'WI_66279-10x/indexing',
]"
/>
</div>
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Indexing"
measure="indexingTimeWithoutPauses"
:projects="['empty_project/indexing', 'complex_meta/indexing', 'WI_53502-10x/indexing', 'many_array_access/indexing-10x']"
/>
</div>
</section>

<section class="flex gap-x-6">
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Scanning"
measure="scanningTimeWithoutPauses"
:projects="[
'b2c-demo-shop/indexing',
'bitrix/indexing',
'oro/indexing',
'ilias/indexing',
'magento2/indexing',
'drupal8-master-with-plugin/indexing',
'laravel-io/indexing',
'wordpress/indexing',
'mediawiki/indexing',
'WI_66681/indexing',
]"
/>
</div>
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Scanning"
measure="scanningTimeWithoutPauses"
:projects="['akaunting/indexing', 'aggregateStitcher/indexing', 'prestaShop/indexing', 'kunstmaanBundlesCMS/indexing', 'shopware/indexing']"
/>
</div>
</section>

<section class="flex gap-x-6">
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Scanning"
measure="scanningTimeWithoutPauses"
:projects="[
'WI_39333-5x/indexing',
'php-cs-fixer/indexing',
'many_classes/indexing',
'magento/indexing',
'proxyManager/indexing',
'dql/indexing',
'tcpdf/indexing',
'WI_51645/indexing',
]"
/>
</div>
<div class="flex-1 min-w-0">
<GroupProjectsChart
label="Scanning"
measure="scanningTimeWithoutPauses"
:projects="['empty_project/indexing', 'complex_meta/indexing', 'WI_53502-10x/indexing', 'many_array_access/indexing-10x', 'WI_66279-10x/indexing']"
/>
</div>
</section>

<section>
<GroupProjectsChart
label="Index size"
measure="indexSize"
:projects="['akaunting/indexing', 'aggregateStitcher/indexing', 'prestaShop/indexing', 'kunstmaanBundlesCMS/indexing']"
/>
</section>
</DashboardPage>
</template>

<script setup lang="ts">
import AggregationChart from "../charts/AggregationChart.vue"
import GroupProjectsChart from "../charts/GroupProjectsChart.vue"
import DashboardPage from "../common/DashboardPage.vue"
</script>
10 changes: 10 additions & 0 deletions dashboard/new-dashboard/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ enum ROUTES {
PhpStormDashboard = `${ROUTE_PREFIX.PhpStorm}/${DASHBOARD_ROUTE}`,
PhpStormProductMetricsDashboard = `${ROUTE_PREFIX.PhpStorm}/${PRODUCT_METRICS_ROUTE}`,
PhpStormLLMDashboard = `${ROUTE_PREFIX.PhpStorm}/llmDashboard`,
PhpStormIndexingDashboard = `${ROUTE_PREFIX.PhpStorm}/indexingDashboard`,
PhpStormStartupDashboard = `${ROUTE_PREFIX.PhpStorm}/${STARTUP_ROUTE}`,
PhpStormWithPluginsDashboard = `${ROUTE_PREFIX.PhpStorm}/pluginsDashboard`,
PhpStormTests = `${ROUTE_PREFIX.PhpStorm}/${TEST_ROUTE}`,
Expand Down Expand Up @@ -524,6 +525,10 @@ const PHPSTORM: Product = {
url: ROUTES.PhpStormLLMDashboard,
label: "LLM Dashboard",
},
{
url: ROUTES.PhpStormIndexingDashboard,
label: "Indexing Dashboard",
},
{
url: ROUTES.PhpStormDevTests,
label: TESTS_LABEL,
Expand Down Expand Up @@ -1449,6 +1454,11 @@ export function getNewDashboardRoutes(): ParentRouteRecord[] {
component: () => import("./components/phpstorm/MLDashboard.vue"),
meta: { pageTitle: "PhpStorm LLM Performance dashboard" },
},
{
path: ROUTES.PhpStormIndexingDashboard,
component: () => import("./components/phpstorm/IndexingDashboard.vue"),
meta: { pageTitle: "PhpStorm Indexing Dashboard" },
},
{
path: ROUTES.PhpStormWithPluginsDashboard,
component: () => import("./components/phpstorm/PerformanceDashboardWithPlugins.vue"),
Expand Down