Microbenchmark for the cover letter of the RFC "landlock: Add access rights on created files". It sets up and tears down a Nix-like build sandbox (user, mount, PID, IPC, UTS and network namespaces, pivot_root into a chroot, removing the chroot afterwards) and compares how the input paths are made visible:
mounts: one bind mount per input onto a fresh mountpoint directory (what Nix does today).