build icon indicating copy to clipboard operation
build copied to clipboard

Evaluate other storage formats for dependency graph.

Open jakemac53 opened this issue 9 years ago • 3 comments

Will start with JSON just to get things up and running, but proto etc should be evaluated.

jakemac53 avatar Feb 09 '16 15:02 jakemac53

msgpack is super easy to drop in to replace JSON.

On e2e_example I didn't see a performance difference and file size dropped from 1.5M to 1.1M. On angular_components_example I saw (sample size 2) read time drop from 1.7s to 1.5s, and write time drop from 350-430ms to 250-275ms. File size dropped from 8M to 4.9M

~~The package looks like it might be unmaintained though.~~ Most recent publish is almost 2 years old, but there are more recent commits.

natebosch avatar Jan 19 '18 01:01 natebosch

The JSON file gzips very well - <10% of it's original size. There is maybe a slight regression on serialize/deserialize time though.

natebosch avatar Jan 19 '18 05:01 natebosch

msgpack sounds interesting as an easy alternative

jakemac53 avatar Jan 19 '18 05:01 jakemac53