hastic-zzz / hastic-server

Hastic data management server for analyzing patterns and anomalies from Grafana
GNU General Public License v3.0
330 stars 23 forks source link

Reduce bundle size #144

Open sankerust opened 6 years ago

sankerust commented 6 years ago

One of the users mentioned, that the desired size of the whole package is 20 megabytes maximum. Currently our size is 60 megabytes.

User feedback.

jonyrock commented 6 years ago

@sankerust I think "bundle size" is better

jonyrock commented 6 years ago

I think we can strip node_modules folder a bit

rozetko commented 6 years ago

The largest part of bundle is analytics part When building it with PyInstaller from virtualenv - the minimal .tar.gz size I've managed to get is ~52MB (instead of ~60MB)

The only option we have - get rid of numpy. @VargBurz, is there any chance to do it? Then release size will become ~35MB, which is almost 2 times less than it is now

image 2 libs on top are ones needed by numpy

Upd: there is no chance to get rid of numpy cause it's pandas' dependency