!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

909 Members
For people hacking on the Nix package manager itself190 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
29 Jul 2025
@joerg:thalheim.ioMic92* Surprising because the throughput of our current derivation parser is slower than what I expect a JSON parser to be able to pull off.20:48:04
@Ericson2314:matrix.orgJohn Ericson Mic92: oh wait tbh I was doing unoptimized builds 20:51:13
@Ericson2314:matrix.orgJohn Ericsonthat doesn't mean much20:51:19
@Ericson2314:matrix.orgJohn EricsonI opened up https://github.com/NixOS/nix/issues/13573 regardless20:57:19
@Ericson2314:matrix.orgJohn Ericsonsince we can make GC faster by not parsing the entire derivation20:57:28
@Ericson2314:matrix.orgJohn Ericson

OK optimized before

BM_ParseRealDerivationFile/hello         6814 ns         6791 ns       104081 bytes_per_second=247.735Mi/s
BM_ParseRealDerivationFile/firefox      31529 ns        31420 ns        22281 bytes_per_second=486.429Mi/s
21:18:01
@Ericson2314:matrix.orgJohn Ericson
BM_ParseRealDerivationFile/hello         6952 ns         6929 ns       102364 bytes_per_second=242.772Mi/s
BM_ParseRealDerivationFile/firefox      71569 ns        71292 ns         9695 bytes_per_second=214.381Mi
21:18:27
@Ericson2314:matrix.orgJohn Ericsonoptimized after21:18:29
@Ericson2314:matrix.orgJohn Ericson4x to 2x21:18:39
@Ericson2314:matrix.orgJohn Ericsonnot good enough21:18:42

Show newer messages


Back to Room ListRoom Version: 6