@datadog/pprof
Advanced tools
Comparing version 3.2.0 to 4.0.0-pre-05c5dd4
{ | ||
"name": "@datadog/pprof", | ||
"version": "3.2.0", | ||
"version": "4.0.0-pre-05c5dd4", | ||
"description": "pprof support for Node.js", | ||
@@ -36,3 +36,3 @@ "repository": "datadog/pprof-nodejs", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": ">=12", | ||
"@types/node": ">=14", | ||
"@types/sinon": "^10.0.15", | ||
@@ -78,4 +78,4 @@ "@types/tmp": "^0.2.3", | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=14" | ||
} | ||
} |
@@ -10,18 +10,12 @@ # pprof support for Node.js | ||
## Prerequisites | ||
1. Your application will need to be using Node.js 10.4.1 or greater, or any | ||
version of Node 12 or 14. | ||
1. Your application will need to be using Node.js 14 or greater. | ||
The profiler should not be enabled when using earlier versions of Node 10, | ||
since versions of Node.js 10 prior to 10.4.1 are impacted by | ||
[this](https://bugs.chromium.org/p/chromium/issues/detail?id=847863) issue, | ||
which can cause garbage collection to take several minutes when heap profiling | ||
is enabled. | ||
2. The `pprof` module has a native component that is used to collect profiles | ||
with v8's CPU and Heap profilers. You may need to install additional | ||
dependencies to build this module. | ||
* For Linux: `pprof` has prebuilt binaries available for Linux and Alpine | ||
Linux for Node 10, 12 and 14. No additional dependencies are required. | ||
* For other environments: when using `@google-cloud/profiler` on environments | ||
that `pprof` does not have prebuilt binaries for, the module | ||
* For Linux: `pprof` has prebuilt binaries available for Linux arm64/x64, | ||
Alpine Linux x64, macOS arm64/x64, windows x64 for Node 14/16/18/20. | ||
No additional dependencies are required. | ||
* For other environments: on environments that `pprof` does not have | ||
prebuilt binaries for, the module | ||
[`node-gyp`](https://www.npmjs.com/package/node-gyp) will be used to | ||
@@ -32,3 +26,3 @@ build binaries. See `node-gyp`'s | ||
3. The [`pprof`][pprof-url] CLI can be used to view profiles collected with | ||
3. The [`pprof`][pprof-url] CLI can be used to view profiles collected with | ||
this module. Instructions for installing the `pprof` CLI can be found | ||
@@ -35,0 +29,0 @@ [here][pprof-install-url]. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
42
8110590
86
2
114