@datadog/pprof 3.0.0-pre-10eb724 → 3.0.0-pre-19d5e87

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 (43) hide show
  1. package/out/src/index.d.ts +1 -0
  2. package/out/src/index.js +3 -1
  3. package/out/src/index.js.map +1 -1
  4. package/out/src/logger.d.ts +18 -0
  5. package/out/src/logger.js +36 -0
  6. package/out/src/logger.js.map +1 -0
  7. package/out/src/sourcemapper/sourcemapper.d.ts +3 -2
  8. package/out/src/sourcemapper/sourcemapper.js +82 -32
  9. package/out/src/sourcemapper/sourcemapper.js.map +1 -1
  10. package/package.json +2 -2
  11. package/prebuilds/darwin-arm64/node-102.node +0 -0
  12. package/prebuilds/darwin-arm64/node-108.node +0 -0
  13. package/prebuilds/darwin-arm64/node-111.node +0 -0
  14. package/prebuilds/darwin-arm64/node-115.node +0 -0
  15. package/prebuilds/darwin-arm64/node-72.node +0 -0
  16. package/prebuilds/darwin-arm64/node-79.node +0 -0
  17. package/prebuilds/darwin-arm64/node-83.node +0 -0
  18. package/prebuilds/darwin-arm64/node-88.node +0 -0
  19. package/prebuilds/darwin-arm64/node-93.node +0 -0
  20. package/prebuilds/darwin-x64/node-102.node +0 -0
  21. package/prebuilds/darwin-x64/node-108.node +0 -0
  22. package/prebuilds/darwin-x64/node-111.node +0 -0
  23. package/prebuilds/darwin-x64/node-115.node +0 -0
  24. package/prebuilds/darwin-x64/node-72.node +0 -0
  25. package/prebuilds/darwin-x64/node-79.node +0 -0
  26. package/prebuilds/darwin-x64/node-83.node +0 -0
  27. package/prebuilds/darwin-x64/node-88.node +0 -0
  28. package/prebuilds/darwin-x64/node-93.node +0 -0
  29. package/prebuilds/win32-ia32/node-102.node +0 -0
  30. package/prebuilds/win32-ia32/node-72.node +0 -0
  31. package/prebuilds/win32-ia32/node-79.node +0 -0
  32. package/prebuilds/win32-ia32/node-83.node +0 -0
  33. package/prebuilds/win32-ia32/node-88.node +0 -0
  34. package/prebuilds/win32-ia32/node-93.node +0 -0
  35. package/prebuilds/win32-x64/node-102.node +0 -0
  36. package/prebuilds/win32-x64/node-108.node +0 -0
  37. package/prebuilds/win32-x64/node-111.node +0 -0
  38. package/prebuilds/win32-x64/node-115.node +0 -0
  39. package/prebuilds/win32-x64/node-72.node +0 -0
  40. package/prebuilds/win32-x64/node-79.node +0 -0
  41. package/prebuilds/win32-x64/node-83.node +0 -0
  42. package/prebuilds/win32-x64/node-88.node +0 -0
  43. package/prebuilds/win32-x64/node-93.node +0 -0
@@ -4,6 +4,7 @@ import * as timeProfiler from './time-profiler';
4
4
  export { AllocationProfileNode, TimeProfileNode, ProfileNode } from './v8-types';
5
5
  export { encode, encodeSync } from './profile-encoder';
6
6
  export { SourceMapper } from './sourcemapper/sourcemapper';
7
+ export { setLogger } from './logger';
7
8
  export declare const CpuProfiler: typeof cpuProfiler;
8
9
  export declare const time: {
9
10
  profile: typeof timeProfiler.profile;
package/out/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.heap = exports.time = exports.CpuProfiler = exports.SourceMapper = exports.encodeSync = exports.encode = void 0;
3
+ exports.heap = exports.time = exports.CpuProfiler = exports.setLogger = exports.SourceMapper = exports.encodeSync = exports.encode = void 0;
4
4
  /**
5
5
  * Copyright 2019 Google Inc. All Rights Reserved.
6
6
  *
@@ -26,6 +26,8 @@ Object.defineProperty(exports, "encode", { enumerable: true, get: function () {
26
26
  Object.defineProperty(exports, "encodeSync", { enumerable: true, get: function () { return profile_encoder_2.encodeSync; } });
27
27
  var sourcemapper_1 = require("./sourcemapper/sourcemapper");
28
28
  Object.defineProperty(exports, "SourceMapper", { enumerable: true, get: function () { return sourcemapper_1.SourceMapper; } });
29
+ var logger_1 = require("./logger");
30
+ Object.defineProperty(exports, "setLogger", { enumerable: true, get: function () { return logger_1.setLogger; } });
29
31
  exports.CpuProfiler = cpu_profiler_1.default;
30
32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 -0,0 +1,18 @@
1
+ export interface Logger {
2
+ error(...args: Array<{}>): void;
3
+ trace(...args: Array<{}>): void;
4
+ debug(...args: Array<{}>): void;
5
+ info(...args: Array<{}>): void;
6
+ warn(...args: Array<{}>): void;
7
+ fatal(...args: Array<{}>): void;
8
+ }
9
+ export declare class NullLogger implements Logger {
10
+ info(...args: Array<{}>): void;
11
+ error(...args: Array<{}>): void;
12
+ trace(...args: Array<{}>): void;
13
+ warn(...args: Array<{}>): void;
14
+ fatal(...args: Array<{}>): void;
15
+ debug(...args: Array<{}>): void;
16
+ }
17
+ export declare let logger: NullLogger;
18
+ export declare function setLogger(newLogger: Logger): void;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setLogger = exports.logger = exports.NullLogger = void 0;
4
+ class NullLogger {
5
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
6
+ info(...args) {
7
+ return;
8
+ }
9
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
+ error(...args) {
11
+ return;
12
+ }
13
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
14
+ trace(...args) {
15
+ return;
16
+ }
17
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
18
+ warn(...args) {
19
+ return;
20
+ }
21
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
+ fatal(...args) {
23
+ return;
24
+ }
25
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
26
+ debug(...args) {
27
+ return;
28
+ }
29
+ }
30
+ exports.NullLogger = NullLogger;
31
+ exports.logger = new NullLogger();
32
+ function setLogger(newLogger) {
33
+ exports.logger = newLogger;
34
+ }
35
+ exports.setLogger = setLogger;
36
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.js","sourceRoot":"","sources":["../../ts/src/logger.ts"],"names":[],"mappings":";;;AASA,MAAa,UAAU;IACrB,6DAA6D;IAC7D,IAAI,CAAC,GAAG,IAAe;QACrB,OAAO;IACT,CAAC;IACD,6DAA6D;IAC7D,KAAK,CAAC,GAAG,IAAe;QACtB,OAAO;IACT,CAAC;IACD,6DAA6D;IAC7D,KAAK,CAAC,GAAG,IAAe;QACtB,OAAO;IACT,CAAC;IACD,6DAA6D;IAC7D,IAAI,CAAC,GAAG,IAAe;QACrB,OAAO;IACT,CAAC;IACD,6DAA6D;IAC7D,KAAK,CAAC,GAAG,IAAe;QACtB,OAAO;IACT,CAAC;IACD,6DAA6D;IAC7D,KAAK,CAAC,GAAG,IAAe;QACtB,OAAO;IACT,CAAC;CACF;AAzBD,gCAyBC;AAEU,QAAA,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;AAErC,SAAgB,SAAS,CAAC,SAAiB;IACzC,cAAM,GAAG,SAAS,CAAC;AACrB,CAAC;AAFD,8BAEC"}
@@ -32,7 +32,8 @@ export interface SourceLocation {
32
32
  }
33
33
  export declare class SourceMapper {
34
34
  infoMap: Map<string, MapInfoCompiled>;
35
- static create(searchDirs: string[]): Promise<SourceMapper>;
35
+ debug: boolean;
36
+ static create(searchDirs: string[], debug?: boolean): Promise<SourceMapper>;
36
37
  /**
37
38
  * @param {Array.<string>} sourceMapPaths An array of paths to .map source map
38
39
  * files that should be processed. The paths should be relative to the
@@ -41,7 +42,7 @@ export declare class SourceMapper {
41
42
  * processing the given source map files
42
43
  * @constructor
43
44
  */
44
- constructor();
45
+ constructor(debug?: boolean);
45
46
  /**
46
47
  * Used to get the information about the transpiled file from a given input
47
48
  * source file provided there isn't any ambiguity with associating the input
@@ -22,22 +22,17 @@ exports.SourceMapper = void 0;
22
22
  // code to generated code.
23
23
  const fs = require("fs");
24
24
  const path = require("path");
25
- // Apparently the source-map module feature-detects the browser by checking
26
- // if the fetch function exists. Because it now exists in Node.js v18, the
27
- // source-map module thinks it's running in a browser and doesn't work.
28
- const desc = Object.getOwnPropertyDescriptor(globalThis, 'fetch');
29
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
30
- // @ts-ignore
31
- delete globalThis.fetch;
32
25
  const sourceMap = require("source-map");
33
- if (desc) {
34
- Object.defineProperty(globalThis, 'fetch', desc);
35
- }
26
+ const logger_1 = require("../logger");
36
27
  const pify = require('pify');
37
28
  const pLimit = require('p-limit');
38
29
  const readFile = pify(fs.readFile);
39
30
  const CONCURRENCY = 10;
40
31
  const MAP_EXT = '.map';
32
+ function error(msg) {
33
+ logger_1.logger.debug(`Error: ${msg}`);
34
+ return new Error(msg);
35
+ }
41
36
  /**
42
37
  * @param {!Map} infoMap The map that maps input source files to
43
38
  * SourceMapConsumer objects that are used to calculate mapping information
@@ -45,11 +40,11 @@ const MAP_EXT = '.map';
45
40
  * path should be relative to the process's current working directory
46
41
  * @private
47
42
  */
48
- async function processSourceMap(infoMap, mapPath) {
43
+ async function processSourceMap(infoMap, mapPath, debug) {
49
44
  // this handles the case when the path is undefined, null, or
50
45
  // the empty string
51
46
  if (!mapPath || !mapPath.endsWith(MAP_EXT)) {
52
- throw new Error(`The path "${mapPath}" does not specify a source map file`);
47
+ throw error(`The path "${mapPath}" does not specify a source map file`);
53
48
  }
54
49
  mapPath = path.normalize(mapPath);
55
50
  let contents;
@@ -57,7 +52,7 @@ async function processSourceMap(infoMap, mapPath) {
57
52
  contents = await readFile(mapPath, 'utf8');
58
53
  }
59
54
  catch (e) {
60
- throw new Error('Could not read source map file ' + mapPath + ': ' + e);
55
+ throw error('Could not read source map file ' + mapPath + ': ' + e);
61
56
  }
62
57
  let consumer;
63
58
  try {
@@ -70,27 +65,62 @@ async function processSourceMap(infoMap, mapPath) {
70
65
  consumer = (await new sourceMap.SourceMapConsumer(contents));
71
66
  }
72
67
  catch (e) {
73
- throw new Error('An error occurred while reading the ' +
68
+ throw error('An error occurred while reading the ' +
74
69
  'sourceMap file ' +
75
70
  mapPath +
76
71
  ': ' +
77
72
  e);
78
73
  }
79
- /*
80
- * If the source map file defines a "file" attribute, use it as
74
+ /* If the source map file defines a "file" attribute, use it as
81
75
  * the output file where the path is relative to the directory
82
76
  * containing the map file. Otherwise, use the name of the output
83
77
  * file (with the .map extension removed) as the output file.
78
+
79
+ * With nextjs/webpack, when there are subdirectories in `pages` directory,
80
+ * the generated source maps do not reference correctly the generated files
81
+ * in their `file` property.
82
+ * For example if the generated file / source maps have paths:
83
+ * <root>/pages/sub/foo.js(.map)
84
+ * foo.js.map will have ../pages/sub/foo.js as `file` property instead of
85
+ * ../../pages/sub/foo.js
86
+ * To workaround this, check first if file referenced in `file` property
87
+ * exists and if it does not, check if generated file exists alongside the
88
+ * source map file.
84
89
  */
85
90
  const dir = path.dirname(mapPath);
86
- const generatedBase = consumer.file
87
- ? consumer.file
88
- : path.basename(mapPath, MAP_EXT);
89
- const generatedPath = path.resolve(dir, generatedBase);
90
- infoMap.set(generatedPath, { mapFileDir: dir, mapConsumer: consumer });
91
+ const generatedPathCandidates = [];
92
+ if (consumer.file) {
93
+ generatedPathCandidates.push(path.resolve(dir, consumer.file));
94
+ }
95
+ const samePath = path.resolve(dir, path.basename(mapPath, MAP_EXT));
96
+ if (generatedPathCandidates.length === 0 ||
97
+ generatedPathCandidates[0] !== samePath) {
98
+ generatedPathCandidates.push(samePath);
99
+ }
100
+ for (const generatedPath of generatedPathCandidates) {
101
+ try {
102
+ await fs.promises.access(generatedPath, fs.constants.F_OK);
103
+ infoMap.set(generatedPath, { mapFileDir: dir, mapConsumer: consumer });
104
+ if (debug) {
105
+ logger_1.logger.debug(`Loaded source map for ${generatedPath} => ${mapPath}`);
106
+ }
107
+ return;
108
+ }
109
+ catch (err) {
110
+ if (debug) {
111
+ logger_1.logger.debug(`Generated path ${generatedPath} does not exist`);
112
+ }
113
+ }
114
+ }
115
+ if (debug) {
116
+ logger_1.logger.debug(`Unable to find generated file for ${mapPath}`);
117
+ }
91
118
  }
92
119
  class SourceMapper {
93
- static async create(searchDirs) {
120
+ static async create(searchDirs, debug = false) {
121
+ if (debug) {
122
+ logger_1.logger.debug(`Looking for source map files in dirs: [${searchDirs.join(', ')}]`);
123
+ }
94
124
  const mapFiles = [];
95
125
  for (const dir of searchDirs) {
96
126
  try {
@@ -100,10 +130,13 @@ class SourceMapper {
100
130
  });
101
131
  }
102
132
  catch (e) {
103
- throw new Error(`failed to get source maps from ${dir}: ${e}`);
133
+ throw error(`failed to get source maps from ${dir}: ${e}`);
104
134
  }
105
135
  }
106
- return createFromMapFiles(mapFiles);
136
+ if (debug) {
137
+ logger_1.logger.debug(`Found source map files: [${mapFiles.join(', ')}]`);
138
+ }
139
+ return createFromMapFiles(mapFiles, debug);
107
140
  }
108
141
  /**
109
142
  * @param {Array.<string>} sourceMapPaths An array of paths to .map source map
@@ -113,8 +146,9 @@ class SourceMapper {
113
146
  * processing the given source map files
114
147
  * @constructor
115
148
  */
116
- constructor() {
149
+ constructor(debug = false) {
117
150
  this.infoMap = new Map();
151
+ this.debug = debug;
118
152
  }
119
153
  /**
120
154
  * Used to get the information about the transpiled file from a given input
@@ -172,33 +206,46 @@ class SourceMapper {
172
206
  const inputPath = path.normalize(location.file);
173
207
  const entry = this.getMappingInfo(inputPath);
174
208
  if (entry === null) {
209
+ if (this.debug) {
210
+ logger_1.logger.debug(`Source map lookup failed: no map found for ${location.file} (normalized: ${inputPath})`);
211
+ }
175
212
  return location;
176
213
  }
177
- const generatedPos = { line: location.line, column: location.column };
214
+ const generatedPos = {
215
+ line: location.line,
216
+ column: location.column > 0 ? location.column - 1 : 0, // SourceMapConsumer expects column to be 0-based
217
+ };
178
218
  // TODO: Determine how to remove the explicit cast here.
179
219
  const consumer = entry.mapConsumer;
180
220
  const pos = consumer.originalPositionFor(generatedPos);
181
221
  if (pos.source === null) {
222
+ if (this.debug) {
223
+ logger_1.logger.debug(`Source map lookup failed for ${location.name}(${location.file}:${location.line}:${location.column})`);
224
+ }
182
225
  return location;
183
226
  }
184
- return {
227
+ const loc = {
185
228
  file: path.resolve(entry.mapFileDir, pos.source),
186
229
  line: pos.line || undefined,
187
230
  name: pos.name || location.name,
188
- column: pos.column || undefined,
231
+ column: pos.column === null ? undefined : pos.column + 1, // convert column back to 1-based
189
232
  };
233
+ if (this.debug) {
234
+ logger_1.logger.debug(`Source map lookup succeeded for ${location.name}(${location.file}:${location.line}:${location.column}) => ${loc.name}(${loc.file}:${loc.line}:${loc.column})`);
235
+ }
236
+ return loc;
190
237
  }
191
238
  }
192
239
  exports.SourceMapper = SourceMapper;
193
- async function createFromMapFiles(mapFiles) {
240
+ async function createFromMapFiles(mapFiles, debug) {
194
241
  const limit = pLimit(CONCURRENCY);
195
- const mapper = new SourceMapper();
196
- const promises = mapFiles.map(mapPath => limit(() => processSourceMap(mapper.infoMap, mapPath)));
242
+ const mapper = new SourceMapper(debug);
243
+ const promises = mapFiles.map(mapPath => limit(() => processSourceMap(mapper.infoMap, mapPath, debug)));
197
244
  try {
198
245
  await Promise.all(promises);
199
246
  }
200
247
  catch (err) {
201
- throw new Error('An error occurred while processing the source map files' + err);
248
+ throw error('An error occurred while processing the source map files' + err);
202
249
  }
203
250
  return mapper;
204
251
  }
@@ -232,6 +279,9 @@ directoryFilter = (root, dirname) => true) {
232
279
  if (!isNonFatalError(error)) {
233
280
  throw error;
234
281
  }
282
+ else {
283
+ logger_1.logger.debug(() => `Non fatal error: ${error}`);
284
+ }
235
285
  }
236
286
  }
237
287
  yield* walkRecursive(dir);
@@ -1 +1 @@
1
- {"version":3,"file":"sourcemapper.js","sourceRoot":"","sources":["../../../ts/src/sourcemapper/sourcemapper.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,mEAAmE;AACnE,8HAA8H;AAC9H,8EAA8E;AAC9E,0BAA0B;AAE1B,yBAAyB;AACzB,6BAA6B;AAE7B,2EAA2E;AAC3E,0EAA0E;AAC1E,uEAAuE;AACvE,MAAM,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AAClE,6DAA6D;AAC7D,aAAa;AACb,OAAO,UAAU,CAAC,KAAK,CAAC;AACxB,wCAAwC;AACx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,KAAK,EAAE;YACd,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;gBAC3B,MAAM,KAAK,CAAC;aACb;iBAAM;gBACL,eAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,oBAAoB,KAAK,EAAE,CAAC,CAAC;aACjD;SACF;IACH,CAAC;IAED,KAAK,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAC5B,CAAC;AAED,KAAK,UAAU,WAAW,CAAC,OAAe;IACxC,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,IAAI,CAC5B,OAAO,EACP,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,EACxC,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAChB,IAAI,KAAK,OAAO,IAAI,OAAO,KAAK,MAAM,IAAI,OAAO,KAAK,cAAc,CACvE,EAAE;QACD,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;KAC9C;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datadog/pprof",
3
- "version": "3.0.0-pre-10eb724",
3
+ "version": "3.0.0-pre-19d5e87",
4
4
  "description": "pprof support for Node.js",
5
5
  "repository": "datadog/pprof-nodejs",
6
6
  "main": "out/src/index.js",
@@ -19,7 +19,7 @@
19
19
  "prebuild": "node scripts/prebuild.js",
20
20
  "prebuilds": "node scripts/prebuilds.js",
21
21
  "prepare": "npm run compile && npm run rebuild",
22
- "pretest": "npm run compile && npm run rebuild"
22
+ "pretest": "npm run compile"
23
23
  },
24
24
  "author": {
25
25
  "name": "Google Inc."
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