Skip to content

Commit

Permalink
Generate IJ 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 7e1f268 commit 4f84e7a
Show file tree
Hide file tree
Showing 9 changed files with 535 additions and 963 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,122 +4,73 @@
table="ideaSharedIndices"
persistent-id="completion_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Completion (ToolboxEnterprise)"
measure="completion"
:projects="['tbe-downloaded-sharedIndexes', 'tbe-with-java-sharedIndexes', 'tbe-with-maven-sharedIndexes', 'tbe-with-project-sharedIndexes', 'tbe-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Kotlin Serialization)"
measure="completion"
:projects="[
'serialization-downloaded-sharedIndexes',
'serialization-with-java-sharedIndexes',
'serialization-with-maven-sharedIndexes',
'serialization-with-project-sharedIndexes',
'serialization-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Kotlin Coroutines)"
measure="completion"
:projects="[
'coroutines-downloaded-sharedIndexes',
'coroutines-with-java-sharedIndexes',
'coroutines-with-maven-sharedIndexes',
'coroutines-with-project-sharedIndexes',
'coroutines-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Grails)"
measure="completion"
:projects="[
'grails-downloaded-sharedIndexes',
'grails-with-java-sharedIndexes',
'grails-with-maven-sharedIndexes',
'grails-with-project-sharedIndexes',
'grails-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Java Design Patterns)"
measure="completion"
:projects="[
'javaDesignPatterns-downloaded-sharedIndexes',
'javaDesignPatterns-with-java-sharedIndexes',
'javaDesignPatterns-with-maven-sharedIndexes',
'javaDesignPatterns-with-project-sharedIndexes',
'javaDesignPatterns-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (IntelliJ)"
measure="completion"
:projects="[
'intellij-downloaded-sharedIndexes',
'intellij-with-java-sharedIndexes',
'intellij-with-maven-sharedIndexes',
'intellij-with-project-sharedIndexes',
'intellij-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (Community)"
measure="completion"
:projects="[
'intellij-community-downloaded-sharedIndexes',
'intellij-community-with-java-sharedIndexes',
'intellij-community-with-maven-sharedIndexes',
'intellij-community-with-project-sharedIndexes',
'intellij-community-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (SpringBoot)"
measure="completion"
:projects="[
'spring-boot-downloaded-sharedIndexes',
'spring-boot-with-java-sharedIndexes',
'spring-boot-with-maven-sharedIndexes',
'spring-boot-with-project-sharedIndexes',
'spring-boot-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Completion (JDK)"
measure="completion"
:projects="[
'jdk-only-downloaded-sharedIndexes',
'jdk-only-with-java-sharedIndexes',
'jdk-only-with-maven-sharedIndexes',
'jdk-only-with-project-sharedIndexes',
'jdk-only-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 + '-downloaded-sharedIndexes',
test_project.real_name + '-with-java-sharedIndexes',
test_project.real_name + '-with-maven-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: "ToolboxEnterprise",
real_name: "tbe",
},
{
pretty_name: "Kotlin Serialization",
real_name: "serialization",
},
{
pretty_name: "Kotlin Coroutines",
real_name: "coroutines",
},
{
pretty_name: "Grails",
real_name: "grails",
},
{
pretty_name: "Java Design Patterns",
real_name: "javaDesignPatterns",
},
{
pretty_name: "IntelliJ",
real_name: "intellij",
},
{
pretty_name: "Community",
real_name: "intellij-community",
},
{
pretty_name: "SpringBoot",
real_name: "spring-boot",
},
{
pretty_name: "JDK",
real_name: "jdk-only",
},
]
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -4,122 +4,73 @@
table="ideaSharedIndices"
persistent-id="dumb_mode_dashboard"
initial-machine="Linux EC2 C6id.8xlarge (32 vCPU Xeon, 64 GB)"
:project="projects"
>
<section>
<GroupProjectsChart
label="Dumb Mode Time (ToolboxEnterprise)"
measure="dumbModeTimeWithPauses"
:projects="['tbe-downloaded-sharedIndexes', 'tbe-with-java-sharedIndexes', 'tbe-with-maven-sharedIndexes', 'tbe-with-project-sharedIndexes', 'tbe-without-sharedIndexes']"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Kotlin Serialization)"
measure="dumbModeTimeWithPauses"
:projects="[
'serialization-downloaded-sharedIndexes',
'serialization-with-java-sharedIndexes',
'serialization-with-maven-sharedIndexes',
'serialization-with-project-sharedIndexes',
'serialization-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Kotlin Coroutines)"
measure="dumbModeTimeWithPauses"
:projects="[
'coroutines-downloaded-sharedIndexes',
'coroutines-with-java-sharedIndexes',
'coroutines-with-maven-sharedIndexes',
'coroutines-with-project-sharedIndexes',
'coroutines-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Grails)"
measure="dumbModeTimeWithPauses"
:projects="[
'grails-downloaded-sharedIndexes',
'grails-with-java-sharedIndexes',
'grails-with-maven-sharedIndexes',
'grails-with-project-sharedIndexes',
'grails-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Java Design Patterns)"
measure="dumbModeTimeWithPauses"
:projects="[
'javaDesignPatterns-downloaded-sharedIndexes',
'javaDesignPatterns-with-java-sharedIndexes',
'javaDesignPatterns-with-maven-sharedIndexes',
'javaDesignPatterns-with-project-sharedIndexes',
'javaDesignPatterns-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (IntelliJ)"
measure="dumbModeTimeWithPauses"
:projects="[
'intellij-downloaded-sharedIndexes',
'intellij-with-java-sharedIndexes',
'intellij-with-maven-sharedIndexes',
'intellij-with-project-sharedIndexes',
'intellij-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (Community)"
measure="dumbModeTimeWithPauses"
:projects="[
'intellij-community-downloaded-sharedIndexes',
'intellij-community-with-java-sharedIndexes',
'intellij-community-with-maven-sharedIndexes',
'intellij-community-with-project-sharedIndexes',
'intellij-community-without-sharedIndexes',
]"
/>
</section>
<section>
<GroupProjectsChart
label="Dumb Mode Time (SpringBoot)"
measure="dumbModeTimeWithPauses"
:projects="[
'spring-boot-downloaded-sharedIndexes',
'spring-boot-with-java-sharedIndexes',
'spring-boot-with-maven-sharedIndexes',
'spring-boot-with-project-sharedIndexes',
'spring-boot-without-sharedIndexes',
]"
/>
<section>
<div>
<GroupProjectsChart
label="Dumb Mode Time (JDK)"
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="[
'jdk-only-downloaded-sharedIndexes',
'jdk-only-with-java-sharedIndexes',
'jdk-only-with-maven-sharedIndexes',
'jdk-only-with-project-sharedIndexes',
'jdk-only-without-sharedIndexes',
test_project.real_name + '-downloaded-sharedIndexes',
test_project.real_name + '-with-java-sharedIndexes',
test_project.real_name + '-with-maven-sharedIndexes',
test_project.real_name + '-with-project-sharedIndexes',
test_project.real_name + '-without-sharedIndexes',
]"
/>
</section>
</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: "ToolboxEnterprise",
real_name: "tbe",
},
{
pretty_name: "Kotlin Serialization",
real_name: "serialization",
},
{
pretty_name: "Kotlin Coroutines",
real_name: "coroutines",
},
{
pretty_name: "Grails",
real_name: "grails",
},
{
pretty_name: "Java Design Patterns",
real_name: "javaDesignPatterns",
},
{
pretty_name: "IntelliJ",
real_name: "intellij",
},
{
pretty_name: "Community",
real_name: "intellij-community",
},
{
pretty_name: "SpringBoot",
real_name: "spring-boot",
},
{
pretty_name: "JDK",
real_name: "jdk-only",
},
]
</script>
Loading

0 comments on commit 4f84e7a

Please sign in to comment.