Skip to content

A playground for perf command and flamegraph with Node.js and Docker

Notifications You must be signed in to change notification settings

shuhei/perf-playground

Repository files navigation

perf-playground

A playground for perf(1) and FlameGraph with Node.js and Docker

The way to make FlameGraph for a process in Docker container is based on Making FlameGraphs with Containerized Java.

Prepare

sudo apt-get install linux-tools-common linux-tools-$(uname -r)

Try

npm install

# Build a Docker image and run it in the background
npm run build-node8
npm run start-node8
# or
npm run build-node10
npm run start-node10
# or
npm run build-alpine
npm run start-alpine

# Generate a flame graph
./flame.sh

About

A playground for perf command and flamegraph with Node.js and Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published