Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Anyway to squeeze generated javascripts ? #13

Open
cometta opened this issue Jul 9, 2013 · 6 comments
Open

Anyway to squeeze generated javascripts ? #13

cometta opened this issue Jul 9, 2013 · 6 comments
Assignees
Labels
Milestone

Comments

@cometta
Copy link

cometta commented Jul 9, 2013

i use lot of modals and end up 66k of piriti json.read, json.write compiled java scripts. Anyway to reduce output size?

@cometta
Copy link
Author

cometta commented Jul 9, 2013

reason need to reduce is because this slow down initial download of gwt if too many modals pojo.

@ghost ghost assigned hpehl Jul 9, 2013
@hpehl
Copy link
Owner

hpehl commented Jul 9, 2013

Yes I know this is a problem. Unfortunately I had no time to address this. I'm sure there's room for optimization, but currently I do not have time to take care of it.

Anybody willing to jump in?

@cometta
Copy link
Author

cometta commented Jul 9, 2013

i still figuring how to optimize this. I think the rest of the community will be interested in this.

@cometta
Copy link
Author

cometta commented Jul 9, 2013

any suggestion on technique can be used ?

@lathil
Copy link
Contributor

lathil commented Jul 11, 2013

I wonder if Piriti is the right place for the optimisation. Doesn't it just generate *.Java files that GWT then compile into Javascript. Wouldn't it be better to the optimisation on GWT side ?

@hpehl
Copy link
Owner

hpehl commented Jul 11, 2013

Good point. But I think there's also a chance to reduce the generated java code. I'm not sure how much we could reduce the size, a first guess is something around 10%. But that's just a rough estimation. It's been a while since I worked on the codebase.

@ghost ghost assigned hpehl Oct 8, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants