aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorAlois Wohlschlager <alois1@gmx-topmail.de>2024-08-06 16:38:32 +0200
committerAlois Wohlschlager <alois1@gmx-topmail.de>2024-08-06 19:10:33 +0200
commit2c48460850186e5fb8152e7882baf9e29bb5e884 (patch)
tree6388c398ebea9cba50a7fc474db80eac4d7a6624 /src/libstore/remote-store.hh
parent403fa9e2b6743e57cea0c8f0fa940c683af8081f (diff)
libstore/linux: precompile and cache the seccomp BPF
The growth of the seccomp filter in 127ee1a101e3f5ebab39ad98cbe58fefcd52eca5 made its compilation time significant (roughly 10 milliseconds have been measured on one machine). For this reason, it is now precompiled and cached in the parent process so that this overhead is not hit for every single build. It is still not optimal when going through the daemon, because compilation still happens once per client, but it's better than before and doing it only once for the entire daemon requires excessive crimes with the current architecture. Fixes: https://git.lix.systems/lix-project/lix/issues/461 Change-Id: I2277eaaf6bab9bd74bbbfd9861e52392a54b61a3
Diffstat (limited to 'src/libstore/remote-store.hh')
0 files changed, 0 insertions, 0 deletions