google / UIforETW

User interface for recording and managing ETW traces
https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/
Apache License 2.0
1.59k stars 201 forks source link

Zip compression needed #1

Open randomascii opened 9 years ago

randomascii commented 9 years ago

Currently the only supported form of trace compression in UIforETW is what is built in to Windows 8 and above. If you are recording or viewing traces on Windows 7 you are out of luck. Transparent .zip file compression would be very helpful. The idea would be to compress each trace into a .zip file with the same name and then delete the .etl file. The .zip file will still show up in the trace list (that code is there already), and UIforETW would need to automatically extract the trace on demand.

Traces could be automatically deleted when they haven't been referenced in a while (garbage collection) or they could be deleted whenever the compress-all-traces command is executed.

randomascii commented 8 years ago

Note that WPA can read .etl files that are in .zip files, so it would be easy enough to add an option to zip up traces. The benefits are pretty mild however.

It would be even easier to just add support for passing .zip files along to WPA, so that users could just compress them themselves. Less work, but still barely worth it.

jeffstokes72 commented 8 years ago

The 7zip libraries appear to be commercially available under OSS.

7zip link