1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 12:06:01 +01:00

libexpr: Add nrExprs to NIX_SHOW_STATS

This commit is contained in:
Robert Hensing 2023-09-12 13:21:55 +02:00
parent 4a8c9bb9aa
commit 3720e811fa
3 changed files with 6 additions and 0 deletions

View file

@ -2506,6 +2506,7 @@ void EvalState::printStats()
{"elements", nrValuesInEnvs},
{"bytes", bEnvs},
};
topObj["nrExprs"] = Expr::nrExprs;
topObj["list"] = {
{"elements", nrListElems},
{"bytes", bLists},