all repos — searchix @ 8b27572c465b61a5bbb85befed85b2219404f98f

Search engine for NixOS, nix-darwin, home-manager and NUR users

test: simplify importer memory benchmarking setup

Alan Pearce
commit

8b27572c465b61a5bbb85befed85b2219404f98f

parent

70b87ff06ed982adca32658aee4a1e78c39c3f41

1 file changed, 2 insertions(+), 0 deletions(-)

changed files
M internal/importer/main_test.gointernal/importer/main_test.go
@@ -15,6 +15,8 @@
var cfg = config.DefaultConfig func BenchmarkImporterLowMemory(b *testing.B) { + b.ReportAllocs() + tmp, err := file.OpenRoot(b.TempDir()) if err != nil { b.Fatal(err)