@parca/profile 0.16.217 → 0.16.219
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/GraphTooltip/index.js +3 -1
- package/package.json +3 -3
- package/src/GraphTooltip/index.tsx +3 -1
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.16.219 (2023-08-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
10
|
+
## 0.16.218 (2023-08-02)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @parca/profile
|
|
13
|
+
|
|
6
14
|
## 0.16.217 (2023-08-02)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -109,7 +109,9 @@ export const GraphTooltipContent = ({ hoveringNode, unit, total, totalUnfiltered
|
|
|
109
109
|
timeoutHandle = setTimeout(() => setIsCopied(false), 3000);
|
|
110
110
|
};
|
|
111
111
|
const hoveringNodeCumulative = hoveringNode.cumulative;
|
|
112
|
-
|
|
112
|
+
// '?? 0n' is needed because because diff is undefined in callgraph for some nodes,
|
|
113
|
+
// even though the type doesn't allow it.
|
|
114
|
+
const diff = hoveringNode.diff ?? 0n;
|
|
113
115
|
const prevValue = hoveringNodeCumulative - diff;
|
|
114
116
|
const diffRatio = diff !== 0n ? divide(diff, prevValue) : 0;
|
|
115
117
|
const diffSign = diff > 0 ? '+' : '';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.219",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@parca/client": "^0.16.81",
|
|
7
|
-
"@parca/components": "^0.16.
|
|
7
|
+
"@parca/components": "^0.16.175",
|
|
8
8
|
"@parca/dynamicsize": "^0.16.54",
|
|
9
9
|
"@parca/hooks": "^0.0.16",
|
|
10
10
|
"@parca/parser": "^0.16.55",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public",
|
|
48
48
|
"registry": "https://registry.npmjs.org/"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b1ee3cd937d11b03c4f5c9f6cee1cff753f27fa5"
|
|
51
51
|
}
|
|
@@ -276,7 +276,9 @@ export const GraphTooltipContent = ({
|
|
|
276
276
|
};
|
|
277
277
|
|
|
278
278
|
const hoveringNodeCumulative = hoveringNode.cumulative;
|
|
279
|
-
|
|
279
|
+
// '?? 0n' is needed because because diff is undefined in callgraph for some nodes,
|
|
280
|
+
// even though the type doesn't allow it.
|
|
281
|
+
const diff = hoveringNode.diff ?? 0n;
|
|
280
282
|
const prevValue = hoveringNodeCumulative - diff;
|
|
281
283
|
const diffRatio = diff !== 0n ? divide(diff, prevValue) : 0;
|
|
282
284
|
const diffSign = diff > 0 ? '+' : '';
|