@parca/profile 0.16.367 → 0.16.369
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/Callgraph/utils.d.ts +6 -6
- package/dist/GraphTooltip/index.d.ts +5 -5
- package/dist/ProfileIcicleGraph/ActionButtons/GroupByDropdown.d.ts +0 -1
- package/dist/ProfileIcicleGraph/ActionButtons/RuntimeFilterDropdown.d.ts +0 -1
- package/dist/ProfileIcicleGraph/ActionButtons/SortBySelect.d.ts +0 -1
- package/dist/ProfileIcicleGraph/IcicleGraphArrow/ContextMenu.js +1 -1
- package/dist/ProfileView/ProfileViewContext.d.ts +1 -1
- package/dist/Table/ColumnsVisibility.d.ts +0 -1
- package/dist/useGrpcQuery/index.d.ts +1 -1
- package/package.json +11 -11
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.369](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.368...@parca/profile@0.16.369) (2024-05-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
10
|
+
## [0.16.368](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.367...@parca/profile@0.16.368) (2024-05-14)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @parca/profile
|
|
13
|
+
|
|
6
14
|
## [0.16.367](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.366...@parca/profile@0.16.367) (2024-05-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -2,12 +2,12 @@ import { CallgraphEdge, CallgraphNode } from '@parca/client';
|
|
|
2
2
|
export declare const pixelsToInches: (pixels: number) => number;
|
|
3
3
|
export declare const getCurvePoints: ({ pos, xScale, yScale, source, target, offset, isSelfLoop, }: {
|
|
4
4
|
pos: string;
|
|
5
|
-
xScale?: (
|
|
6
|
-
yScale?: (
|
|
7
|
-
source?: number[]
|
|
8
|
-
target?: number[]
|
|
9
|
-
isSelfLoop?: boolean
|
|
10
|
-
offset?: number
|
|
5
|
+
xScale?: (pos: number) => number;
|
|
6
|
+
yScale?: (pos: number) => number;
|
|
7
|
+
source?: number[];
|
|
8
|
+
target?: number[];
|
|
9
|
+
isSelfLoop?: boolean;
|
|
10
|
+
offset?: number;
|
|
11
11
|
}) => number[];
|
|
12
12
|
export declare const jsonToDot: ({ graph, colorRange, }: {
|
|
13
13
|
graph: {
|
|
@@ -31,11 +31,11 @@ export declare const GraphTooltipContent: ({ hoveringNode, unit, total, totalUnf
|
|
|
31
31
|
total: bigint;
|
|
32
32
|
totalUnfiltered: bigint;
|
|
33
33
|
isFixed: boolean;
|
|
34
|
-
strings?: string[]
|
|
35
|
-
mappings?: Mapping[]
|
|
36
|
-
locations?: Location[]
|
|
37
|
-
functions?: ParcaFunction[]
|
|
38
|
-
type?: string
|
|
34
|
+
strings?: string[];
|
|
35
|
+
mappings?: Mapping[];
|
|
36
|
+
locations?: Location[];
|
|
37
|
+
functions?: ParcaFunction[];
|
|
38
|
+
type?: string;
|
|
39
39
|
}) => JSX.Element;
|
|
40
40
|
declare const GraphTooltip: ({ x, y, unit, total, totalUnfiltered, hoveringNode: hoveringNodeProp, contextElement, isFixed, virtualContextElement, strings, mappings, locations, functions, type, }: GraphTooltipProps) => JSX.Element;
|
|
41
41
|
export default GraphTooltip;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const RuntimeFilterDropdown: ({ showRuntimeRuby, toggleShowRuntimeRuby, showRuntimePython, toggleShowRuntimePython, showInterpretedOnly, toggleShowInterpretedOnly, }: {
|
|
3
2
|
showRuntimeRuby: boolean;
|
|
4
3
|
toggleShowRuntimeRuby: () => void;
|
|
@@ -62,7 +62,7 @@ const ContextMenu = ({ menuId, table, total, totalUnfiltered, row, level, naviga
|
|
|
62
62
|
{
|
|
63
63
|
id: 'Function system name',
|
|
64
64
|
value: functionSystemName === functionName ? '' : functionSystemName,
|
|
65
|
-
},
|
|
65
|
+
}, // an empty string will be filtered out below
|
|
66
66
|
{ id: 'Cumulative', value: cumulativeText ?? '' },
|
|
67
67
|
{ id: 'Diff', value: diff !== 0n ? diffText : '' },
|
|
68
68
|
{
|
|
@@ -8,7 +8,7 @@ export declare const defaultValue: Props;
|
|
|
8
8
|
declare const ProfileViewContext: import("react").Context<Props>;
|
|
9
9
|
export declare const ProfileViewContextProvider: ({ children, value, }: {
|
|
10
10
|
children: ReactNode;
|
|
11
|
-
value?: Props
|
|
11
|
+
value?: Props;
|
|
12
12
|
}) => JSX.Element;
|
|
13
13
|
export declare const useProfileViewContext: () => Props;
|
|
14
14
|
export default ProfileViewContext;
|
|
@@ -8,5 +8,5 @@ interface Props<IRes> {
|
|
|
8
8
|
retry?: number | boolean;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
declare const useGrpcQuery: <IRes>({ key, queryFn, options: { enabled, staleTime, retry }, }: Props<IRes>) => UseQueryResult<IRes
|
|
11
|
+
declare const useGrpcQuery: <IRes>({ key, queryFn, options: { enabled, staleTime, retry }, }: Props<IRes>) => UseQueryResult<IRes>;
|
|
12
12
|
export default useGrpcQuery;
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.369",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@headlessui/react": "^1.7.19",
|
|
7
7
|
"@iconify/react": "^4.0.0",
|
|
8
|
-
"@parca/client": "^0.16.
|
|
9
|
-
"@parca/components": "^0.16.
|
|
10
|
-
"@parca/dynamicsize": "^0.16.
|
|
11
|
-
"@parca/hooks": "^0.0.
|
|
12
|
-
"@parca/icons": "^0.16.
|
|
13
|
-
"@parca/parser": "^0.16.
|
|
14
|
-
"@parca/store": "^0.16.
|
|
15
|
-
"@parca/utilities": "^0.0.
|
|
8
|
+
"@parca/client": "^0.16.113",
|
|
9
|
+
"@parca/components": "^0.16.274",
|
|
10
|
+
"@parca/dynamicsize": "^0.16.64",
|
|
11
|
+
"@parca/hooks": "^0.0.54",
|
|
12
|
+
"@parca/icons": "^0.16.68",
|
|
13
|
+
"@parca/parser": "^0.16.73",
|
|
14
|
+
"@parca/store": "^0.16.143",
|
|
15
|
+
"@parca/utilities": "^0.0.71",
|
|
16
16
|
"@popperjs/core": "^2.11.8",
|
|
17
17
|
"@protobuf-ts/runtime-rpc": "^2.5.0",
|
|
18
18
|
"@tanstack/react-query": "^4.0.5",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/lodash.throttle": "4.1.9",
|
|
56
|
-
"@types/react-syntax-highlighter": "15.5.
|
|
56
|
+
"@types/react-syntax-highlighter": "15.5.13"
|
|
57
57
|
},
|
|
58
58
|
"main": "dist/index.js",
|
|
59
59
|
"scripts": {
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public",
|
|
72
72
|
"registry": "https://registry.npmjs.org/"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "704de2373c6b4ac3de52bd666f88e51981700f92"
|
|
75
75
|
}
|