Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 718 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 718 Bytes

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