@sentry/profiling-node

v1.1.3
Sampling based nodejs profiler.
profiling monitoring apm cpu node performance

lint

eslint ./src --ext .ts

test

cross-env SENTRY_PROFILER_BINARY_DIR=./lib jest --config jest.config.ts

build

npm run build:bindings && npm run build:lib

clean

rm -rf ./lib && rm -rf build

install

node scripts/check-build.mjs

prettier

prettier --config ./.prettierrc --write

benchmark

npm run benchmark:methods && npm run benchmark:profiler && npm run benchmark:server && npm run benchmark:format

build:dev

npm run clean && npm run build:configure && npm run build

build:lib

tsc -p ./tsconfig.types.json && npm run build:lib:cjs

test:watch

cross-env SENTRY_PROFILER_BINARY_DIR=./lib jest --watch

test:bundle

node test-binaries.esbuild.mjs

test:rollup

npm run test:rollup:build && npm run test:rollup:run

test:esbuild

npm run test:esbuild:build && npm run test:esbuild:run

test:webpack

npm run test:webpack:build && npm run test:webpack:run

build:lib:cjs

node ./esbuild.cjs.mjs

build:lib:esm

node ./esbuild.esm.mjs

build:bindings

node-gyp build && node scripts/copy-target.mjs

build:configure

node-gyp configure

test:rollup:run

BUNDLER=rollup node ./demo_app/dist/rollup/index.js

benchmark:format

node benchmarks/format/benchmark.format.js

benchmark:server

node benchmarks/cpu/benchmark.server.js

test:esbuild:run

BUNDLER=esbuild node ./demo_app/dist/esbuild/index.js

test:webpack:run

BUNDLER=webpack node ./demo_app/dist/webpack/index.js

benchmark:methods

node benchmarks/cpu/benchmark.methods.js

test:rollup:build

rollup --config ./demo_app/rollup.config.js

test:setup:bundle

(npm link && cd demo_app && npm install && npm link @sentry/profiling-node)

benchmark:profiler

node benchmarks/cpu/benchmark.profiler.js

test:esbuild:build

node ./demo_app/esbuild.cjs.mjs

test:webpack:build

webpack --config ./demo_app/webpack.config.js

build:bindings:arm64

node-gyp build --arch=arm64 && node scripts/copy-target.mjs

benchmark:integration

node benchmarks/cpu/benchmark.integration.base.js && node benchmarks/cpu/benchmark.integration.disabled.js && node benchmarks/cpu/benchmark.integration.js

build:configure:arm64

node-gyp configure --arch=arm64 --target_arch=arm64

build:benchmark:format

node-gyp -DFORMAT_BENCHMARK=1 build
npm i @sentry/[email protected]

Metadata

Downloads