@parca/profile 0.19.116 → 0.19.117
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/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/package.json +4 -2
- package/src/index.tsx +8 -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.117](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.116...@parca/profile@0.19.117) (2026-02-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## [0.19.116](https://github.com/parca-dev/parca/compare/@parca/profile@0.19.115...@parca/profile@0.19.116) (2026-02-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @parca/profile
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAExD,OAAO,YAAY,EAAE,EAAC,KAAK,wBAAwB,EAAE,KAAK,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACxF,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,YAAY,MAAM,yBAAyB,CAAC;AACnD,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,KAAK,8BAA8B,EACpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAC,qBAAqB,EAAE,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAOpD,OAAO,EAAC,yBAAyB,EAAC,MAAM,0CAA0C,CAAC;AAEnF,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,aAAa,GACnB,MAAM,2DAA2D,CAAC;AACnE,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAC,OAAO,IAAI,cAAc,EAAC,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAC,yBAAyB,EAAC,MAAM,mEAAmE,CAAC;AAE5G,eAAO,MAAM,qCAAqC,EAAE,gBAWnD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,KAAK,wBAAwB,EAC7B,KAAK,MAAM,EACX,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,KAAK,8BAA8B,GACpC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
|
+
import { CompressionType, setCompressionCodec } from '@uwdata/flechette';
|
|
14
|
+
import * as lz4 from 'lz4js';
|
|
13
15
|
import MetricsGraph from './MetricsGraph';
|
|
14
16
|
import ProfileExplorer from './ProfileExplorer';
|
|
15
17
|
import ProfileTypeSelector from './ProfileTypeSelector';
|
|
@@ -19,6 +21,10 @@ import { LabelsQueryProvider, useLabelsQueryProvider, } from './contexts/LabelsQ
|
|
|
19
21
|
import { UnifiedLabelsProvider, useUnifiedLabels } from './contexts/UnifiedLabelsContext';
|
|
20
22
|
import { useLabelNames } from './hooks/useLabels';
|
|
21
23
|
import { useQueryState } from './hooks/useQueryState';
|
|
24
|
+
setCompressionCodec(CompressionType.LZ4_FRAME, {
|
|
25
|
+
encode: (data) => lz4.compress(data),
|
|
26
|
+
decode: (data) => lz4.decompress(data),
|
|
27
|
+
});
|
|
22
28
|
export { useMetricsGraphDimensions } from './MetricsGraph/useMetricsGraphDimensions';
|
|
23
29
|
export * from './ProfileFlameChart';
|
|
24
30
|
export * from './ProfileFlameGraph';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.117",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@floating-ui/react": "^0.27.12",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"framer-motion": "6.5.1",
|
|
41
41
|
"graphviz-wasm": "3.0.2",
|
|
42
42
|
"lodash.throttle": "^4.1.1",
|
|
43
|
+
"lz4js": "^0.2.0",
|
|
43
44
|
"react": "18.3.1",
|
|
44
45
|
"react-beautiful-dnd": "^13.1.1",
|
|
45
46
|
"react-contexify": "^6.0.0",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
},
|
|
63
64
|
"devDependencies": {
|
|
64
65
|
"@types/lodash.throttle": "4.1.9",
|
|
66
|
+
"@types/lz4js": "^0.2.1",
|
|
65
67
|
"@types/react-syntax-highlighter": "15.5.13"
|
|
66
68
|
},
|
|
67
69
|
"main": "dist/index.js",
|
|
@@ -85,5 +87,5 @@
|
|
|
85
87
|
"access": "public",
|
|
86
88
|
"registry": "https://registry.npmjs.org/"
|
|
87
89
|
},
|
|
88
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "532b9bcc1fc7027c349a302c89fe35cdc890f755"
|
|
89
91
|
}
|
package/src/index.tsx
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
13
|
|
|
14
|
+
import {CompressionType, setCompressionCodec} from '@uwdata/flechette';
|
|
15
|
+
import * as lz4 from 'lz4js';
|
|
16
|
+
|
|
14
17
|
import type {ParamPreferences} from '@parca/components';
|
|
15
18
|
|
|
16
19
|
import MetricsGraph, {type ContextMenuItemOrSubmenu, type Series} from './MetricsGraph';
|
|
@@ -27,6 +30,11 @@ import {UnifiedLabelsProvider, useUnifiedLabels} from './contexts/UnifiedLabelsC
|
|
|
27
30
|
import {useLabelNames} from './hooks/useLabels';
|
|
28
31
|
import {useQueryState} from './hooks/useQueryState';
|
|
29
32
|
|
|
33
|
+
setCompressionCodec(CompressionType.LZ4_FRAME, {
|
|
34
|
+
encode: (data: Uint8Array) => lz4.compress(data),
|
|
35
|
+
decode: (data: Uint8Array) => lz4.decompress(data),
|
|
36
|
+
});
|
|
37
|
+
|
|
30
38
|
export {useMetricsGraphDimensions} from './MetricsGraph/useMetricsGraphDimensions';
|
|
31
39
|
|
|
32
40
|
export * from './ProfileFlameChart';
|