@parca/profile 0.19.152 → 0.19.153
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 +4 -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 +12 -0
- package/package.json +2 -2
- package/src/ProfileMetricsGraph/index.tsx +7 -1
- package/src/ProfileTypeSelector/index.tsx +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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.153](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.152...@parca/profile@0.19.153) (2026-05-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## [0.19.152](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.151...@parca/profile@0.19.152) (2026-05-18)
|
|
7
11
|
|
|
8
12
|
**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,CAAC;CACjB;AAaD,eAAO,MAAM,wBAAwB,GAAI,aAAW,6BAA6B,KAAG,GAAG,CAAC,OAMvF,CAAC;AAEF,UAAU,wBAAwB;IAChC,WAAW,EAAE,kBAAkB,CAAC;I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jC,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,iBAiG/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"}
|
|
@@ -103,6 +103,18 @@ export var wellKnownProfiles = {
|
|
|
103
103
|
'parca_agent:cuda:nanoseconds:cuda:nanoseconds:delta': {
|
|
104
104
|
name: 'On-GPU',
|
|
105
105
|
help: 'Time spent on the GPU.'
|
|
106
|
+
},
|
|
107
|
+
'parca_agent:gpu_time:nanoseconds:gpu_time:nanoseconds:delta': {
|
|
108
|
+
name: 'On-GPU',
|
|
109
|
+
help: 'Time spent on the GPU. Combines kernel execution time and PC stall samples; the gpu_view label distinguishes the two views.'
|
|
110
|
+
},
|
|
111
|
+
'parca_agent:gpu_kernel_time:nanoseconds:gpu_kernel_time:nanoseconds:delta': {
|
|
112
|
+
name: 'On-GPU',
|
|
113
|
+
help: 'GPU kernel execution time measured via CUDA runtime callbacks.'
|
|
114
|
+
},
|
|
115
|
+
'parca_agent:gpu_stall_time:nanoseconds:gpu_stall_time:nanoseconds:delta': {
|
|
116
|
+
name: 'GPU Stalls',
|
|
117
|
+
help: 'GPU stall time accumulated from PC sampling — shows where threads were waiting on the GPU.'
|
|
106
118
|
}
|
|
107
119
|
};
|
|
108
120
|
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.153",
|
|
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": "2bab7be553ea2f217a37cc0a307c55e2694839b8"
|
|
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';
|
|
@@ -111,6 +111,18 @@ export const wellKnownProfiles: WellKnownProfiles = {
|
|
|
111
111
|
name: 'On-GPU',
|
|
112
112
|
help: 'Time spent on the GPU.',
|
|
113
113
|
},
|
|
114
|
+
'parca_agent:gpu_time:nanoseconds:gpu_time:nanoseconds:delta': {
|
|
115
|
+
name: 'On-GPU',
|
|
116
|
+
help: 'Time spent on the GPU. Combines kernel execution time and PC stall samples; the gpu_view label distinguishes the two views.',
|
|
117
|
+
},
|
|
118
|
+
'parca_agent:gpu_kernel_time:nanoseconds:gpu_kernel_time:nanoseconds:delta': {
|
|
119
|
+
name: 'On-GPU',
|
|
120
|
+
help: 'GPU kernel execution time measured via CUDA runtime callbacks.',
|
|
121
|
+
},
|
|
122
|
+
'parca_agent:gpu_stall_time:nanoseconds:gpu_stall_time:nanoseconds:delta': {
|
|
123
|
+
name: 'GPU Stalls',
|
|
124
|
+
help: 'GPU stall time accumulated from PC sampling — shows where threads were waiting on the GPU.',
|
|
125
|
+
},
|
|
114
126
|
};
|
|
115
127
|
|
|
116
128
|
export function flexibleWellKnownProfileMatching(name: string): WellKnownProfile | undefined {
|