[Engine-devel] GWT Dev Mode unbearably slow in WebAdmin

Vojtech Szocs vszocs at redhat.com
Fri Mar 21 13:57:00 UTC 2014



----- Original Message -----
> From: "Greg Sheremeta" <gshereme at redhat.com>
> To: "engine-devel" <engine-devel at ovirt.org>
> Sent: Friday, March 21, 2014 1:32:54 AM
> Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
> 
> I'm afraid I need to resurrect this. I'm again seeing unbearable slowness
> with GWT Dev Mode in webadmin on master. The first load is tolerable, and
> one or two refreshes are ok, but after that it bogs down and is unusable.

Some suggestions (that have been already mentioned in this thread a while ago):

1, use gwt-maven-plugin 2.5.1 instead of 2.4.0
   in root pom.xml change
   <gwt-maven-plugin.workingRefresh.version>2.4.0</gwt-maven-plugin.workingRefresh.version>
   to
   <gwt-maven-plugin.workingRefresh.version>${gwt.version}</gwt-maven-plugin.workingRefresh.version>

2, disable GWT persistent unit cache
   in frontend/webadmin/modules/pom.xml find <artifactId>gwt-maven-plugin</artifactId>
   add <persistentunitcache>false</persistentunitcache> to <configuration>
   -or-
   make gwt-debug [usual options] DEV_EXTRA_BUILD_FLAGS="-Dgwt.persistentunitcache=false"

3, try out GWT Super Dev Mode

Vojtech

> 
> Anyone else?
> 
> Greg
> 
> 
> ----- Original Message -----
> > From: "Greg Sheremeta" <gshereme at redhat.com>
> > To: awels at redhat.com
> > Cc: "engine-devel" <engine-devel at ovirt.org>
> > Sent: Thursday, February 27, 2014 9:26:40 AM
> > Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
> > 
> > Thanks, and great work figuring it out :)
> > 
> > Greg
> > 
> > ----- Original Message -----
> > > From: "Alexander Wels" <awels at redhat.com>
> > > To: "Greg Sheremeta" <gshereme at redhat.com>
> > > Cc: "Lior Vernia" <lvernia at redhat.com>, "Martin Betak"
> > > <mbetak at redhat.com>,
> > > "engine-devel" <engine-devel at ovirt.org>,
> > > "Vojtech Szocs" <vszocs at redhat.com>
> > > Sent: Thursday, February 27, 2014 8:32:00 AM
> > > Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
> > > 
> > > Master is back to its normal zippy self in GWT dev mode as of 8:25 EST
> > > Feb
> > > 27th 2014. With relative values for zippy. If you are annoyed by the slow
> > > GTW
> > > dev mode be sure to fetch and rebase.
> > > 
> > > On Wednesday, February 19, 2014 10:51:06 AM Greg Sheremeta wrote:
> > > > I agree with Lior. Alexander (cc'd) has a patch that will hopefully
> > > > address
> > > > it.
> > > > 
> > > > Greg
> > > > 
> > > > ----- Original Message -----
> > > > 
> > > > > From: "Lior Vernia" <lvernia at redhat.com>
> > > > > To: "Martin Betak" <mbetak at redhat.com>
> > > > > Cc: "Greg Sheremeta" <gshereme at redhat.com>, "engine-devel"
> > > > > <engine-devel at ovirt.org>, "Vojtech Szocs" <vszocs at redhat.com>
> > > > > Sent: Wednesday, February 19, 2014 10:27:51 AM
> > > > > Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
> > > > > 
> > > > > Hi guys,
> > > > > 
> > > > > On 17/02/14 13:15, Martin Betak wrote:
> > > > > > Yes, this has been my developer experience since I joined the
> > > > > > project.
> > > > > 
> > > > > To my eyes, it hasn't always been this slow. Something aggravated the
> > > > > situation sometime in the past 3 weeks. I'm not knowledgeable enough
> > > > > to
> > > > > say what went wrong, but this is not simply a gradual degradation of
> > > > > more code being compiled, etc.
> > > > > 
> > > > > Lior.
> > > > > 
> > > > > > The 5-6 minute page-loads are a standard but the GWT Dev Mode gets
> > > > > > progressively
> > > > > > slower after each "refresh" that involves frontend recompilation.
> > > > > > Also
> > > > > > the
> > > > > > memory
> > > > > > consumption increases and after 5-th "refresh" or so I have to kill
> > > > > > it
> > > > > > and
> > > > > > recompile the whole engine.
> > > > > > 
> > > > > > Any improvement to current status would be much appreciated.
> > > > > > 
> > > > > > Martin
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > ----- Original Message -----
> > > > > > 
> > > > > >> From: "Greg Sheremeta" <gshereme at redhat.com>
> > > > > >> To: "engine-devel" <engine-devel at ovirt.org>
> > > > > >> Sent: Friday, February 14, 2014 4:50:46 PM
> > > > > >> Subject: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
> > > > > >> 
> > > > > >> Has anyone else noticed that GWT Dev Mode is unbearably slow for
> > > > > >> WebAdmin?
> > > > > >> On
> > > > > >> my machine, it's to the point where I might as well rebuild the
> > > > > >> entire
> > > > > >> application for every change and not bother with Dev Mode. Pages
> > > > > >> take
> > > > > >> 4
> > > > > >> or
> > > > > >> 5
> > > > > >> minutes to render. Sometimes after 5 minutes, I just give up,
> > > > > >> close
> > > > > >> everything, and rebuild the app.
> > > > > >> 
> > > > > >> For now, I want to see if others have this issue. If we confirm
> > > > > >> that
> > > > > >> it's
> > > > > >> widespread, we can discuss ways to mitigate.
> > > > > >> 
> > > > > >> Greg Sheremeta
> > > > > >> Red Hat, Inc.
> > > > > >> Sr. Software Engineer, RHEV
> > > > > >> Cell: 919-807-1086
> > > > > >> gshereme at redhat.com
> > > > > >> _______________________________________________
> > > > > >> Engine-devel mailing list
> > > > > >> Engine-devel at ovirt.org
> > > > > >> http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Engine-devel mailing list
> > > > > > Engine-devel at ovirt.org
> > > > > > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > 
> > > 
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Engine-devel mailing list