• Kirill Smelkov's avatar
    X zodbdump: remove allocations from hot path · bbf27ce0
    Kirill Smelkov authored
    on non testdata/1.fs
    
    name        old time/op    new time/op    delta
    ZodbDump-4     313ms ± 1%      98ms ± 0%  -68.81%  (p=0.008 n=5+5)
    
    name        old alloc/op   new alloc/op   delta
    ZodbDump-4    75.0MB ± 0%     0.1MB ± 0%  -99.89%  (p=0.008 n=5+5)
    
    name        old allocs/op  new allocs/op  delta
    ZodbDump-4     2.16M ± 0%     0.00M ± 0%  -99.91%  (p=0.008 n=5+5)
    bbf27ce0
zodbdump.go 5.36 KB