convoyinc / apollo-cache-hermes

A cache implementation for Apollo Client, tuned for performance
Other
483 stars 30 forks source link

Much bigger than apollo-cache-inmemory #421

Open wmertens opened 5 years ago

wmertens commented 5 years ago

I don't know how, but when I switch apollo-cache-inmemory for apollo-cache-hermes it increases my gzipped bundle size by 14kb.

Webpack-bundle-analyzer shows that inmemory is 23kb parsed, and hermes is 48kb.

🤔

nevir commented 5 years ago

Yeah, hermes is definitely more complicated than inmemory (though the upcoming v3 of inmemory may change that) - there are probably some areas where we could trim some fat, though