grandma
grandma copied to clipboard
smaller output files
Text files get really big really quickly. Think about something that would make these smaller... maybe gzipping?
Gzipping is a cool idea, perhaps, but perf goes to shit, even though gzipping is done in the main thread and all tests are run in worker threads. Beats me why that would happen.
Results for the same test run with zipping on and off:
Gzipping off during the test run:
> grandma report file.txt
Summary [duration, rate, total] 10s, 1000, 10000
Latencies [mean, 50, 95, 99, max] 1.116ms, 0.947ms, 1.966ms, 3.156ms, 15.775ms
Gzipping on during the test run:
> grandma report file.gz
Summary [duration, rate, total] 10s, 1000, 10000
Latencies [mean, 50, 95, 99, max] 43.092ms, 1.085ms, 417.625ms, 819.250ms, 985.780ms
All code is left in, but the CLI disables the use of gzipping. I will consider adding post-test gzipping in the future, if I get a good use case. At this point, large output files don't bother me that much.