@parca/profile 0.16.169 → 0.16.171

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/Callgraph/index.d.ts +1 -0
  3. package/dist/GraphTooltip/ExpandOnHoverValue.d.ts +1 -0
  4. package/dist/GraphTooltip/index.d.ts +1 -0
  5. package/dist/MatchersInput/SuggestionItem.d.ts +1 -0
  6. package/dist/MatchersInput/SuggestionsList.d.ts +1 -0
  7. package/dist/MatchersInput/index.d.ts +1 -0
  8. package/dist/MetricsCircle/index.d.ts +1 -0
  9. package/dist/MetricsGraph/MetricsTooltip/index.d.ts +1 -0
  10. package/dist/MetricsGraph/index.d.ts +1 -0
  11. package/dist/MetricsSeries/index.d.ts +1 -0
  12. package/dist/ProfileExplorer/ProfileExplorerCompare.d.ts +1 -0
  13. package/dist/ProfileExplorer/ProfileExplorerSingle.d.ts +1 -0
  14. package/dist/ProfileExplorer/index.d.ts +1 -0
  15. package/dist/ProfileExplorer/index.js +2 -2
  16. package/dist/ProfileIcicleGraph/IcicleGraph/ColorStackLegend.d.ts +1 -0
  17. package/dist/ProfileIcicleGraph/index.d.ts +1 -0
  18. package/dist/ProfileMetricsGraph/index.d.ts +1 -0
  19. package/dist/ProfileSelector/CompareButton.d.ts +1 -0
  20. package/dist/ProfileSelector/index.d.ts +1 -0
  21. package/dist/ProfileSource.d.ts +1 -0
  22. package/dist/ProfileTypeSelector/index.d.ts +1 -0
  23. package/dist/ProfileView/FilterByFunctionButton.d.ts +1 -0
  24. package/dist/ProfileView/ViewSelector.d.ts +1 -0
  25. package/dist/ProfileView/index.d.ts +1 -0
  26. package/dist/ProfileViewWithData.d.ts +1 -0
  27. package/dist/components/DiffLegend.d.ts +1 -0
  28. package/dist/components/ProfileShareButton/ResultBox.d.ts +1 -0
  29. package/dist/components/ProfileShareButton/index.d.ts +1 -0
  30. package/package.json +3 -3
  31. package/src/ProfileExplorer/index.tsx +2 -2
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.171 (2023-05-26)
7
+
8
+ **Note:** Version bump only for package @parca/profile
9
+
10
+ ## 0.16.170 (2023-05-25)
11
+
12
+ **Note:** Version bump only for package @parca/profile
13
+
6
14
  ## 0.16.169 (2023-05-10)
7
15
 
8
16
  **Note:** Version bump only for package @parca/profile
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Callgraph as CallgraphType } from '@parca/client';
2
3
  export interface Props {
3
4
  data: CallgraphType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  value: string | number | undefined;
3
4
  displayValue?: string | number | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CallgraphNode, CallgraphNodeMeta, FlamegraphNode, FlamegraphNodeMeta, FlamegraphRootNode } from '@parca/client';
2
3
  import { Location, Mapping, Function as ParcaFunction } from '@parca/client/dist/parca/metastore/v1alpha1/metastore';
3
4
  interface ExtendedCallgraphNodeMeta extends CallgraphNodeMeta {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  isHighlighted: boolean;
3
4
  onHighlight: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare class Suggestion {
2
3
  type: string;
3
4
  typeahead: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LabelsResponse, QueryServiceClient } from '@parca/client';
2
3
  import { Query } from '@parca/parser';
3
4
  interface MatchersInputProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface MetricsCircleProps {
2
3
  cx: number;
3
4
  cy: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { HighlightedSeries } from '../';
2
3
  interface Props {
3
4
  x: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Label, MetricsSeries as MetricsSeriesPb } from '@parca/client';
2
3
  import { DateTimeRange } from '@parca/components';
3
4
  import { MergedProfileSelection } from '..';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as d3 from 'd3';
2
3
  interface MetricsSeriesProps {
3
4
  data: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryServiceClient } from '@parca/client';
2
3
  import type { NavigateFunction } from '@parca/utilities';
3
4
  import { ProfileSelection } from '..';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryServiceClient } from '@parca/client';
2
3
  import type { NavigateFunction } from '@parca/utilities';
3
4
  import { ProfileSelection } from '..';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryServiceClient } from '@parca/client';
2
3
  import type { NavigateFunction } from '@parca/utilities';
3
4
  interface ProfileExplorerProps {
@@ -87,7 +87,7 @@ var ProfileExplorerApp = function (_a) {
87
87
  var profileA = ProfileSelectionFromParams(expression_a, from_a, to_a, mergeFrom, mergeTo, labels, filter_by_function);
88
88
  setProfileA(profileA);
89
89
  // eslint-disable-next-line react-hooks/exhaustive-deps
90
- }, [merge_from_a, merge_to_a, filter_by_function]);
90
+ }, [expression_a, from_a, to_a, merge_from_a, merge_to_a, labels_a, filter_by_function]);
91
91
  useEffect(function () {
92
92
  var _a;
93
93
  var mergeFrom = merge_from_b !== null && merge_from_b !== void 0 ? merge_from_b : undefined;
@@ -96,7 +96,7 @@ var ProfileExplorerApp = function (_a) {
96
96
  var profileB = ProfileSelectionFromParams(expression_b, from_b, to_b, mergeFrom, mergeTo, labels, filter_by_function);
97
97
  setProfileB(profileB);
98
98
  // eslint-disable-next-line react-hooks/exhaustive-deps
99
- }, [merge_from_b, merge_to_b, filter_by_function]);
99
+ }, [expression_b, from_b, to_b, merge_from_b, merge_to_b, labels_b, filter_by_function]);
100
100
  if (profileTypesLoading) {
101
101
  return _jsx(_Fragment, { children: loader });
102
102
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { NavigateFunction } from '@parca/utilities';
2
3
  interface Props {
3
4
  navigateTo?: NavigateFunction;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Flamegraph } from '@parca/client';
2
3
  import { type NavigateFunction } from '@parca/utilities';
3
4
  export type ResizeHandler = (width: number, height: number) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RpcError } from '@protobuf-ts/runtime-rpc';
2
3
  import { Label, QueryRangeResponse, QueryServiceClient } from '@parca/client';
3
4
  import { DateTimeRange } from '@parca/components';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const CompareButton: ({ disabled, onClick, }: {
2
3
  disabled: boolean;
3
4
  onClick: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RpcError } from '@protobuf-ts/runtime-rpc';
2
3
  import { ProfileTypesResponse, QueryServiceClient } from '@parca/client';
3
4
  import { ProfileSelection } from '..';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Label, ProfileDiffSelection, QueryRequest } from '@parca/client';
2
3
  import { ProfileType, Query } from '@parca/parser';
3
4
  export interface ProfileSource {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { RpcError } from '@protobuf-ts/runtime-rpc';
2
3
  import { ProfileType, ProfileTypesResponse } from '@parca/client';
3
4
  import { type SelectElement } from '@parca/components';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { NavigateFunction } from '@parca/utilities';
2
3
  declare const FilterByFunctionButton: ({ navigateTo, }: {
3
4
  navigateTo: NavigateFunction | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { NavigateFunction } from '@parca/utilities';
2
3
  interface Props {
3
4
  position: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Callgraph as CallgraphType, Flamegraph, QueryServiceClient, Top } from '@parca/client';
2
3
  import { ResizeHandler } from '../ProfileIcicleGraph';
3
4
  import { ProfileSource } from '../ProfileSource';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryServiceClient } from '@parca/client';
2
3
  import { type NavigateFunction } from '@parca/utilities';
3
4
  import { ProfileSource } from './ProfileSource';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DiffLegend: () => JSX.Element;
2
3
  export default DiffLegend;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Props {
2
3
  value: string;
3
4
  className?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QueryRequest, QueryServiceClient } from '@parca/client';
2
3
  interface Props {
3
4
  queryRequest: QueryRequest;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.16.169",
3
+ "version": "0.16.171",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@parca/client": "^0.16.73",
7
- "@parca/components": "^0.16.137",
7
+ "@parca/components": "^0.16.138",
8
8
  "@parca/dynamicsize": "^0.16.54",
9
9
  "@parca/hooks": "^0.0.2",
10
10
  "@parca/parser": "^0.16.55",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.org/"
48
48
  },
49
- "gitHead": "aa80ec59b82c67411cfdb7c64261379f17a3ec2c"
49
+ "gitHead": "c5a25c12a0fd1d1bdfdebcf3ef778ed55c895639"
50
50
  }
@@ -137,7 +137,7 @@ const ProfileExplorerApp = ({
137
137
 
138
138
  setProfileA(profileA);
139
139
  // eslint-disable-next-line react-hooks/exhaustive-deps
140
- }, [merge_from_a, merge_to_a, filter_by_function]);
140
+ }, [expression_a, from_a, to_a, merge_from_a, merge_to_a, labels_a, filter_by_function]);
141
141
 
142
142
  useEffect(() => {
143
143
  const mergeFrom = merge_from_b ?? undefined;
@@ -155,7 +155,7 @@ const ProfileExplorerApp = ({
155
155
 
156
156
  setProfileB(profileB);
157
157
  // eslint-disable-next-line react-hooks/exhaustive-deps
158
- }, [merge_from_b, merge_to_b, filter_by_function]);
158
+ }, [expression_b, from_b, to_b, merge_from_b, merge_to_b, labels_b, filter_by_function]);
159
159
 
160
160
  if (profileTypesLoading) {
161
161
  return <>{loader}</>;