Skip to content

Commit

Permalink
Generate python shared index charts from project names
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Zagnetin committed Nov 18, 2023
1 parent 96edb84 commit 7e1f268
Show file tree
Hide file tree
Showing 9 changed files with 486 additions and 402 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,67 @@
table="pycharm"
persistent-id="py_completion_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Completion (Django)"
measure="completion"
:projects="['django-with-project-sharedIndexes', 'django-with-bundled-sharedIndexes', 'django-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Empty Project)"
measure="completion"
:projects="['empty project-with-project-sharedIndexes', 'empty project-with-bundled-sharedIndexes', 'empty project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Pandas)"
measure="completion"
:projects="['pandas-with-project-sharedIndexes', 'pandas-with-bundled-sharedIndexes', 'pandas-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Keras)"
measure="completion"
:projects="['keras-with-project-sharedIndexes', 'keras-with-bundled-sharedIndexes', 'keras-without-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'Completion (' + test_project.pretty_name + ')'"
:label="'Completion (' + test_project.pretty_name + ')'"
measure="completion"
:projects="[
test_project.real_name + '-with-bundled-sharedIndexes',
test_project.real_name + '-with-project-sharedIndexes',
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: "Django",
real_name: "django",
},
{
pretty_name: "Pandas",
real_name: "pandas",
},
{
pretty_name: "Keras",
real_name: "keras",
},
{
pretty_name: "Nova",
real_name: "nova",
},
{
pretty_name: "PyTorch",
real_name: "pytorch",
},
{
pretty_name: "BoTo3",
real_name: "boto",
},
{
pretty_name: "Matplotlib",
real_name: "matplotlib",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,67 +4,67 @@
table="pycharm"
persistent-id="py_dumb_mode_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Django)"
measure="dumbModeTimeWithPauses"
:projects="['django-with-project-sharedIndexes', 'django-with-bundled-sharedIndexes', 'django-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Empty Project)"
measure="dumbModeTimeWithPauses"
:projects="['empty project-with-project-sharedIndexes', 'empty project-with-bundled-sharedIndexes', 'empty project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Pandas)"
measure="dumbModeTimeWithPauses"
:projects="['pandas-with-project-sharedIndexes', 'pandas-with-bundled-sharedIndexes', 'pandas-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Keras)"
measure="dumbModeTimeWithPauses"
:projects="['keras-with-project-sharedIndexes', 'keras-with-bundled-sharedIndexes', 'keras-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Nova)"
measure="dumbModeTimeWithPauses"
:projects="['nova-with-project-sharedIndexes', 'nova-with-bundled-sharedIndexes', 'nova-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (PyTorch)"
measure="dumbModeTimeWithPauses"
:projects="['pytorch-with-project-sharedIndexes', 'pytorch-with-bundled-sharedIndexes', 'pytorch-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (BoTo3)"
measure="dumbModeTimeWithPauses"
:projects="['boto-with-project-sharedIndexes', 'boto-with-bundled-sharedIndexes', 'boto-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Matplotlib)"
measure="dumbModeTimeWithPauses"
:projects="['matplotlib-with-project-sharedIndexes', 'matplotlib-with-bundled-sharedIndexes', 'matplotlib-without-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="[
test_project.real_name + '-with-bundled-sharedIndexes',
test_project.real_name + '-with-project-sharedIndexes',
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: "Django",
real_name: "django",
},
{
pretty_name: "Pandas",
real_name: "pandas",
},
{
pretty_name: "Keras",
real_name: "keras",
},
{
pretty_name: "Nova",
real_name: "nova",
},
{
pretty_name: "PyTorch",
real_name: "pytorch",
},
{
pretty_name: "BoTo3",
real_name: "boto",
},
{
pretty_name: "Matplotlib",
real_name: "matplotlib",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,67 @@
table="pycharm"
persistent-id="py_find_usages_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Find Usages (Django)"
measure="findUsages"
:projects="['django-with-project-sharedIndexes', 'django-with-bundled-sharedIndexes', 'django-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Find Usages (Empty Project)"
measure="findUsages"
:projects="['empty project-with-project-sharedIndexes', 'empty project-with-bundled-sharedIndexes', 'empty project-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Find Usages (Pandas)"
measure="findUsages"
:projects="['pandas-with-project-sharedIndexes', 'pandas-with-bundled-sharedIndexes', 'pandas-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Find Usages (Keras)"
measure="findUsages"
:projects="['keras-with-project-sharedIndexes', 'keras-with-bundled-sharedIndexes', 'keras-without-sharedIndexes']"
/>
<div>
<GroupProjectsChart
v-for="test_project in projects"
:key="'Find Usages (' + test_project.pretty_name + ')'"
:label="'Find Usagese (' + test_project.pretty_name + ')'"
measure="findUsages"
:projects="[
test_project.real_name + '-with-bundled-sharedIndexes',
test_project.real_name + '-with-project-sharedIndexes',
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: "Django",
real_name: "django",
},
{
pretty_name: "Pandas",
real_name: "pandas",
},
{
pretty_name: "Keras",
real_name: "keras",
},
{
pretty_name: "Nova",
real_name: "nova",
},
{
pretty_name: "PyTorch",
real_name: "pytorch",
},
{
pretty_name: "BoTo3",
real_name: "boto",
},
{
pretty_name: "Matplotlib",
real_name: "matplotlib",
},
]
</script>
Loading

0 comments on commit 7e1f268

Please sign in to comment.