davidmarkclements / 0x

🔥 single-command flamegraph profiling 🔥
MIT License
3.21k stars 103 forks source link

Can not generate files in docker #241

Closed station72 closed 2 years ago

station72 commented 2 years ago

When i starts 0x locally (npm run ..) 0x --output-dir 0x_profile/{pid}/ -- node -r ts-node/register -r tsconfig-paths/register --inspect=0.0.0.0:9230 ./index.ts i see isolate*** file. After stopping node.js this file is removed and in the 0x_profile/{pid}/ folder appears a report with html file.

But in docker conteiner cross-env PRESET=prod 0x --output-dir 0x_profile/{pid}/ -- node -r tsconfig-paths/register index.js i can not get generate html report. I see only isolate*** file.

I tried docker restart docker_name docker stop docker_name && docker start docker_name

I need generated html report inside docker container and then mount whole folder with report files to host machine.

What's my mistake?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity.