| 29 Jul 2025 |
John Ericson | Mic92: I am talking about the queryOutput stuff in there | 21:35:18 |
John Ericson | Mic92: oh wow, it's already done via the database in the local store case! | 21:37:58 |
John Ericson | see queryStaticPartialDerivationOutputMap | 21:38:03 |
John Ericson | https://github.com/NixOS/nix/issues/13573#issuecomment-3134157257 | 21:40:17 |
John Ericson | so....why the hell is it so slow? | 21:40:23 |
John Ericson | SQLite should be fast enough | 21:40:29 |
John Ericson | (slow based on your said your sysadmining experience, Mic92) | 21:40:42 |
John Ericson | Eelco: you inadvertently trolled us quite well, because you in 2010 https://github.com/NixOS/nix/commit/c4d388add4942f6f99a8df12f4e49149005047e2 fixed the perf issue you brought up in my PR :) | 21:47:11 |
Mic92 | In reply to @Ericson2314:matrix.org (slow based on your said your sysadmining experience, Mic92) It's parsing all the derivation files during GC by default. You have to turn of keep-derivations to disable it | 21:52:45 |
Mic92 | If it's turned off it's really just sqlite and fast | 21:54:10 |
John Ericson | Mic92: hmm? because of what? | 21:55:20 |
Mic92 | In reply to @Ericson2314:matrix.org Mic92: hmm? because of what? Can't point you to the concrete code but it's very obvious if you strace | 21:56:48 |