Skip to content

Commit

Permalink
Chart on vcs log tab filter for intellij project + removing unused pr…
Browse files Browse the repository at this point in the history
…oject
  • Loading branch information
Alexey committed Nov 13, 2023
1 parent 7e3fd08 commit fd2b743
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions dashboard/new-dashboard/src/components/vcs/PerformanceDashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,79 +25,88 @@ import DashboardPage from "../common/DashboardPage.vue"
const intellijSpecific = "intellij_clone_specific_commit/gitLogIndexing"
const intellijSpecificSql = "intellij_clone_specific_commit/gitLogIndexing-sql"
const intellijLatest = "intellij_latest_master/gitLogIndexing"
const showFileHistoryEditorPhm = "intellij_clone_specific_commit/showFileHistory/EditorImpl-phm"
const showFileHistoryEditorSql = "intellij_clone_specific_commit/showFileHistory/EditorImpl-sql"
const showFileHistoryEditorNoIndex = "intellij_clone_specific_commit/showFileHistory/EditorImpl-noindex"
const vcsLogFilterPhm = "intellij_clone_specific_commit/filterVcsLogTab-phm"
const vcsLogFilterSql = "intellij_clone_specific_commit/filterVcsLogTab-sql"
const vcsLogFilterNoIndex = "intellij_clone_specific_commit/filterVcsLogTab-noindex"
const chartsDeclaration: ChartDefinition[] = [
//Indexing
{
labels: ["Indexing"],
measures: [["vcs-log-indexing"]],
projects: [intellijSpecific, intellijSpecificSql, intellijLatest],
projects: [intellijSpecific, intellijSpecificSql]
},
{
labels: ["Number of collected commits"],
measures: [["vcs-log-indexing#numberOfCommits"]],
projects: [intellijSpecific, intellijSpecificSql, intellijLatest],
projects: [intellijSpecific, intellijSpecificSql]
},
{
labels: ["Real number of collected commits through git rev-list --count --all"],
measures: [["realNumberOfCommits"]],
projects: [intellijSpecific, intellijSpecificSql, intellijLatest],
projects: [intellijSpecific, intellijSpecificSql]
},
//Show file history
{
labels: ["Show file history (test metric)"],
measures: [["showFileHistory"]],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex]
},
{
labels: ["Show file history - showing first pack of data (test metric)"],
measures: [["showFirstPack"]],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex]
},
{
labels: [
"Computing - time spent on computing a peace of history. If index - time of computing before the first rename. " +
"If git - time of computing before timeout of operation occurred",
"If git - time of computing before timeout of operation occurred"
],
measures: [["file-history-computing"]],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex]
},
{
labels: ["Refreshing VCS Log when repositories change (on commit, rebase, checkout branch, etc.)"],
measures: [["vcs-log-refreshing"]],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex]
},
{
labels: ["Building a [com.intellij.vcs.log.graph.PermanentGraph] for the list of commits"],
measures: [["vcs-log-building-graph"]],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex]
},
{
labels: ["Loading full VCS Log (all commits and references)"],
measures: [["vcs-log-loading-full-log"]],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex],
projects: [showFileHistoryEditorPhm, showFileHistoryEditorSql, showFileHistoryEditorNoIndex]
},
//Checkout
{
labels: ["Checkout"],
measures: [["git-checkout"]],
projects: ["intellij_clone_specific_commit/git-checkout"],
projects: ["intellij_clone_specific_commit/git-checkout"]
},
{
labels: ["Checkout FUS duration"],
measures: [["git-checkout#fusCheckoutDuration"]],
projects: ["intellij_clone_specific_commit/git-checkout"],
projects: ["intellij_clone_specific_commit/git-checkout"]
},
{
labels: ["Checkout FUS VFS refresh duration "],
measures: [["git-checkout#fusVfsRefreshDuration"]],
projects: ["intellij_clone_specific_commit/git-checkout"],
projects: ["intellij_clone_specific_commit/git-checkout"]
},
//Filter vcs log tab
{
labels: ["Filter Vcs Log tab"],
measures: [["vcs-log-filtering"]],
projects: [vcsLogFilterPhm, vcsLogFilterSql, vcsLogFilterNoIndex]
}
]
const charts = combineCharts(chartsDeclaration)
Expand Down

0 comments on commit fd2b743

Please sign in to comment.