----- Original Message -----
From: "Vojtech Szocs" <vszocs(a)redhat.com>
To: "Greg Sheremeta" <gshereme(a)redhat.com>
Cc: "engine-devel" <engine-devel(a)ovirt.org>
Sent: Friday, March 21, 2014 10:11:38 AM
Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
----- Original Message -----
> From: "Greg Sheremeta" <gshereme(a)redhat.com>
> To: "Vojtech Szocs" <vszocs(a)redhat.com>
> Cc: "engine-devel" <engine-devel(a)ovirt.org>
> Sent: Friday, March 21, 2014 3:04:17 PM
> Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
>
>
> ----- Original Message -----
> > From: "Vojtech Szocs" <vszocs(a)redhat.com>
> > To: "Greg Sheremeta" <gshereme(a)redhat.com>
> > Cc: "engine-devel" <engine-devel(a)ovirt.org>
> > Sent: Friday, March 21, 2014 9:57:00 AM
> > Subject: Re: [Engine-devel] GWT Dev Mode unbearably slow in WebAdmin
> >
> >
> >
> > ----- Original Message -----
> > > From: "Greg Sheremeta" <gshereme(a)redhat.com>
> > > To: "engine-devel" <engine-devel(a)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
>
> Vojtech, you're not experiencing this slowness?
In fact, I am .. (and I have quite powerful laptop)
The slowness is a combination of two factors, lots of UI code (for GWT
compiler to process) + on-the-fly recompilation of GWT Dev Mode. The "lots
of code" factor should be improved when we transition to REST API and
introduce other UI improvements (like alternative/dynamic i18n
implementation, possibly UiCommon code refactoring, etc).
I've seen that people tend to use Super Dev Mode for basic debugging, falling
back to Classic (slow) Dev Mode for deeper debugging. (So far, I didn't have
time to try out Super Dev Mode myself.)
Alright. I'm trying out Super Dev Mode right now.
>
>
> >
> > >
> > > Anyone else?
> > >
> > > Greg
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Greg Sheremeta" <gshereme(a)redhat.com>
> > > > To: awels(a)redhat.com
> > > > Cc: "engine-devel" <engine-devel(a)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(a)redhat.com>
> > > > > To: "Greg Sheremeta" <gshereme(a)redhat.com>
> > > > > Cc: "Lior Vernia" <lvernia(a)redhat.com>,
"Martin Betak"
> > > > > <mbetak(a)redhat.com>,
> > > > > "engine-devel" <engine-devel(a)ovirt.org>,
> > > > > "Vojtech Szocs" <vszocs(a)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(a)redhat.com>
> > > > > > > To: "Martin Betak"
<mbetak(a)redhat.com>
> > > > > > > Cc: "Greg Sheremeta"
<gshereme(a)redhat.com>, "engine-devel"
> > > > > > > <engine-devel(a)ovirt.org>, "Vojtech
Szocs" <vszocs(a)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(a)redhat.com>
> > > > > > > >> To: "engine-devel"
<engine-devel(a)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(a)redhat.com
> > > > > > > >>
_______________________________________________
> > > > > > > >> Engine-devel mailing list
> > > > > > > >> Engine-devel(a)ovirt.org
> > > > > > > >>
http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > Engine-devel mailing list
> > > > > > > > Engine-devel(a)ovirt.org
> > > > > > > >
http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > > >
> > > > >
> > > > _______________________________________________
> > > > Engine-devel mailing list
> > > > Engine-devel(a)ovirt.org
> > > >
http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > >
> > > _______________________________________________
> > > Engine-devel mailing list
> > > Engine-devel(a)ovirt.org
> > >
http://lists.ovirt.org/mailman/listinfo/engine-devel
> > >
> >
>