-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: add -z
option to pgconvert (compress on the fly via zstd)
#4
Comments
If we want for pgcollect to affect the system minimally, I'd prefer zstd instead of zlib. Beware that pgcollect data files are much smaller than perf's ones. |
Whatever you choose :-)
I've run with As noted: even minimal compression should be quite useful (of course that depends on the data).
|
-z
option to pgconvert (compress on the fly via zlib)-z
option to pgconvert (compress on the fly via zstd)
similar to
perf record
:I think this would mean an (optional?) dependency on zlib and then "just" wrap the file output in a compression function using the level as specified / default and having the pgconvert tool using zlib to open the file.
The reason for this FR is that the CPU doing the profiling commonly has some spare cycles and reducing the data to write also leads to an io speedup (and long profiling always tends to fill the disk fast).
The text was updated successfully, but these errors were encountered: