lix/doc/manual/rl-next
jade 0d37b99a15 build: enable libstdc++ assertions
Benchmarks say that it does not regress performance by more than 1%
(which is where it gets really hard to measure accurately anyhow).

Meson appears to be planning to do this for us without asking us in a
release we will get in the future, and it seems good enough to ship
today:
https://mesonbuild.com/Release-notes-for-1-4-0.html#ndebug-setting-now-controls-c-stdlib-assertions

Benchmarks:

| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `result-asserts/bin/nix --extra-experimental-features 'nix-command flakes' eval -f ../nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix` | 418.4 ± 25.0 | 396.9 | 451.2 | 1.01 ± 0.08 |
| `result/bin/nix --extra-experimental-features 'nix-command flakes' eval -f ../nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix` | 416.1 ± 23.9 | 397.1 | 445.4 | 1.00 |

| Command | Mean [s] | Min [s] | Max [s] | Relative |
|:---|---:|---:|---:|---:|
| `GC_INITIAL_HEAP_SIZE=10g result-asserts/bin/nix eval --extra-experimental-features 'nix-command flakes' --raw --impure --expr 'with import <nixpkgs/nixos> {}; system'` | 4.147 ± 0.021 | 4.123 | 4.195 | 1.00 |
| `GC_INITIAL_HEAP_SIZE=10g result/bin/nix eval --extra-experimental-features 'nix-command flakes' --raw --impure --expr 'with import <nixpkgs/nixos> {}; system'` | 4.149 ± 0.027 | 4.126 | 4.215 | 1.00 ± 0.01 |

| Command | Mean [s] | Min [s] | Max [s] | Relative |
|:---|---:|---:|---:|---:|
| `result-asserts/bin/nix --extra-experimental-features 'nix-command flakes' eval --raw --impure --expr 'with import <nixpkgs/nixos> {}; system'` | 5.838 ± 0.023 | 5.799 | 5.867 | 1.01 ± 0.01 |
| `result/bin/nix --extra-experimental-features 'nix-command flakes' eval --raw --impure --expr 'with import <nixpkgs/nixos> {}; system'` | 5.788 ± 0.044 | 5.715 | 5.876 | 1.00 |

| Command | Mean [s] | Min [s] | Max [s] | Relative |
|:---|---:|---:|---:|---:|
| `result-asserts/bin/nix --extra-experimental-features 'nix-command flakes' search --no-eval-cache github:nixos/nixpkgs/e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870 hello` | 15.993 ± 0.081 | 15.829 | 16.096 | 1.01 ± 0.01 |
| `result/bin/nix --extra-experimental-features 'nix-command flakes' search --no-eval-cache github:nixos/nixpkgs/e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870 hello` | 15.897 ± 0.075 | 15.807 | 16.047 | 1.00 |

Fixes: lix-project/lix#4

Change-Id: Id3a6f38274ba94d5d10b09edd19dfd96bc3e7d5f
2024-04-08 15:40:12 -07:00
..
better-errors-in-nix-repl.md Add pre-commit checks 2024-03-29 22:57:40 -07:00
debugger-locals-for-let-expressions.md manual: fix release notes 2024-03-27 03:09:14 +00:00
debugger-on-trace.md Merge pull request #9914 from 9999years/debugger-on-trace 2024-03-09 10:17:26 -07:00
drop-vendored-toml11.md Stop vendoring toml11 2024-03-27 21:04:00 -04:00
drv-string-parse-hang.md
dup-attr-errors.md build: replace changelog-d with local script 2024-03-27 03:09:14 +00:00
empty-search-regex.md manual: fix release notes 2024-03-27 03:09:14 +00:00
enter-debugger-more-reliably-in-let-and-calls.md Merge pull request #9917 from 9999years/enter-debugger-more-reliably 2024-03-09 03:37:35 -07:00
env-size-reduction.md
eval-system.md
forbid-nested-debuggers.md Merge pull request #9920 from 9999years/forbid-nested-debuggers 2024-03-31 17:28:25 +00:00
formal-order.md normalize formal order on ExprLambda::show 2024-03-18 07:56:34 -06:00
inherit-error-positions.md report inherit attr errors at the duplicate name 2024-03-18 16:12:45 +01:00
inherit-from-by-need.md evaluate inherit (from) exprs only once per directive 2024-03-10 03:18:32 -06:00
new-assertions.md build: enable libstdc++ assertions 2024-04-08 15:40:12 -07:00
nix-env-json-drv-path.md
nix-flake-check-logs-actions.md
nix-flake-update-ux.md manual: fix release notes 2024-03-27 03:09:14 +00:00
nixversion-fake.md build: replace changelog-d with local script 2024-03-27 03:09:14 +00:00
no-cache-eval-errors.md always re-eval cached failures 2024-04-06 04:35:25 +00:00
print-value-in-coercion-error.md manual: fix release notes 2024-03-27 03:09:14 +00:00
print-value-in-type-error.md manual: fix release notes 2024-03-27 03:09:14 +00:00
reduce-debugger-clutter.md
repl-doc-command.md repl: improve :doc builtin repl command to support lambdas. 2024-04-03 13:47:22 -06:00
short-expr-flag.md build: replace changelog-d with local script 2024-03-27 03:09:14 +00:00
source-location-in-while-evaluating-attribute.md
source-positions-in-errors.md
stack-overflow-segfaults.md
upstart-removal.md build: replace changelog-d with local script 2024-03-27 03:09:14 +00:00
with-error-reporting.md