@sentry/profiling-node

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

lint

yarn lint:eslint && yarn lint:clang

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 ./build && rm -rf build

install

node scripts/check-build.mjs

lint:fix

npm run fix:eslint && npm run fix:clang

benchmark

yarn benchmark:methods && yarn benchmark:profiler && yarn benchmark:server && yarn benchmark:format

build:dev

yarn clean && yarn build:configure && yarn build

build:lib

tsc -p ./tsconfig.types.json && node ./esbuild.mjs

lint:clang

node ./clang-format.mjs

test:watch

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

lint:eslint

eslint . --format stylish

test:bundle

node test-binaries.esbuild.mjs

test:rollup

yarn test:rollup:build && yarn test:rollup:run

test:esbuild

yarn test:esbuild:build && yarn test:esbuild:run

test:webpack

yarn test:webpack:build && yarn test:webpack:run

build:bindings

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

lint:fix:clang

node ./clang-format.mjs --fix

build:configure

node-gyp configure

lint:fix:eslint

eslint . --format stylish --fix

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.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