Skip to content
Snippets Groups Projects
Commit 6da92d96 authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Document NIX_SHOW_STATS and NIX_COUNT_CALLS

parent 543d8a59
No related branches found
No related tags found
No related merge requests found
...@@ -312,6 +312,24 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen> ...@@ -312,6 +312,24 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen>
</varlistentry> </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> <varlistentry><term><envar>GC_INITIAL_HEAP_SIZE</envar></term>
<listitem><para>If Nix has been configured to use the Boehm garbage <listitem><para>If Nix has been configured to use the Boehm garbage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment