@parca/profile 0.19.152 → 0.19.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/ProfileMetricsGraph/index.d.ts.map +1 -1
- package/dist/ProfileMetricsGraph/index.js +7 -1
- package/dist/ProfileTypeSelector/index.d.ts.map +1 -1
- package/dist/ProfileTypeSelector/index.js +14 -0
- package/package.json +2 -2
- package/src/ProfileMetricsGraph/index.tsx +7 -1
- package/src/ProfileTypeSelector/index.tsx +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.19.154](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.153...@parca/profile@0.19.154) (2026-05-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
10
|
+
## [0.19.153](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.152...@parca/profile@0.19.153) (2026-05-21)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @parca/profile
|
|
13
|
+
|
|
6
14
|
## [0.19.152](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.151...@parca/profile@0.19.152) (2026-05-18)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ProfileMetricsGraph/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,EACL,KAAK,EAGL,kBAAkB,EACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,aAAa,EAId,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAAyB,gBAAgB,EAAC,MAAM,IAAI,CAAC;AA8G5D,UAAU,6BAA6B;IACrC,OAAO,EAAE,MAAM,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,OAMvF,CAAC;AAEF,UAAU,wBAAwB;IAChC,WAAW,EAAE,kBAAkB,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,CACf,MAAM,EAAE;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,KACvE,IAAI,CAAC;IACV,YAAY,EAAE,CACZ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,KAAK,EAAE,EACf,eAAe,EAAE,MAAM,EACvB,QAAQ,EAAE,MAAM,KACb,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,mBAAmB,GAAI,qHAW1B,wBAAwB,KAAG,GAAG,CAAC,OAsXjC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -351,9 +351,15 @@ var ProfileMetricsGraph = function ProfileMetricsGraph(_ref) {
|
|
|
351
351
|
yAxisLabel = 'CPU Cores';
|
|
352
352
|
yAxisUnit = '';
|
|
353
353
|
}
|
|
354
|
-
if (sampleType === 'cuda') {
|
|
354
|
+
if (sampleType === 'cuda' || sampleType === 'gpu_time') {
|
|
355
355
|
yAxisLabel = 'GPU Time';
|
|
356
356
|
}
|
|
357
|
+
if (sampleType === 'gpu_kernel_time') {
|
|
358
|
+
yAxisLabel = 'GPU Kernel Time';
|
|
359
|
+
}
|
|
360
|
+
if (sampleType === 'gpu_stall_time') {
|
|
361
|
+
yAxisLabel = 'GPU Stall Time';
|
|
362
|
+
}
|
|
357
363
|
}
|
|
358
364
|
if (sampleUnit === 'bytes') {
|
|
359
365
|
yAxisLabel = 'Bytes per Second';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ProfileTypeSelector/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAC,WAAW,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAAS,KAAK,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAG7D,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,iBAAiB;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACjC;AAED,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ProfileTypeSelector/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAC,QAAQ,EAAC,MAAM,0BAA0B,CAAC;AAElD,OAAO,EAAC,WAAW,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAAS,KAAK,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAG7D,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,iBAAiB;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACjC;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAmG/B,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS,CAU3F;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,8BAA8B,EAAE,OAAO,GACtC,aAAa,CAiBf;AAED,eAAO,MAAM,oBAAoB,GAAI,MAAM,WAAW,KAAG,MAIxD,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,OAAO,WAAW,EAAE,KAAG,MAAM,EAItE,CAAC;AAEF,UAAU,KAAK;IACb,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,8BAA8B,CAAC,EAAE,OAAO,CAAC;IACzC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,mBAAmB,GAAI,2GAQ1B,KAAK,KAAG,GAAG,CAAC,OA2Bd,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -100,9 +100,23 @@ export var wellKnownProfiles = {
|
|
|
100
100
|
name: 'Off-CPU',
|
|
101
101
|
help: 'Time spent off the CPU as observed by the Parca Agent.'
|
|
102
102
|
},
|
|
103
|
+
// deprecated with PC sampling
|
|
103
104
|
'parca_agent:cuda:nanoseconds:cuda:nanoseconds:delta': {
|
|
104
105
|
name: 'On-GPU',
|
|
105
106
|
help: 'Time spent on the GPU.'
|
|
107
|
+
},
|
|
108
|
+
// use this for combined PC stall and kernel timing, not the default
|
|
109
|
+
'parca_agent:gpu_time:nanoseconds:gpu_time:nanoseconds:delta': {
|
|
110
|
+
name: 'On-GPU',
|
|
111
|
+
help: 'Time spent on the GPU. Combines kernel execution time and PC stall samples; the gpu_view label distinguishes the two views.'
|
|
112
|
+
},
|
|
113
|
+
'parca_agent:gpu_kernel_time:nanoseconds:gpu_kernel_time:nanoseconds:delta': {
|
|
114
|
+
name: 'GPU Kernels',
|
|
115
|
+
help: 'GPU kernel execution time measured via CUDA runtime callbacks.'
|
|
116
|
+
},
|
|
117
|
+
'parca_agent:gpu_pcsample:count:gpu_pcsample:nanoseconds:delta': {
|
|
118
|
+
name: 'GPU Instructions',
|
|
119
|
+
help: 'PC samples from the GPU — all PC activity, not just stalls; shows the instruction/stall reason.'
|
|
106
120
|
}
|
|
107
121
|
};
|
|
108
122
|
export function flexibleWellKnownProfileMatching(name) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.154",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/react": "^0.27.12",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"access": "public",
|
|
90
90
|
"registry": "https://registry.npmjs.org/"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "4e7c82b09126c960b99e90f179b4142c50b613c2"
|
|
93
93
|
}
|
|
@@ -368,9 +368,15 @@ const ProfileMetricsGraph = ({
|
|
|
368
368
|
yAxisLabel = 'CPU Cores';
|
|
369
369
|
yAxisUnit = '';
|
|
370
370
|
}
|
|
371
|
-
if (sampleType === 'cuda') {
|
|
371
|
+
if (sampleType === 'cuda' || sampleType === 'gpu_time') {
|
|
372
372
|
yAxisLabel = 'GPU Time';
|
|
373
373
|
}
|
|
374
|
+
if (sampleType === 'gpu_kernel_time') {
|
|
375
|
+
yAxisLabel = 'GPU Kernel Time';
|
|
376
|
+
}
|
|
377
|
+
if (sampleType === 'gpu_stall_time') {
|
|
378
|
+
yAxisLabel = 'GPU Stall Time';
|
|
379
|
+
}
|
|
374
380
|
}
|
|
375
381
|
if (sampleUnit === 'bytes') {
|
|
376
382
|
yAxisLabel = 'Bytes per Second';
|
|
@@ -107,10 +107,24 @@ export const wellKnownProfiles: WellKnownProfiles = {
|
|
|
107
107
|
name: 'Off-CPU',
|
|
108
108
|
help: 'Time spent off the CPU as observed by the Parca Agent.',
|
|
109
109
|
},
|
|
110
|
+
// deprecated with PC sampling
|
|
110
111
|
'parca_agent:cuda:nanoseconds:cuda:nanoseconds:delta': {
|
|
111
112
|
name: 'On-GPU',
|
|
112
113
|
help: 'Time spent on the GPU.',
|
|
113
114
|
},
|
|
115
|
+
// use this for combined PC stall and kernel timing, not the default
|
|
116
|
+
'parca_agent:gpu_time:nanoseconds:gpu_time:nanoseconds:delta': {
|
|
117
|
+
name: 'On-GPU',
|
|
118
|
+
help: 'Time spent on the GPU. Combines kernel execution time and PC stall samples; the gpu_view label distinguishes the two views.',
|
|
119
|
+
},
|
|
120
|
+
'parca_agent:gpu_kernel_time:nanoseconds:gpu_kernel_time:nanoseconds:delta': {
|
|
121
|
+
name: 'GPU Kernels',
|
|
122
|
+
help: 'GPU kernel execution time measured via CUDA runtime callbacks.',
|
|
123
|
+
},
|
|
124
|
+
'parca_agent:gpu_pcsample:count:gpu_pcsample:nanoseconds:delta': {
|
|
125
|
+
name: 'GPU Instructions',
|
|
126
|
+
help: 'PC samples from the GPU — all PC activity, not just stalls; shows the instruction/stall reason.',
|
|
127
|
+
},
|
|
114
128
|
};
|
|
115
129
|
|
|
116
130
|
export function flexibleWellKnownProfileMatching(name: string): WellKnownProfile | undefined {
|