Closed mihai8804858 closed 2 years ago
The meta file is designed to be read by machines and the fact it is human-readable is just a coincident (nice coincident).
I checked how much space we can save with a minimized .json
and for a big meta file, it is ~6% savings (183KB vs 196 KB).
Saying that, I am not convinced that we should do that by default - would be fine to add it as a parameter to .rcinfo
to make it "pretty" opt-in.
@polac24 Good point. I'll take the time to add a new parameter for "pretty" opt-in, disabled by default.
When trying to read the meta files that are uploaded to remote cache, I have to copy-paste them and format using a pretty-print tool. I guess we could encode the meta files using
prettyPrinted
output formatting so the files can be easily read when testing something 😅 Also, I had to increase the timeout ofXCCCTests
from 5 to 10 seconds because a test was failing on my machine due to timeout. 🤔