File tree 2 files changed +4
-4
lines changed
vscode-js-profile-core/src/heap
vscode-js-profile-table/src/heap-client
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ export class HeapProfileAnnotations extends ProfileAnnotations<IProfileInformati
70
70
return [
71
71
new CodeLens ( range , {
72
72
title :
73
- `${ decimalFormat . format ( data . totalSize / 1000 ) } kB Total Size, ` +
74
- `${ decimalFormat . format ( data . selfSize / 1000 ) } kB Self Size` ,
73
+ `${ decimalFormat . format ( data . selfSize / 1000 ) } kB Self Size, ` +
74
+ `${ decimalFormat . format ( data . totalSize / 1000 ) } kB Total Size` ,
75
75
command : '' ,
76
76
} ) ,
77
77
new CodeLens ( range , {
Original file line number Diff line number Diff line change @@ -145,11 +145,11 @@ const TimeViewRow: FunctionComponent<{
145
145
>
146
146
< div className = { styles . duration } aria-labelledby = "self-size-header" >
147
147
< ImpactBar impact = { node . selfSize / node . totalSize } />
148
- { decimalFormat . format ( node . selfSize ) }
148
+ { decimalFormat . format ( node . selfSize ) } kB
149
149
</ div >
150
150
< div className = { styles . duration } aria-labelledby = "total-size-header" >
151
151
< ImpactBar impact = { node . totalSize / root . totalSize } />
152
- { decimalFormat . format ( node . totalSize ) }
152
+ { decimalFormat . format ( node . totalSize ) } kB
153
153
</ div >
154
154
{ ! location ? (
155
155
< div
You can’t perform that action at this time.
0 commit comments