[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: See if our benchmark setup could be built by Nix



We now use Nix to build a fully-encapsulated script; when run from
Python (e.g. with an appropriate sample size and repetition), it spits
out two fully-encapsulated scripts: a "runner" and an "analyser". The
Python just has to time the "runner" then send its stdout to the
"analyser", and the result is a bunch of JSON which benchmark values can
be pulled out of.