kanidm/server/lib/PROFILING.md
James Hodgkinson e1a1bff94d
Docs rework (#2919)
* more markdowny linty things
* Fixes #2572 by replacing mdbook-template with github-flavoured and more markdowny alerts
2024-07-23 02:21:56 +00:00

11 lines
274 B
Markdown

# Running DHAT profiling
```shell
cargo test --features=dhat-heap test_idm_authsession_simple_password_mech
cargo install cargo-flamegraph
cargo flamegraph --root --reverse --unit-test -- 'testname'
KANI_CARGO_OPTS="--features dhat-heap" ./run_insecure_dev_server.sh
```