Use jemalloc and add endpoint to dump heap profiles #27
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "Armael/tricot:jemalloc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TODO: update the flake.nix & docker target (or get rid of it completely ?)
Ideally, I would really like we build the production container with Nix.
We can embed the necessary tooling quite easily if needed.
Finally, I got this script to quickly build a
svg
:It is intended to be run on the host machine, it's not perfect as you still need to:
./flamegraph.pl
nix-shell -p perl
beforedocker ps
)I wanted to keep the .perf file as it can be injected in other, more powerful viewers than
flamegraph.pl
.Feel free to improve it, or just copy/paste it at the end of the doc.
Let me know when we have settled upon the correct way to build a production container, and then let merge this work and plan a deployment!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.