@datadog/pprof 5.14.0 → 5.14.3
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 +2 -6
- package/out/src/heap-profiler-bindings.d.ts +1 -0
- package/out/src/heap-profiler-bindings.js +4 -0
- package/out/src/heap-profiler-bindings.js.map +1 -1
- package/out/src/heap-profiler.d.ts +11 -2
- package/out/src/heap-profiler.js +28 -4
- 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/time-profiler.d.ts +3 -2
- package/out/src/time-profiler.js.map +1 -1
- package/package.json +9 -9
- package/prebuilds/darwin-arm64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/darwin-arm64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/darwin-x64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi108.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi111.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi115.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi120.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi127.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi131.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi137.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi141.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.musl.node.abi147.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/linux-arm64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi108.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi111.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi115.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi120.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi127.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi131.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi137.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi141.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.musl.node.abi147.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi141.node +0 -0
- package/prebuilds/linux-x64/dd_pprof.node.abi147.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi108.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi111.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi115.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi120.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi127.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi131.node +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi137.node +0 -0
- package/prebuilds/win32-x64/{node-141.node → dd_pprof.node.abi141.node} +0 -0
- package/prebuilds/win32-x64/dd_pprof.node.abi147.node +0 -0
- 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/README.md
CHANGED
|
@@ -97,14 +97,10 @@ Install [`pprof`][npm-url] with `npm` or add to your `package.json`.
|
|
|
97
97
|
pprof -http=: heap.pb.gz
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
-
* Collecting a heap profile with
|
|
100
|
+
* Collecting a heap profile with V8 allocation profile format:
|
|
101
101
|
```javascript
|
|
102
|
-
const profile = pprof.heap.v8Profile(
|
|
102
|
+
const profile = await pprof.heap.v8Profile();
|
|
103
103
|
```
|
|
104
|
-
`v8Profile` accepts a callback and returns its result. Allocation nodes
|
|
105
|
-
are only valid during the callback, so copy/transform what you need
|
|
106
|
-
before returning. `heap.convertProfile` performs that conversion during
|
|
107
|
-
the callback, and `heap.profile()` uses it under the hood.
|
|
108
104
|
|
|
109
105
|
[build-image]: https://github.com/Datadog/pprof-nodejs/actions/workflows/build.yml/badge.svg?branch=main
|
|
110
106
|
[build-url]: https://github.com/Datadog/pprof-nodejs/actions/workflows/build.yml
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import { AllocationProfileNode } from './v8-types';
|
|
17
17
|
export declare function startSamplingHeapProfiler(heapIntervalBytes: number, heapStackDepth: number): void;
|
|
18
18
|
export declare function stopSamplingHeapProfiler(): void;
|
|
19
|
+
export declare function getAllocationProfile(): AllocationProfileNode;
|
|
19
20
|
export declare function mapAllocationProfile<T>(callback: (root: AllocationProfileNode) => T): T;
|
|
20
21
|
export type NearHeapLimitCallback = (profile: AllocationProfileNode) => void;
|
|
21
22
|
export declare function monitorOutOfMemory(heapLimitExtensionSize: number, maxHeapLimitExtensionCount: number, dumpHeapProfileOnSdterr: boolean, exportCommand: Array<string> | undefined, callback: NearHeapLimitCallback | undefined, callbackMode: number, isMainThread: boolean): void;
|
|
@@ -50,6 +50,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
50
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
51
|
exports.startSamplingHeapProfiler = startSamplingHeapProfiler;
|
|
52
52
|
exports.stopSamplingHeapProfiler = stopSamplingHeapProfiler;
|
|
53
|
+
exports.getAllocationProfile = getAllocationProfile;
|
|
53
54
|
exports.mapAllocationProfile = mapAllocationProfile;
|
|
54
55
|
exports.monitorOutOfMemory = monitorOutOfMemory;
|
|
55
56
|
const path = __importStar(require("path"));
|
|
@@ -62,6 +63,9 @@ function startSamplingHeapProfiler(heapIntervalBytes, heapStackDepth) {
|
|
|
62
63
|
function stopSamplingHeapProfiler() {
|
|
63
64
|
profiler.heapProfiler.stopSamplingHeapProfiler();
|
|
64
65
|
}
|
|
66
|
+
function getAllocationProfile() {
|
|
67
|
+
return profiler.heapProfiler.getAllocationProfile();
|
|
68
|
+
}
|
|
65
69
|
function mapAllocationProfile(callback) {
|
|
66
70
|
return profiler.heapProfiler.mapAllocationProfile(callback);
|
|
67
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heap-profiler-bindings.js","sourceRoot":"","sources":["../../ts/src/heap-profiler-bindings.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWH,8DAQC;AAED,4DAEC;AAED,oDAIC;AAID,gDAkBC;
|
|
1
|
+
{"version":3,"file":"heap-profiler-bindings.js","sourceRoot":"","sources":["../../ts/src/heap-profiler-bindings.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWH,8DAQC;AAED,4DAEC;AAED,oDAEC;AAED,oDAIC;AAID,gDAkBC;AArDD,2CAA6B;AAI7B,MAAM,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;AAE/D,kDAAkD;AAElD,SAAgB,yBAAyB,CACvC,iBAAyB,EACzB,cAAsB;IAEtB,QAAQ,CAAC,YAAY,CAAC,yBAAyB,CAC7C,iBAAiB,EACjB,cAAc,CACf,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB;IACtC,QAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,CAAC;AACnD,CAAC;AAED,SAAgB,oBAAoB;IAClC,OAAO,QAAQ,CAAC,YAAY,CAAC,oBAAoB,EAAE,CAAC;AACtD,CAAC;AAED,SAAgB,oBAAoB,CAClC,QAA4C;IAE5C,OAAO,QAAQ,CAAC,YAAY,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAC9D,CAAC;AAID,SAAgB,kBAAkB,CAChC,sBAA8B,EAC9B,0BAAkC,EAClC,uBAAgC,EAChC,aAAwC,EACxC,QAA2C,EAC3C,YAAoB,EACpB,YAAqB;IAErB,QAAQ,CAAC,YAAY,CAAC,kBAAkB,CACtC,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,YAAY,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import { Profile } from 'pprof-format';
|
|
17
17
|
import { SourceMapper } from './sourcemapper/sourcemapper';
|
|
18
18
|
import { AllocationProfileNode, GenerateAllocationLabelsFunction } from './v8-types';
|
|
19
|
+
export declare function v8Profile(): AllocationProfileNode;
|
|
19
20
|
/**
|
|
20
21
|
* Collects a heap profile when heapProfiler is enabled. Otherwise throws
|
|
21
22
|
* an error.
|
|
@@ -27,7 +28,15 @@ import { AllocationProfileNode, GenerateAllocationLabelsFunction } from './v8-ty
|
|
|
27
28
|
* @param callback - function to convert the heap profiler to a converted profile
|
|
28
29
|
* @returns <T> converted profile
|
|
29
30
|
*/
|
|
30
|
-
export declare function
|
|
31
|
+
export declare function v8ProfileV2<T>(callback: (root: AllocationProfileNode) => T): T;
|
|
32
|
+
/**
|
|
33
|
+
* Collects a profile and returns it serialized in pprof format.
|
|
34
|
+
* Throws if heap profiler is not enabled.
|
|
35
|
+
*
|
|
36
|
+
* @param ignoreSamplePath
|
|
37
|
+
* @param sourceMapper
|
|
38
|
+
*/
|
|
39
|
+
export declare function profile(ignoreSamplePath?: string, sourceMapper?: SourceMapper, generateLabels?: GenerateAllocationLabelsFunction): Profile;
|
|
31
40
|
export declare function convertProfile(rootNode: AllocationProfileNode, ignoreSamplePath?: string, sourceMapper?: SourceMapper, generateLabels?: GenerateAllocationLabelsFunction): Profile;
|
|
32
41
|
/**
|
|
33
42
|
* Collects a profile and returns it serialized in pprof format using lazy V2 API.
|
|
@@ -37,7 +46,7 @@ export declare function convertProfile(rootNode: AllocationProfileNode, ignoreSa
|
|
|
37
46
|
* @param sourceMapper
|
|
38
47
|
* @param generateLabels
|
|
39
48
|
*/
|
|
40
|
-
export declare function
|
|
49
|
+
export declare function profileV2(ignoreSamplePath?: string, sourceMapper?: SourceMapper, generateLabels?: GenerateAllocationLabelsFunction): Profile;
|
|
41
50
|
/**
|
|
42
51
|
* Starts heap profiling. If heap profiling has already been started with
|
|
43
52
|
* the same parameters, this is a noop. If heap profiler has already been
|
package/out/src/heap-profiler.js
CHANGED
|
@@ -17,8 +17,10 @@
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.CallbackMode = void 0;
|
|
19
19
|
exports.v8Profile = v8Profile;
|
|
20
|
-
exports.
|
|
20
|
+
exports.v8ProfileV2 = v8ProfileV2;
|
|
21
21
|
exports.profile = profile;
|
|
22
|
+
exports.convertProfile = convertProfile;
|
|
23
|
+
exports.profileV2 = profileV2;
|
|
22
24
|
exports.start = start;
|
|
23
25
|
exports.stop = stop;
|
|
24
26
|
exports.monitorOutOfMemory = monitorOutOfMemory;
|
|
@@ -28,6 +30,18 @@ const worker_threads_1 = require("worker_threads");
|
|
|
28
30
|
let enabled = false;
|
|
29
31
|
let heapIntervalBytes = 0;
|
|
30
32
|
let heapStackDepth = 0;
|
|
33
|
+
/*
|
|
34
|
+
* Collects a heap profile when heapProfiler is enabled. Otherwise throws
|
|
35
|
+
* an error.
|
|
36
|
+
*
|
|
37
|
+
* Data is returned in V8 allocation profile format.
|
|
38
|
+
*/
|
|
39
|
+
function v8Profile() {
|
|
40
|
+
if (!enabled) {
|
|
41
|
+
throw new Error('Heap profiler is not enabled.');
|
|
42
|
+
}
|
|
43
|
+
return (0, heap_profiler_bindings_1.getAllocationProfile)();
|
|
44
|
+
}
|
|
31
45
|
/**
|
|
32
46
|
* Collects a heap profile when heapProfiler is enabled. Otherwise throws
|
|
33
47
|
* an error.
|
|
@@ -39,12 +53,22 @@ let heapStackDepth = 0;
|
|
|
39
53
|
* @param callback - function to convert the heap profiler to a converted profile
|
|
40
54
|
* @returns <T> converted profile
|
|
41
55
|
*/
|
|
42
|
-
function
|
|
56
|
+
function v8ProfileV2(callback) {
|
|
43
57
|
if (!enabled) {
|
|
44
58
|
throw new Error('Heap profiler is not enabled.');
|
|
45
59
|
}
|
|
46
60
|
return (0, heap_profiler_bindings_1.mapAllocationProfile)(callback);
|
|
47
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Collects a profile and returns it serialized in pprof format.
|
|
64
|
+
* Throws if heap profiler is not enabled.
|
|
65
|
+
*
|
|
66
|
+
* @param ignoreSamplePath
|
|
67
|
+
* @param sourceMapper
|
|
68
|
+
*/
|
|
69
|
+
function profile(ignoreSamplePath, sourceMapper, generateLabels) {
|
|
70
|
+
return convertProfile(v8Profile(), ignoreSamplePath, sourceMapper, generateLabels);
|
|
71
|
+
}
|
|
48
72
|
function convertProfile(rootNode, ignoreSamplePath, sourceMapper, generateLabels) {
|
|
49
73
|
const startTimeNanos = Date.now() * 1000 * 1000;
|
|
50
74
|
// Add node for external memory usage.
|
|
@@ -75,8 +99,8 @@ function convertProfile(rootNode, ignoreSamplePath, sourceMapper, generateLabels
|
|
|
75
99
|
* @param sourceMapper
|
|
76
100
|
* @param generateLabels
|
|
77
101
|
*/
|
|
78
|
-
function
|
|
79
|
-
return
|
|
102
|
+
function profileV2(ignoreSamplePath, sourceMapper, generateLabels) {
|
|
103
|
+
return v8ProfileV2(root => {
|
|
80
104
|
return convertProfile(root, ignoreSamplePath, sourceMapper, generateLabels);
|
|
81
105
|
});
|
|
82
106
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heap-profiler.js","sourceRoot":"","sources":["../../ts/src/heap-profiler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"heap-profiler.js","sourceRoot":"","sources":["../../ts/src/heap-profiler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA6BH,8BAKC;AAaD,kCAOC;AASD,0BAWC;AAED,wCAgCC;AAUD,8BAQC;AAUD,sBAUC;AAGD,oBAKC;AAqCD,gDA4BC;AAvND,qEAMkC;AAClC,6DAA0D;AAM1D,mDAA4C;AAE5C,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,IAAI,iBAAiB,GAAG,CAAC,CAAC;AAC1B,IAAI,cAAc,GAAG,CAAC,CAAC;AAEvB;;;;;GAKG;AACH,SAAgB,SAAS;IACvB,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,IAAA,6CAAoB,GAAE,CAAC;AAChC,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,WAAW,CACzB,QAA4C;IAE5C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,IAAA,6CAAo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ACX,OAAO,YAAY,KAAK,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,oBAAY,CAAC,KAAK,EACvE,6BAAY,CACb,CAAC;AACJ,CAAC"}
|
package/out/src/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare const heap: {
|
|
|
27
27
|
start: typeof heapProfiler.start;
|
|
28
28
|
stop: typeof heapProfiler.stop;
|
|
29
29
|
profile: typeof heapProfiler.profile;
|
|
30
|
+
profileV2: typeof heapProfiler.profileV2;
|
|
30
31
|
convertProfile: typeof heapProfiler.convertProfile;
|
|
31
32
|
v8Profile: typeof heapProfiler.v8Profile;
|
|
32
33
|
monitorOutOfMemory: typeof heapProfiler.monitorOutOfMemory;
|
package/out/src/index.js
CHANGED
|
@@ -80,6 +80,7 @@ exports.heap = {
|
|
|
80
80
|
start: heapProfiler.start,
|
|
81
81
|
stop: heapProfiler.stop,
|
|
82
82
|
profile: heapProfiler.profile,
|
|
83
|
+
profileV2: heapProfiler.profileV2,
|
|
83
84
|
convertProfile: heapProfiler.convertProfile,
|
|
84
85
|
v8Profile: heapProfiler.v8Profile,
|
|
85
86
|
monitorOutOfMemory: heapProfiler.monitorOutOfMemory,
|
package/out/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ts/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,2BAAiC;AAEjC,8DAAgD;AAChD,uDAA6C;AAC7C,8DAAgD;AAQhD,qDAAqD;AAA7C,yGAAA,MAAM,OAAA;AAAE,6GAAA,UAAU,OAAA;AAC1B,4DAAyD;AAAjD,4GAAA,YAAY,OAAA;AACpB,mCAAmC;AAA3B,mGAAA,SAAS,OAAA;AACjB,iDAAkD;AAA1C,kHAAA,iBAAiB,OAAA;AAEZ,QAAA,IAAI,GAAG;IAClB,OAAO,EAAE,YAAY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M,IAAI,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,kBAAkB,EAAE,CAAC;IAC7D,YAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACf,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE;QACtB,uEAAuE;QACvE,kBAAkB;QAClB,MAAM,OAAO,GAAG,YAAI,CAAC,IAAI,EAAE,CAAC;QAC5B,MAAM,MAAM,GAAG,IAAA,4BAAU,EAAC,OAAO,CAAC,CAAC;QACnC,IAAA,kBAAa,EAAC,iBAAiB,OAAO,CAAC,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { Profile } from 'pprof-format';
|
|
16
17
|
import { SourceMapper } from './sourcemapper/sourcemapper';
|
|
17
18
|
import { getNativeThreadId } from './time-profiler-bindings';
|
|
18
19
|
import { GenerateTimeLabelsFunction, TimeProfilerMetrics } from './v8-types';
|
|
@@ -37,10 +38,10 @@ export interface TimeProfilerOptions {
|
|
|
37
38
|
collectAsyncId?: boolean;
|
|
38
39
|
useCPED?: boolean;
|
|
39
40
|
}
|
|
40
|
-
export declare function profile(options?: TimeProfilerOptions): Promise<
|
|
41
|
+
export declare function profile(options?: TimeProfilerOptions): Promise<Profile>;
|
|
41
42
|
export declare function profileV2(options?: TimeProfilerOptions): Promise<any>;
|
|
42
43
|
export declare function start(options?: TimeProfilerOptions): void;
|
|
43
|
-
export declare function stop(restart?: boolean, generateLabels?: GenerateTimeLabelsFunction, lowCardinalityLabels?: string[]):
|
|
44
|
+
export declare function stop(restart?: boolean, generateLabels?: GenerateTimeLabelsFunction, lowCardinalityLabels?: string[]): Profile;
|
|
44
45
|
/**
|
|
45
46
|
* Same as stop() but uses the lazy callback path: serialization happens inside
|
|
46
47
|
* a native callback while the V8 profile is still alive.
|
|
@@ -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;;;AA4GH,0BAOC;AAED,8BAKC;AAGD,sBAmBC;AAED,oBAyBC;AAOD,wBA2BC;AAED,4BAKC;AAED,gCAKC;AAED,wCAWC;AAED,gCAKC;AAED,gCAKC;AAED,8BAEC;AAGD,4EAEC;AA7PD,8CAA2C;AAG3C,6DAI8B;AAE9B,qEAIkC;AAuP1B,kGAzPN,0CAAiB,OAyPM;AAjPzB,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,IAAI,CAAC,KAAK,CAAC,CAAC;QACtB,SAAS,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,iCAAiC,GAAG,CAAC,CAAC;IACtC,SAAS,EAAE,OAAO,EAAE,CAAC;IACr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MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAClD,CAAC;IACD,OAAO,SAAS,CAAC,OAAO,CAAC;AAC3B,CAAC;AAED,SAAgB,UAAU;IACxB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAClD,CAAC;IACD,OAAO,SAAS,CAAC,OAA8B,CAAC;AAClD,CAAC;AAED,SAAgB,SAAS;IACvB,OAAO,CAAC,CAAC,SAAS,CAAC;AACrB,CAAC;AAED,sFAAsF;AACtF,SAAgB,gCAAgC;IAC9C,OAAO,iCAAiC,CAAC;AAC3C,CAAC;AAEY,QAAA,SAAS,GAAG;IACvB,YAAY;IACZ,gCAAgC,EAAhC,qDAAgC;IAChC,4BAA4B,EAA5B,iDAA4B;CAC7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/pprof",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.3",
|
|
4
4
|
"description": "pprof support for Node.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,30 +36,30 @@
|
|
|
36
36
|
},
|
|
37
37
|
"license": "Apache-2.0",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"node-gyp-build": "<
|
|
39
|
+
"node-gyp-build": "<5.0",
|
|
40
40
|
"pprof-format": "^2.2.1",
|
|
41
41
|
"source-map": "^0.7.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/mocha": "^10.0.1",
|
|
45
|
-
"@types/node": "25.
|
|
45
|
+
"@types/node": "25.7.0",
|
|
46
46
|
"@types/semver": "^7.5.8",
|
|
47
|
-
"@types/sinon": "^21.0.
|
|
47
|
+
"@types/sinon": "^21.0.1",
|
|
48
48
|
"@types/tmp": "^0.2.3",
|
|
49
49
|
"clang-format": "^1.8.0",
|
|
50
50
|
"codecov": "^3.8.3",
|
|
51
51
|
"deep-copy": "^1.4.2",
|
|
52
|
-
"eslint-plugin-n": "^
|
|
52
|
+
"eslint-plugin-n": "^18.0.1",
|
|
53
53
|
"gts": "^7.0.0",
|
|
54
54
|
"js-green-licenses": "^4.0.0",
|
|
55
55
|
"mocha": "^11.7.5",
|
|
56
|
-
"nan": "^2.
|
|
56
|
+
"nan": "^2.27.0",
|
|
57
57
|
"nyc": "^18.0.0",
|
|
58
|
-
"semver": "^7.
|
|
59
|
-
"sinon": "^
|
|
58
|
+
"semver": "^7.8.0",
|
|
59
|
+
"sinon": "^22.0.0",
|
|
60
60
|
"source-map-support": "^0.5.21",
|
|
61
61
|
"tmp": "0.2.5",
|
|
62
|
-
"typescript": "^
|
|
62
|
+
"typescript": "^6.0.3"
|
|
63
63
|
},
|
|
64
64
|
"files": [
|
|
65
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
index 2e12d5e..b8feec0 100644
|
|
|
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
|
|
Binary file
|