@datadog/pprof 6.0.0-pre-feccb73 → 6.0.0-pre-83708df
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/README.md +7 -3
- package/out/src/heap-profiler-bindings.d.ts +2 -2
- package/out/src/heap-profiler-bindings.js +3 -3
- package/out/src/heap-profiler-bindings.js.map +1 -1
- package/out/src/heap-profiler.d.ts +16 -4
- package/out/src/heap-profiler.js +29 -17
- package/out/src/heap-profiler.js.map +1 -1
- package/out/src/index.d.ts +1 -0
- package/out/src/index.js +1 -0
- package/out/src/index.js.map +1 -1
- package/out/src/profile-serializer.d.ts +2 -1
- package/out/src/profile-serializer.js +17 -9
- package/out/src/profile-serializer.js.map +1 -1
- package/out/src/sourcemapper/sourcemapper.d.ts +38 -7
- package/out/src/sourcemapper/sourcemapper.js +275 -78
- package/out/src/sourcemapper/sourcemapper.js.map +1 -1
- package/out/src/time-profiler.d.ts +7 -2
- package/out/src/time-profiler.js +48 -23
- package/out/src/time-profiler.js.map +1 -1
- package/out/src/v8-types.d.ts +3 -0
- package/package.json +14 -19
- package/prebuilds/darwin-arm64/node-108.node +0 -0
- package/prebuilds/darwin-arm64/node-111.node +0 -0
- package/prebuilds/darwin-arm64/node-115.node +0 -0
- package/prebuilds/darwin-arm64/node-120.node +0 -0
- package/prebuilds/darwin-arm64/node-127.node +0 -0
- package/prebuilds/darwin-arm64/node-131.node +0 -0
- package/prebuilds/darwin-arm64/node-137.node +0 -0
- package/prebuilds/darwin-arm64/node-141.node +0 -0
- package/prebuilds/darwin-x64/node-108.node +0 -0
- package/prebuilds/darwin-x64/node-111.node +0 -0
- package/prebuilds/darwin-x64/node-115.node +0 -0
- package/prebuilds/darwin-x64/node-120.node +0 -0
- package/prebuilds/darwin-x64/node-127.node +0 -0
- package/prebuilds/darwin-x64/node-131.node +0 -0
- package/prebuilds/darwin-x64/node-137.node +0 -0
- package/prebuilds/darwin-x64/node-141.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-108.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-111.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-115.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-120.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-127.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-131.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-137.node +0 -0
- package/prebuilds/linuxglibc-arm64/node-141.node +0 -0
- package/prebuilds/linuxglibc-x64/node-108.node +0 -0
- package/prebuilds/linuxglibc-x64/node-111.node +0 -0
- package/prebuilds/linuxglibc-x64/node-115.node +0 -0
- package/prebuilds/linuxglibc-x64/node-120.node +0 -0
- package/prebuilds/linuxglibc-x64/node-127.node +0 -0
- package/prebuilds/linuxglibc-x64/node-131.node +0 -0
- package/prebuilds/linuxglibc-x64/node-137.node +0 -0
- package/prebuilds/linuxglibc-x64/node-141.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-108.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-111.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-115.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-120.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-127.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-131.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-137.node +0 -0
- package/prebuilds/linuxmusl-arm64/node-141.node +0 -0
- package/prebuilds/linuxmusl-x64/node-108.node +0 -0
- package/prebuilds/linuxmusl-x64/node-111.node +0 -0
- package/prebuilds/linuxmusl-x64/node-115.node +0 -0
- package/prebuilds/linuxmusl-x64/node-120.node +0 -0
- package/prebuilds/linuxmusl-x64/node-127.node +0 -0
- package/prebuilds/linuxmusl-x64/node-131.node +0 -0
- package/prebuilds/linuxmusl-x64/node-137.node +0 -0
- package/prebuilds/linuxmusl-x64/node-141.node +0 -0
- package/prebuilds/win32-x64/node-108.node +0 -0
- package/prebuilds/win32-x64/node-111.node +0 -0
- package/prebuilds/win32-x64/node-115.node +0 -0
- package/prebuilds/win32-x64/node-120.node +0 -0
- package/prebuilds/win32-x64/node-127.node +0 -0
- package/prebuilds/win32-x64/node-131.node +0 -0
- package/prebuilds/win32-x64/node-137.node +0 -0
- package/prebuilds/win32-x64/node-141.node +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-profiler.js","sourceRoot":"","sources":["../../ts/src/time-profiler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"time-profiler.js","sourceRoot":"","sources":["../../ts/src/time-profiler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA2GH,0BAKC;AAGD,sBAmBC;AAMD,oBA2BC;AAED,4BAKC;AAED,gCAKC;AAED,wCAWC;AAED,gCAKC;AAED,gCAKC;AAED,8BAEC;AAGD,4EAEC;AAvND,8CAA2C;AAE3C,6DAI8B;AAE9B,qEAIkC;AAkN1B,kGApNN,0CAAiB,OAoNM;AA5MzB,mDAA4C;AAC5C,6CAA8C;AAC9C,MAAM,EAAC,YAAY,EAAC,GAAG,kCAAiB,CAAC;AAEzC,MAAM,uBAAuB,GAAiB,IAAI,CAAC;AACnD,MAAM,uBAAuB,GAAiB,KAAK,CAAC;AAYpD,IAAI,SAAyC,CAAC;AAC9C,IAAI,MAA8C,CAAC;AACnD,IAAI,aAAuC,CAAC;AAC5C,IAAI,eAA6B,CAAC;AAClC,IAAI,iCAAiC,GAAG,CAAC,CAAC;AAE1C,SAAS,iBAAiB;IACxB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO;IACT,CAAC;IACD,iCAAiC;QAC/B,SAAS,CAAC,gCAAgC,EAAE,CAAC;IAC/C,2EAA2E;IAC3E,qDAAqD;IACrD,6EAA6E;IAC7E,IAAI,iCAAiC,GAAG,CAAC,EAAE,CAAC;QAC1C,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,SAAS,C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puTime?: boolean;
|
|
23
23
|
/** CPU time of non-JS threads, only reported for the main worker thread */
|
|
24
24
|
nonJSThreadsCpuTime?: number;
|
|
25
|
+
/** Computed in C++ to avoid a full JS tree traversal. */
|
|
26
|
+
totalHitCount?: number;
|
|
25
27
|
}
|
|
26
28
|
export interface ProfileNode {
|
|
27
29
|
name?: string;
|
|
@@ -43,6 +45,7 @@ export interface TimeProfileNode extends ProfileNode {
|
|
|
43
45
|
}
|
|
44
46
|
export interface AllocationProfileNode extends ProfileNode {
|
|
45
47
|
allocations: Allocation[];
|
|
48
|
+
children: AllocationProfileNode[];
|
|
46
49
|
}
|
|
47
50
|
export interface Allocation {
|
|
48
51
|
sizeBytes: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/pprof",
|
|
3
|
-
"version": "6.0.0-pre-
|
|
3
|
+
"version": "6.0.0-pre-83708df",
|
|
4
4
|
"description": "pprof support for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,35 +36,30 @@
|
|
|
36
36
|
},
|
|
37
37
|
"license": "Apache-2.0",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"delay": "^5.0.0",
|
|
40
39
|
"node-gyp-build": "<4.0",
|
|
41
|
-
"p-limit": "^3.1.0",
|
|
42
40
|
"pprof-format": "^2.2.1",
|
|
43
41
|
"source-map": "^0.7.4"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
46
44
|
"@types/mocha": "^10.0.1",
|
|
47
|
-
"@types/node": "
|
|
48
|
-
"@types/
|
|
45
|
+
"@types/node": "25.5.0",
|
|
46
|
+
"@types/semver": "^7.5.8",
|
|
47
|
+
"@types/sinon": "^21.0.0",
|
|
49
48
|
"@types/tmp": "^0.2.3",
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
51
49
|
"clang-format": "^1.8.0",
|
|
52
|
-
"codecov": "^3.8.
|
|
50
|
+
"codecov": "^3.8.3",
|
|
53
51
|
"deep-copy": "^1.4.2",
|
|
54
|
-
"eslint-
|
|
55
|
-
"
|
|
56
|
-
"eslint-plugin-n": "^16.0.1",
|
|
57
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
58
|
-
"gts": "^4.0.1",
|
|
52
|
+
"eslint-plugin-n": "^17.24.0",
|
|
53
|
+
"gts": "^7.0.0",
|
|
59
54
|
"js-green-licenses": "^4.0.0",
|
|
60
|
-
"mocha": "^
|
|
61
|
-
"nan": "^2.
|
|
62
|
-
"nyc": "^
|
|
63
|
-
"semver": "^7.7.
|
|
64
|
-
"sinon": "^
|
|
55
|
+
"mocha": "^11.7.5",
|
|
56
|
+
"nan": "^2.26.2",
|
|
57
|
+
"nyc": "^18.0.0",
|
|
58
|
+
"semver": "^7.7.4",
|
|
59
|
+
"sinon": "^21.0.3",
|
|
65
60
|
"source-map-support": "^0.5.21",
|
|
66
|
-
"tmp": "0.2.
|
|
67
|
-
"typescript": "^5.9.
|
|
61
|
+
"tmp": "0.2.5",
|
|
62
|
+
"typescript": "^5.9.3"
|
|
68
63
|
},
|
|
69
64
|
"files": [
|
|
70
65
|
"out/src",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|