lib.fileset: Add benchmark for unions
Silvan Mosberger 2 years ago c8bac6ea 631ad216
··· 101 101 bench 'toSource { root = ./.; fileset = ./.; }' 102 102 103 103 rm -rf -- * 104 104 + 105 105 + touch {0..1000} 106 106 + bench 'toSource { root = ./.; fileset = unions (mapAttrsToList (name: value: ./. + "/${name}") (builtins.readDir ./.)); }' 107 107 + rm -rf -- *