Skip to content

Commit

Permalink
Adjust rest of GoLand shared index dashboards to common pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Zagnetin committed Nov 18, 2023
1 parent a692685 commit bde7e71
Show file tree
Hide file tree
Showing 8 changed files with 305 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,51 @@
table="goland"
persistent-id="go_dumb_mode_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Empty Project)"
measure="dumbModeTimeWithPauses"
:projects="['go-empty-project-bundled-sharedIndexes', 'go-empty-project-with-generated-sharedIndexes', 'go-empty-project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Terraform)"
measure="dumbModeTimeWithPauses"
:projects="['go-terraform-without-sharedIndexes', 'go-terraform-bundled-sharedIndexes', 'go-terraform-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Kratos)"
measure="dumbModeTimeWithPauses"
:projects="['go-kratos-without-sharedIndexes', 'go-kratos-bundled-sharedIndexes', 'go-kratos-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Kubernetes)"
measure="dumbModeTimeWithPauses"
:projects="['kubernetes-without-sharedIndexes', 'kubernetes-bundled-sharedIndexes', 'kubernetes-with-generated-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'Dumb Mode Time (' + test_project.pretty_name + ')'"
:label="'Dumb Mode Time (' + test_project.pretty_name + ')'"
measure="dumbModeTimeWithPauses"
:projects="[
'go-' + test_project.real_name + '-bundled-sharedIndexes',
'go-' + test_project.real_name + '-with-generated-sharedIndexes',
'go-' + test_project.real_name + '-without-sharedIndexes',
]"
/>
</div>
</section>
</DashboardPage>
</template>

<script setup lang="ts">
import GroupProjectsChart from "../../charts/GroupProjectsChart.vue"
import DashboardPage from "../../common/DashboardPage.vue"
interface test_project {
pretty_name: string
real_name: string
}
const projects: test_project[] = [
{
pretty_name: "Empty Project",
real_name: "empty-project",
},
{
pretty_name: "Terraform",
real_name: "terraform",
},
{
pretty_name: "Kratos",
real_name: "kratos",
},
{
pretty_name: "Kubernetes",
real_name: "kubernetes",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,51 @@
table="goland"
persistent-id="go_find_usages_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Find Usages (Empty Project)"
measure="findUsages"
:projects="['go-empty-project-bundled-sharedIndexes', 'go-empty-project-with-generated-sharedIndexes', 'go-empty-project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Find Usages (Terraform)"
measure="findUsages"
:projects="['go-terraform-without-sharedIndexes', 'go-terraform-bundled-sharedIndexes', 'go-terraform-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Find Usages (Kratos)"
measure="findUsages"
:projects="['go-kratos-without-sharedIndexes', 'go-kratos-bundled-sharedIndexes', 'go-kratos-with-generated-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'Find Usages (' + test_project.pretty_name + ')'"
:label="'Find Usages (' + test_project.pretty_name + ')'"
measure="findUsages"
:projects="[
'go-' + test_project.real_name + '-bundled-sharedIndexes',
'go-' + test_project.real_name + '-with-generated-sharedIndexes',
'go-' + test_project.real_name + '-without-sharedIndexes',
]"
/>
</div>
</section>
</DashboardPage>
</template>

<script setup lang="ts">
import GroupProjectsChart from "../../charts/GroupProjectsChart.vue"
import DashboardPage from "../../common/DashboardPage.vue"
interface test_project {
pretty_name: string
real_name: string
}
const projects: test_project[] = [
{
pretty_name: "Empty Project",
real_name: "empty-project",
},
{
pretty_name: "Terraform",
real_name: "terraform",
},
{
pretty_name: "Kratos",
real_name: "kratos",
},
{
pretty_name: "Kubernetes",
real_name: "kubernetes",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,51 @@
table="goland"
persistent-id="go_code_analysis_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="First Code Analysis (Empty Project)"
measure="firstCodeAnalysis"
:projects="['go-empty-project-bundled-sharedIndexes', 'go-empty-project-with-generated-sharedIndexes', 'go-empty-project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="First Code Analysis (Terraform)"
measure="firstCodeAnalysis"
:projects="['go-terraform-without-sharedIndexes', 'go-terraform-bundled-sharedIndexes', 'go-terraform-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="First Code Analysis (Kratos)"
measure="firstCodeAnalysis"
:projects="['go-kratos-without-sharedIndexes', 'go-kratos-bundled-sharedIndexes', 'go-kratos-with-generated-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'First Code Analysis (' + test_project.pretty_name + ')'"
:label="'First Code Analysis (' + test_project.pretty_name + ')'"
measure="firstCodeAnalysis"
:projects="[
'go-' + test_project.real_name + '-bundled-sharedIndexes',
'go-' + test_project.real_name + '-with-generated-sharedIndexes',
'go-' + test_project.real_name + '-without-sharedIndexes',
]"
/>
</div>
</section>
</DashboardPage>
</template>

<script setup lang="ts">
import GroupProjectsChart from "../../charts/GroupProjectsChart.vue"
import DashboardPage from "../../common/DashboardPage.vue"
interface test_project {
pretty_name: string
real_name: string
}
const projects: test_project[] = [
{
pretty_name: "Empty Project",
real_name: "empty-project",
},
{
pretty_name: "Terraform",
real_name: "terraform",
},
{
pretty_name: "Kratos",
real_name: "kratos",
},
{
pretty_name: "Kubernetes",
real_name: "kubernetes",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,51 @@
table="goland"
persistent-id="go_indexing_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Indexing (Empty Project)"
:measure="['indexingTimeWithoutPauses']"
:projects="['go-empty-project-bundled-sharedIndexes', 'go-empty-project-with-generated-sharedIndexes', 'go-empty-project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Indexing (Terraform)"
:measure="['indexingTimeWithoutPauses']"
:projects="['go-terraform-without-sharedIndexes', 'go-terraform-bundled-sharedIndexes', 'go-terraform-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Indexing (Kratos)"
:measure="['indexingTimeWithoutPauses']"
:projects="['go-kratos-without-sharedIndexes', 'go-kratos-bundled-sharedIndexes', 'go-kratos-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Kubernetes)"
:measure="['indexingTimeWithoutPauses']"
:projects="['kubernetes-without-sharedIndexes', 'kubernetes-bundled-sharedIndexes', 'kubernetes-with-generated-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'Indexing time (' + test_project.pretty_name + ')'"
:label="'Indexing time (' + test_project.pretty_name + ')'"
:measure="['indexingTimeWithoutPauses']"
:projects="[
'go-' + test_project.real_name + '-bundled-sharedIndexes',
'go-' + test_project.real_name + '-with-generated-sharedIndexes',
'go-' + test_project.real_name + '-without-sharedIndexes',
]"
/>
</div>
</section>
</DashboardPage>
</template>

<script setup lang="ts">
import GroupProjectsChart from "../../charts/GroupProjectsChart.vue"
import DashboardPage from "../../common/DashboardPage.vue"
interface test_project {
pretty_name: string
real_name: string
}
const projects: test_project[] = [
{
pretty_name: "Empty Project",
real_name: "empty-project",
},
{
pretty_name: "Terraform",
real_name: "terraform",
},
{
pretty_name: "Kratos",
real_name: "kratos",
},
{
pretty_name: "Kubernetes",
real_name: "kubernetes",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,51 @@
table="goland"
persistent-id="go_number_of_files_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Number of indexing files (Empty Project)"
measure="numberOfIndexedFiles"
:projects="['go-empty-project-bundled-sharedIndexes', 'go-empty-project-with-generated-sharedIndexes', 'go-empty-project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Number of indexing files (Terraform)"
measure="numberOfIndexedFiles"
:projects="['go-terraform-without-sharedIndexes', 'go-terraform-bundled-sharedIndexes', 'go-terraform-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Number of indexing files (Kratos)"
measure="numberOfIndexedFiles"
:projects="['go-kratos-without-sharedIndexes', 'go-kratos-bundled-sharedIndexes', 'go-kratos-with-generated-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Kubernetes)"
measure="numberOfIndexedFiles"
:projects="['kubernetes-without-sharedIndexes', 'kubernetes-bundled-sharedIndexes', 'kubernetes-with-generated-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'Number of indexed files (' + test_project.pretty_name + ')'"
:label="'Number of indexed files (' + test_project.pretty_name + ')'"
measure="numberOfIndexedFilesWritingIndexValue"
:projects="[
'go-' + test_project.real_name + '-bundled-sharedIndexes',
'go-' + test_project.real_name + '-with-generated-sharedIndexes',
'go-' + test_project.real_name + '-without-sharedIndexes',
]"
/>
</div>
</section>
</DashboardPage>
</template>

<script setup lang="ts">
import GroupProjectsChart from "../../charts/GroupProjectsChart.vue"
import DashboardPage from "../../common/DashboardPage.vue"
interface test_project {
pretty_name: string
real_name: string
}
const projects: test_project[] = [
{
pretty_name: "Empty Project",
real_name: "empty-project",
},
{
pretty_name: "Terraform",
real_name: "terraform",
},
{
pretty_name: "Kratos",
real_name: "kratos",
},
{
pretty_name: "Kubernetes",
real_name: "kubernetes",
},
]
</script>
Loading

0 comments on commit bde7e71

Please sign in to comment.