diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24 02:22:24 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-24 02:22:24 +0200 |
commit | 6da92d96aec29ab09cf909ac6a270bc2753cd34a (patch) | |
tree | 98c058ff7c979a08369ff86700c638c719e56d45 /doc | |
parent | 543d8a5942f503f5e49eecbf7e4e7a039472e9ea (diff) |
Document NIX_SHOW_STATS and NIX_COUNT_CALLS
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/env-common.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index e6a358931..9e97e58f5 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -312,6 +312,24 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen> </varlistentry> +<varlistentry><term><envar>NIX_SHOW_STATS</envar></term> + + <listitem><para>If set to <literal>1</literal>, Nix will print some + evaluation statistics, such as the number of values + allocated.</para></listitem> + +</varlistentry> + + +<varlistentry><term><envar>NIX_COUNT_CALLS</envar></term> + + <listitem><para>If set to <literal>1</literal>, Nix will print how + often functions were called during Nix expression evaluation. This + is useful for profiling your Nix expressions.</para></listitem> + +</varlistentry> + + <varlistentry><term><envar>GC_INITIAL_HEAP_SIZE</envar></term> <listitem><para>If Nix has been configured to use the Boehm garbage |