diff --git a/assets/web/html.zip b/assets/web/html.zip index 9548962..121e922 100644 Binary files a/assets/web/html.zip and b/assets/web/html.zip differ diff --git a/ts/components/hooks/use-pprof-option.tsx b/ts/components/hooks/use-pprof-option.tsx index 1964d6b..57815bc 100644 --- a/ts/components/hooks/use-pprof-option.tsx +++ b/ts/components/hooks/use-pprof-option.tsx @@ -126,17 +126,22 @@ const tooltipFormatter = (foc: FlatOrCum, labelFmt: (value: number) => string): const value = p.value[foc.toLowerCase()] const splits = p.seriesName.split(" ") const func = splits[0] + const line = splits[1] if (value) { output += `
-
-
-
+
+
+
${p.marker}
${func}
${labelFmt(value)}
+
+
${p.marker}
+

${line}

+
` } diff --git a/ts/components/state/pref-state.ts b/ts/components/state/pref-state.ts index f20ca5c..4db3b18 100644 --- a/ts/components/state/pref-state.ts +++ b/ts/components/state/pref-state.ts @@ -21,7 +21,7 @@ const newGraphPref = (): GraphPref => ({ total: false, flatOrCum: FlatOrCum.flat, enabled: true, - topN: 20 + topN: 10 }) export type GraphPrefs = {