@parca/profile 0.19.79 → 0.19.80
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/MetricsGraph/UtilizationMetrics/Throughput.js +1 -1
- package/dist/MetricsGraph/UtilizationMetrics/index.js +1 -1
- package/dist/ProfileSelector/MetricsGraphSection.js +1 -1
- package/package.json +2 -2
- package/src/MetricsGraph/UtilizationMetrics/Throughput.tsx +1 -1
- package/src/MetricsGraph/UtilizationMetrics/index.tsx +1 -1
- package/src/ProfileSelector/MetricsGraphSection.tsx +1 -1
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.80](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.79...@parca/profile@0.19.80) (2025-11-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## [0.19.79](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.78...@parca/profile@0.19.79) (2025-11-19)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -170,6 +170,6 @@ const AreaChart = ({ transmitData, receiveData, addLabelMatcher, setTimeRange, u
|
|
|
170
170
|
const contextMenuItems = useMemo(() => {
|
|
171
171
|
return createThroughputContextMenuItems(addLabelMatcher, transmitData, receiveData);
|
|
172
172
|
}, [addLabelMatcher, transmitData, receiveData]);
|
|
173
|
-
return (_jsx(AnimatePresence, { children: _jsx(motion.div, { className: "w-full relative", initial:
|
|
173
|
+
return (_jsx(AnimatePresence, { children: _jsx(motion.div, { className: "w-full relative", initial: false, animate: { display: 'block', opacity: 1 }, transition: { duration: 0.5 }, children: utilizationMetricsLoading === true ? (_jsx(MetricsGraphSkeleton, { heightStyle: heightStyle, isDarkMode: isDarkMode, isMini: true })) : (_jsx(RawAreaChart, { transmitData: transmitData, receiveData: receiveData, transformedData: transformedData, addLabelMatcher: addLabelMatcher, setTimeRange: setTimeRange, width: width, height: height, margin: margin, name: name, humanReadableName: humanReadableName, from: from, to: to, selectedSeries: selectedSeries, onSeriesClick: onSeriesClick, contextMenuItems: contextMenuItems })) }, "area-chart-graph-loaded") }));
|
|
174
174
|
};
|
|
175
175
|
export default AreaChart;
|
|
@@ -181,6 +181,6 @@ const UtilizationMetrics = ({ data, setTimeRange, utilizationMetricsLoading, hum
|
|
|
181
181
|
const contextMenuItems = useMemo(() => {
|
|
182
182
|
return addLabelMatcher != null ? createUtilizationContextMenuItems(addLabelMatcher, data) : [];
|
|
183
183
|
}, [addLabelMatcher, data]);
|
|
184
|
-
return (_jsx(AnimatePresence, { children: _jsx(motion.div, { className: "w-full relative", initial:
|
|
184
|
+
return (_jsx(AnimatePresence, { children: _jsx(motion.div, { className: "w-full relative", initial: false, animate: { display: 'block', opacity: 1 }, transition: { duration: 0.5 }, children: utilizationMetricsLoading === true ? (_jsx(MetricsGraphSkeleton, { heightStyle: heightStyle, isDarkMode: isDarkMode, isMini: true })) : (_jsx(RawUtilizationMetrics, { data: transformedData, originalData: data, setTimeRange: setTimeRange, width: width, height: height, margin: margin, humanReadableName: humanReadableName, from: from, to: to, yAxisUnit: yAxisUnit, contextMenuItems: contextMenuItems, onSeriesClick: onSeriesClick })) }, "utilization-metrics-graph-loaded") }));
|
|
185
185
|
};
|
|
186
186
|
export default UtilizationMetrics;
|
|
@@ -103,7 +103,7 @@ export function MetricsGraphSection({ showMetricsGraph, setDisplayHideMetricsGra
|
|
|
103
103
|
} }, name));
|
|
104
104
|
}
|
|
105
105
|
return null;
|
|
106
|
-
}), throughputMetrics.length > 0 && (_jsx(AreaChart, { transmitData: transmitData, receiveData: receiveData, addLabelMatcher: addLabelMatcher, setTimeRange: handleTimeRangeChange, name: throughputMetrics[0].name, humanReadableName: throughputMetrics[0].humanReadableName, from: querySelection.from, to: querySelection.to, utilizationMetricsLoading: utilizationMetricsLoading, selectedSeries: undefined, onSeriesClick: (
|
|
106
|
+
}), throughputMetrics.length > 0 && (_jsx(AreaChart, { transmitData: transmitData, receiveData: receiveData, addLabelMatcher: addLabelMatcher, setTimeRange: handleTimeRangeChange, name: throughputMetrics[0].name, humanReadableName: throughputMetrics[0].humanReadableName, from: querySelection.from, to: querySelection.to, utilizationMetricsLoading: utilizationMetricsLoading, selectedSeries: undefined, onSeriesClick: (_, seriesIndex) => {
|
|
107
107
|
// For throughput metrics, just pass the series index
|
|
108
108
|
if (onUtilizationSeriesSelect != null) {
|
|
109
109
|
let name = 'gpu_pcie_throughput_transmit_bytes';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.80",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/react": "^0.27.12",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"access": "public",
|
|
80
80
|
"registry": "https://registry.npmjs.org/"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "1a4ba8b90138ac3de4225e79af63a22104c13272"
|
|
83
83
|
}
|
|
@@ -396,7 +396,7 @@ const UtilizationMetrics = ({
|
|
|
396
396
|
<motion.div
|
|
397
397
|
className="w-full relative"
|
|
398
398
|
key="utilization-metrics-graph-loaded"
|
|
399
|
-
initial={
|
|
399
|
+
initial={false}
|
|
400
400
|
animate={{display: 'block', opacity: 1}}
|
|
401
401
|
transition={{duration: 0.5}}
|
|
402
402
|
>
|
|
@@ -213,7 +213,7 @@ export function MetricsGraphSection({
|
|
|
213
213
|
to={querySelection.to}
|
|
214
214
|
utilizationMetricsLoading={utilizationMetricsLoading}
|
|
215
215
|
selectedSeries={undefined}
|
|
216
|
-
onSeriesClick={(
|
|
216
|
+
onSeriesClick={(_, seriesIndex) => {
|
|
217
217
|
// For throughput metrics, just pass the series index
|
|
218
218
|
if (onUtilizationSeriesSelect != null) {
|
|
219
219
|
let name = 'gpu_pcie_throughput_transmit_bytes';
|