Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-07 Thread keyvez
I solved my problem. My DNS settings didn't have my routers DNS only
the two google's DNS servers I added a few days ago. So if you are
experiencing the same problem, try the following:

http://localhost:/index.html?gwt.codesvr=localhost:9997
http://localhost:/index.html?gwt.codesvr=127.0.0.1:9997

check /etc/hosts or DNS settings in System Preferences.

Good luck.
Gaurav

On Dec 6, 4:33 pm, keyvez key...@gmail.com wrote:
 Hi,

 I am experiencing really slow times (30-40 seconds) when I refresh the
 page on safari or firefox. It almost seems to recompile the full app
 every single time I hit refresh. I don't even change anything, and
 this the app you get when you create new Web App in eclipse. Meanwhile
 the browser hangs like it's supposed to when making a synchronous
 server request.

 Specs: Eclipse 3.5, Mac OS 10.6, Java 6 64-bit (tried with 32-bit 5
 and 6), GWT 2.0 RC2 and GPE 1.2 RC2 (tried RC1 for both of those too.

 And running it with the -Dgwt=perflog=true VM argument I receive this:

 perf? OophmSessionHandler?.loadModule Main 838ms

 perf? ModuleDef?.refresh 35ms
 perf? ResourceOracleImpl?.refresh 1ms
 perf? ResourceOracleImpl?.refresh 23ms
 perf? ResourceOracleImpl?.refresh 9ms
 perf? TypeOracleMediator?.addNewUnits 165ms
 perf? ModuleSpace?.onLoad 511ms
 perf? Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator?'
 produced 'com.company.mypackage.web.client.Application.Binder' 21ms
 perf? TypeOracleMediator?.addNewUnits 0ms
 perf? Generator
 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator?'
 produced
 'com.company.mypackage.web.client.Application_BinderImpl_GenBundle?'
 4ms
 perf? TypeOracleMediator?.addNewUnits 0ms
 perf? Generator 'com.google.gwt.i18n.rebind.LocaleInfoGenerator?'
 produced 'com.google.gwt.i18n.client.impl.LocaleInfoImpl?' 14ms
 perf? TypeOracleMediator?.addNewUnits 0ms
 perf? Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator?'
 produced 'com.google.gwt.i18n.client.impl.CldrImpl?' 0ms

 Which doesn't tell me where the 30-40 seconds are being spent.

 Any help would be greatly appreciated.

 Thanks,
 Gaurav

 On Dec 4, 12:45 am, jd jdpatter...@gmail.com wrote:



  Also, the slowdown for me seems to be across the board.

  Right now my CPU is very high and the busy thread is doing this:

  Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U;
  Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/
  3.0.15 onhttp://localhost:/?gwt.codesvr=localhost:9997
  @ :twjON0ofi:u+0] (Suspended)
          Thread.currentThread() line: not available [native method]
          ThreadLocalT.get() line: 124
          StringCoding.deref(ThreadLocal) line: 49
          StringCoding.encode(String, char[], int, int) line: 361
          String.getBytes(String) line: 812
          BrowserChannel.writeUtf8String(DataOutputStream, String) line: 1583
          BrowserChannel$InvokeOnClientMessage.send() line: 866
          BrowserChannelServer.invokeJavascript(CompilingClassLoader,
  JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 164
          ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
  line:
  120
          ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
  [], Object[]) line: 507
          ModuleSpaceOOPHM(ModuleSpace).invokeNativeInt(String, Object, 
  Class?
  [], Object[]) line: 240
          JavaScriptHost.invokeNativeInt(String, Object, Class?[], Object[])
  line: 75
          Element$.getPropertyInt$(Element, String) line: not available
          ResizableWidgetCollection.checkWidgetSize() line: 216
          ResizableWidgetCollection$1.run() line: 125
          ResizableWidgetCollection$1(Timer).fire() line: 141
          GeneratedMethodAccessor36.invoke(Object, Object[]) line: not
  available
          DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
          Method.invoke(Object, Object...) line: 592
          MethodAdaptor.invoke(Object, Object...) line: 103
          MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
          OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, 
  int,
  BrowserChannel$Value[]) line: 157
          BrowserChannelServer
  (BrowserChannel).reactToMessagesWhileWaitingForReturn(BrowserChannel
  $SessionHandler) line: 1713
          BrowserChannelServer.invokeJavascript(CompilingClassLoader,
  JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 165
          ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
  line:
  120
          ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
  [], Object[]) line: 507
          ModuleSpaceOOPHM(ModuleSpace).invokeNativeObject(String, Object,
  Class?[], Object[]) line: 264
          JavaScriptHost.invokeNativeObject(String, Object, Class?[], Object
  []) line: 91
          Impl.apply(Object, Object, Object) line: not available
          Impl.entry0(Object, Object, Object) line: 188
          

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-07 Thread jvictor
Thanks for figuring that out.  Worked great for me.  I simply added
the following line to /etc/hosts

192.168.1.4 localhost

where 192.168.1.4 is the static ip my computer is assigned by my
router.

Changing the url to localhost or 127.0.0.1 works as well if you don't
want to edit your hosts file.

On Dec 7, 11:28 pm, keyvez key...@gmail.com wrote:
 I solved my problem. My DNS settings didn't have my routers DNS only
 the two google's DNS servers I added a few days ago. So if you are
 experiencing the same problem, try the following:

 http://localhost:/index.html?gwt.codesvr=localhost:9997http://localhost:/index.html?gwt.codesvr=127.0.0.1:9997

 check /etc/hosts or DNS settings in System Preferences.

 Good luck.
 Gaurav

 On Dec 6, 4:33 pm, keyvez key...@gmail.com wrote:

  Hi,

  I am experiencing really slow times (30-40 seconds) when I refresh the
  page on safari or firefox. It almost seems to recompile the full app
  every single time I hit refresh. I don't even change anything, and
  this the app you get when you create new Web App in eclipse. Meanwhile
  the browser hangs like it's supposed to when making a synchronous
  server request.

  Specs: Eclipse 3.5, Mac OS 10.6, Java 6 64-bit (tried with 32-bit 5
  and 6), GWT 2.0 RC2 and GPE 1.2 RC2 (tried RC1 for both of those too.

  And running it with the -Dgwt=perflog=true VM argument I receive this:

  perf? OophmSessionHandler?.loadModule Main 838ms

  perf? ModuleDef?.refresh 35ms
  perf? ResourceOracleImpl?.refresh 1ms
  perf? ResourceOracleImpl?.refresh 23ms
  perf? ResourceOracleImpl?.refresh 9ms
  perf? TypeOracleMediator?.addNewUnits 165ms
  perf? ModuleSpace?.onLoad 511ms
  perf? Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator?'
  produced 'com.company.mypackage.web.client.Application.Binder' 21ms
  perf? TypeOracleMediator?.addNewUnits 0ms
  perf? Generator
  'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator?'
  produced
  'com.company.mypackage.web.client.Application_BinderImpl_GenBundle?'
  4ms
  perf? TypeOracleMediator?.addNewUnits 0ms
  perf? Generator 'com.google.gwt.i18n.rebind.LocaleInfoGenerator?'
  produced 'com.google.gwt.i18n.client.impl.LocaleInfoImpl?' 14ms
  perf? TypeOracleMediator?.addNewUnits 0ms
  perf? Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator?'
  produced 'com.google.gwt.i18n.client.impl.CldrImpl?' 0ms

  Which doesn't tell me where the 30-40 seconds are being spent.

  Any help would be greatly appreciated.

  Thanks,
  Gaurav

  On Dec 4, 12:45 am, jd jdpatter...@gmail.com wrote:

   Also, the slowdown for me seems to be across the board.

   Right now my CPU is very high and the busy thread is doing this:

   Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U;
   Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/
   3.0.15 onhttp://localhost:/?gwt.codesvr=localhost:9997
   @ :twjON0ofi:u+0] (Suspended)
           Thread.currentThread() line: not available [native method]
           ThreadLocalT.get() line: 124
           StringCoding.deref(ThreadLocal) line: 49
           StringCoding.encode(String, char[], int, int) line: 361
           String.getBytes(String) line: 812
           BrowserChannel.writeUtf8String(DataOutputStream, String) line: 
   1583
           BrowserChannel$InvokeOnClientMessage.send() line: 866
           BrowserChannelServer.invokeJavascript(CompilingClassLoader,
   JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 164
           ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
   line:
   120
           ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, 
   Class?
   [], Object[]) line: 507
           ModuleSpaceOOPHM(ModuleSpace).invokeNativeInt(String, Object, 
   Class?
   [], Object[]) line: 240
           JavaScriptHost.invokeNativeInt(String, Object, Class?[], 
   Object[])
   line: 75
           Element$.getPropertyInt$(Element, String) line: not available
           ResizableWidgetCollection.checkWidgetSize() line: 216
           ResizableWidgetCollection$1.run() line: 125
           ResizableWidgetCollection$1(Timer).fire() line: 141
           GeneratedMethodAccessor36.invoke(Object, Object[]) line: not
   available
           DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
           Method.invoke(Object, Object...) line: 592
           MethodAdaptor.invoke(Object, Object...) line: 103
           MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
           OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, 
   int,
   BrowserChannel$Value[]) line: 157
           BrowserChannelServer
   (BrowserChannel).reactToMessagesWhileWaitingForReturn(BrowserChannel
   $SessionHandler) line: 1713
           BrowserChannelServer.invokeJavascript(CompilingClassLoader,
   JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 165
           ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
   line:
   120
           

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-06 Thread keyvez
Hi,

I am experiencing really slow times (30-40 seconds) when I refresh the
page on safari or firefox. It almost seems to recompile the full app
every single time I hit refresh. I don't even change anything, and
this the app you get when you create new Web App in eclipse. Meanwhile
the browser hangs like it's supposed to when making a synchronous
server request.

Specs: Eclipse 3.5, Mac OS 10.6, Java 6 64-bit (tried with 32-bit 5
and 6), GWT 2.0 RC2 and GPE 1.2 RC2 (tried RC1 for both of those too.

And running it with the -Dgwt=perflog=true VM argument I receive this:

perf? OophmSessionHandler?.loadModule Main 838ms

perf? ModuleDef?.refresh 35ms
perf? ResourceOracleImpl?.refresh 1ms
perf? ResourceOracleImpl?.refresh 23ms
perf? ResourceOracleImpl?.refresh 9ms
perf? TypeOracleMediator?.addNewUnits 165ms
perf? ModuleSpace?.onLoad 511ms
perf? Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator?'
produced 'com.company.mypackage.web.client.Application.Binder' 21ms
perf? TypeOracleMediator?.addNewUnits 0ms
perf? Generator
'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator?'
produced
'com.company.mypackage.web.client.Application_BinderImpl_GenBundle?'
4ms
perf? TypeOracleMediator?.addNewUnits 0ms
perf? Generator 'com.google.gwt.i18n.rebind.LocaleInfoGenerator?'
produced 'com.google.gwt.i18n.client.impl.LocaleInfoImpl?' 14ms
perf? TypeOracleMediator?.addNewUnits 0ms
perf? Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator?'
produced 'com.google.gwt.i18n.client.impl.CldrImpl?' 0ms

Which doesn't tell me where the 30-40 seconds are being spent.

Any help would be greatly appreciated.

Thanks,
Gaurav

On Dec 4, 12:45 am, jd jdpatter...@gmail.com wrote:
 Also, the slowdown for me seems to be across the board.

 Right now my CPU is very high and the busy thread is doing this:

 Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U;
 Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/
 3.0.15 onhttp://localhost:/?gwt.codesvr=localhost:9997
 @ :twjON0ofi:u+0] (Suspended)
         Thread.currentThread() line: not available [native method]
         ThreadLocalT.get() line: 124
         StringCoding.deref(ThreadLocal) line: 49
         StringCoding.encode(String, char[], int, int) line: 361
         String.getBytes(String) line: 812
         BrowserChannel.writeUtf8String(DataOutputStream, String) line: 1583
         BrowserChannel$InvokeOnClientMessage.send() line: 866
         BrowserChannelServer.invokeJavascript(CompilingClassLoader,
 JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 164
         ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) line:
 120
         ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
 [], Object[]) line: 507
         ModuleSpaceOOPHM(ModuleSpace).invokeNativeInt(String, Object, Class?
 [], Object[]) line: 240
         JavaScriptHost.invokeNativeInt(String, Object, Class?[], Object[])
 line: 75
         Element$.getPropertyInt$(Element, String) line: not available
         ResizableWidgetCollection.checkWidgetSize() line: 216
         ResizableWidgetCollection$1.run() line: 125
         ResizableWidgetCollection$1(Timer).fire() line: 141
         GeneratedMethodAccessor36.invoke(Object, Object[]) line: not
 available
         DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
         Method.invoke(Object, Object...) line: 592
         MethodAdaptor.invoke(Object, Object...) line: 103
         MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
         OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, int,
 BrowserChannel$Value[]) line: 157
         BrowserChannelServer
 (BrowserChannel).reactToMessagesWhileWaitingForReturn(BrowserChannel
 $SessionHandler) line: 1713
         BrowserChannelServer.invokeJavascript(CompilingClassLoader,
 JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 165
         ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) line:
 120
         ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
 [], Object[]) line: 507
         ModuleSpaceOOPHM(ModuleSpace).invokeNativeObject(String, Object,
 Class?[], Object[]) line: 264
         JavaScriptHost.invokeNativeObject(String, Object, Class?[], Object
 []) line: 91
         Impl.apply(Object, Object, Object) line: not available
         Impl.entry0(Object, Object, Object) line: 188
         GeneratedMethodAccessor29.invoke(Object, Object[]) line: not
 available
         DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
         Method.invoke(Object, Object...) line: 592
         MethodAdaptor.invoke(Object, Object...) line: 103
         MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
         OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, int,
 BrowserChannel$Value[]) line: 157
         BrowserChannelServer(BrowserChannel).reactToMessages(BrowserChannel
 $SessionHandler) line: 1668
         

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-06 Thread jvictor
That's interesting to know that it is happening with Snow Leopard as
well.  I was thinking about upgrading to Snow Leopard to see if that
would fix the problem.

I still have not found a solution to this problem, and as keyvez
noted, the issue is that a refresh takes the same amount of time as
the initial load.

I expect the initial load time to be relatively high (maybe 10 - 30
seconds depending on the module) but the subsequent refreshes are
usually fast (about 2 seconds).

Maybe this has something to do with DevMode not realizing that the
request being made is actually a refresh request and not an initial
request?

On Dec 7, 1:33 pm, keyvez key...@gmail.com wrote:
 Hi,

 I am experiencing really slow times (30-40 seconds) when I refresh the
 page on safari or firefox. It almost seems to recompile the full app
 every single time I hit refresh. I don't even change anything, and
 this the app you get when you create new Web App in eclipse. Meanwhile
 the browser hangs like it's supposed to when making a synchronous
 server request.

 Specs: Eclipse 3.5, Mac OS 10.6, Java 6 64-bit (tried with 32-bit 5
 and 6), GWT 2.0 RC2 and GPE 1.2 RC2 (tried RC1 for both of those too.

 And running it with the -Dgwt=perflog=true VM argument I receive this:

 perf? OophmSessionHandler?.loadModule Main 838ms

 perf? ModuleDef?.refresh 35ms
 perf? ResourceOracleImpl?.refresh 1ms
 perf? ResourceOracleImpl?.refresh 23ms
 perf? ResourceOracleImpl?.refresh 9ms
 perf? TypeOracleMediator?.addNewUnits 165ms
 perf? ModuleSpace?.onLoad 511ms
 perf? Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator?'
 produced 'com.company.mypackage.web.client.Application.Binder' 21ms
 perf? TypeOracleMediator?.addNewUnits 0ms
 perf? Generator
 'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator?'
 produced
 'com.company.mypackage.web.client.Application_BinderImpl_GenBundle?'
 4ms
 perf? TypeOracleMediator?.addNewUnits 0ms
 perf? Generator 'com.google.gwt.i18n.rebind.LocaleInfoGenerator?'
 produced 'com.google.gwt.i18n.client.impl.LocaleInfoImpl?' 14ms
 perf? TypeOracleMediator?.addNewUnits 0ms
 perf? Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator?'
 produced 'com.google.gwt.i18n.client.impl.CldrImpl?' 0ms

 Which doesn't tell me where the 30-40 seconds are being spent.

 Any help would be greatly appreciated.

 Thanks,
 Gaurav

 On Dec 4, 12:45 am, jd jdpatter...@gmail.com wrote:





  Also, the slowdown for me seems to be across the board.

  Right now my CPU is very high and the busy thread is doing this:

  Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U;
  Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/
  3.0.15 onhttp://localhost:/?gwt.codesvr=localhost:9997
  @ :twjON0ofi:u+0] (Suspended)
          Thread.currentThread() line: not available [native method]
          ThreadLocalT.get() line: 124
          StringCoding.deref(ThreadLocal) line: 49
          StringCoding.encode(String, char[], int, int) line: 361
          String.getBytes(String) line: 812
          BrowserChannel.writeUtf8String(DataOutputStream, String) line: 1583
          BrowserChannel$InvokeOnClientMessage.send() line: 866
          BrowserChannelServer.invokeJavascript(CompilingClassLoader,
  JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 164
          ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
  line:
  120
          ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
  [], Object[]) line: 507
          ModuleSpaceOOPHM(ModuleSpace).invokeNativeInt(String, Object, 
  Class?
  [], Object[]) line: 240
          JavaScriptHost.invokeNativeInt(String, Object, Class?[], Object[])
  line: 75
          Element$.getPropertyInt$(Element, String) line: not available
          ResizableWidgetCollection.checkWidgetSize() line: 216
          ResizableWidgetCollection$1.run() line: 125
          ResizableWidgetCollection$1(Timer).fire() line: 141
          GeneratedMethodAccessor36.invoke(Object, Object[]) line: not
  available
          DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
          Method.invoke(Object, Object...) line: 592
          MethodAdaptor.invoke(Object, Object...) line: 103
          MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
          OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, 
  int,
  BrowserChannel$Value[]) line: 157
          BrowserChannelServer
  (BrowserChannel).reactToMessagesWhileWaitingForReturn(BrowserChannel
  $SessionHandler) line: 1713
          BrowserChannelServer.invokeJavascript(CompilingClassLoader,
  JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 165
          ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
  line:
  120
          ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
  [], Object[]) line: 507
          ModuleSpaceOOPHM(ModuleSpace).invokeNativeObject(String, Object,
  Class?[], Object[]) line: 264
          

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-06 Thread fmk11
Same thing here; I'm experiencing extremely slow reloads.
I'm using Firefox 3.5.5 on Snow Leopard. I also use and external Ruby
on Rails server on http://localhost:3000 so my complete URL looks
like:

http://localhost:3000/welcome/dashboard?gwt.codesvr=192.168.1.100:9997


... for what I read here this doesn't have anything to do with my
external RoR
server.


On Dec 6, 10:45 pm, jvictor jeffvic...@gmail.com wrote:
 That's interesting to know that it is happening with Snow Leopard as
 well.  I was thinking about upgrading to Snow Leopard to see if that
 would fix the problem.

 I still have not found a solution to this problem, and as keyvez
 noted, the issue is that a refresh takes the same amount of time as
 the initial load.

 I expect the initial load time to be relatively high (maybe 10 - 30
 seconds depending on the module) but the subsequent refreshes are
 usually fast (about 2 seconds).

 Maybe this has something to do with DevMode not realizing that the
 request being made is actually a refresh request and not an initial
 request?

 On Dec 7, 1:33 pm, keyvez key...@gmail.com wrote:



  Hi,

  I am experiencing reallyslowtimes (30-40 seconds) when I refresh the
  page on safari or firefox. It almost seems to recompile the full app
  every single time I hit refresh. I don't even change anything, and
  this the app you get when you create new Web App in eclipse. Meanwhile
  the browser hangs like it's supposed to when making a synchronous
  server request.

  Specs: Eclipse 3.5, Mac OS 10.6, Java 6 64-bit (tried with 32-bit 5
  and 6), GWT2.0RC2and GPE 1.2RC2(tried RC1 for both of those too.

  And running it with the -Dgwt=perflog=true VM argument I receive this:

  perf? OophmSessionHandler?.loadModule Main 838ms

  perf? ModuleDef?.refresh 35ms
  perf? ResourceOracleImpl?.refresh 1ms
  perf? ResourceOracleImpl?.refresh 23ms
  perf? ResourceOracleImpl?.refresh 9ms
  perf? TypeOracleMediator?.addNewUnits 165ms
  perf? ModuleSpace?.onLoad 511ms
  perf? Generator 'com.google.gwt.uibinder.rebind.UiBinderGenerator?'
  produced 'com.company.mypackage.web.client.Application.Binder' 21ms
  perf? TypeOracleMediator?.addNewUnits 0ms
  perf? Generator
  'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator?'
  produced
  'com.company.mypackage.web.client.Application_BinderImpl_GenBundle?'
  4ms
  perf? TypeOracleMediator?.addNewUnits 0ms
  perf? Generator 'com.google.gwt.i18n.rebind.LocaleInfoGenerator?'
  produced 'com.google.gwt.i18n.client.impl.LocaleInfoImpl?' 14ms
  perf? TypeOracleMediator?.addNewUnits 0ms
  perf? Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator?'
  produced 'com.google.gwt.i18n.client.impl.CldrImpl?' 0ms

  Which doesn't tell me where the 30-40 seconds are being spent.

  Any help would be greatly appreciated.

  Thanks,
  Gaurav

  On Dec 4, 12:45 am, jd jdpatter...@gmail.com wrote:

   Also, the slowdown for me seems to be across the board.

   Right now my CPU is very high and the busy thread is doing this:

   Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U;
   Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/
   3.0.15 onhttp://localhost:/?gwt.codesvr=localhost:9997
   @ :twjON0ofi:u+0] (Suspended)
           Thread.currentThread() line: not available [native method]
           ThreadLocalT.get() line: 124
           StringCoding.deref(ThreadLocal) line: 49
           StringCoding.encode(String, char[], int, int) line: 361
           String.getBytes(String) line: 812
           BrowserChannel.writeUtf8String(DataOutputStream, String) line: 
   1583
           BrowserChannel$InvokeOnClientMessage.send() line: 866
           BrowserChannelServer.invokeJavascript(CompilingClassLoader,
   JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 164
           ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) 
   line:
   120
           ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, 
   Class?
   [], Object[]) line: 507
           ModuleSpaceOOPHM(ModuleSpace).invokeNativeInt(String, Object, 
   Class?
   [], Object[]) line: 240
           JavaScriptHost.invokeNativeInt(String, Object, Class?[], 
   Object[])
   line: 75
           Element$.getPropertyInt$(Element, String) line: not available
           ResizableWidgetCollection.checkWidgetSize() line: 216
           ResizableWidgetCollection$1.run() line: 125
           ResizableWidgetCollection$1(Timer).fire() line: 141
           GeneratedMethodAccessor36.invoke(Object, Object[]) line: not
   available
           DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
           Method.invoke(Object, Object...) line: 592
           MethodAdaptor.invoke(Object, Object...) line: 103
           MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
           OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, 
   int,
   BrowserChannel$Value[]) line: 157
           BrowserChannelServer
   

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-04 Thread jd
I am also using Leopard and the hang is over a minute before
anything starts to happen.

On Dec 4, 4:45 am, jvictor jeffvic...@gmail.com wrote:
 DevMode starts up quickly as you would expect inside the new eclipse
 console window and I receive the url to copy and paste into the
 browser.  The issue occurs as soon as I connect to DevMode from any
 browser.  Specifically, the browser seems to hang for about 20
 seconds and will then come back to life and my app performs normally
 from that point on.  If I do a reload of the browser I experience the
 same hanging for the same duration.  I have looked at the system
 activity monitor during this time and a java process is consuming all
 cpu.  Once the hanging is over, the java process returns to normal
 usage.

 I experience this issue with several different modules / projects
 including the default skeleton application created by GWT.

 At work I use a vanilla Ubuntu 9.04 installation and my experience
 with RC2 on that machine has shown that DevMode is very fast.
 Therefore, I suspect this has something to do with macs and java.

 On Dec 4, 5:36 am, Chris Ramsdale cramsd...@google.com wrote:



  Where are you seeing the slowness? Is it confined to initial module load (of
  a specific app maybe) or are you experiencing speed degradation across the
  board?

  On Thu, Dec 3, 2009 at 7:02 AM, jvictor jeffvic...@gmail.com wrote:
   Is anyone else experiencing *extremely* slow DevMode on a mac?  I'm
   using Leopard 10.5.8 with all of the updates and running DevMode with
   64 bit Java 6.  I experience the same slowness when using 32 bit Java
   5 as well.  I'm using 2.0 RC 2 and experience the problem using
   firefox 3.5.5 and safari.

   --

   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs
cr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-04 Thread jd
Also, the slowdown for me seems to be across the board.

Right now my CPU is very high and the busy thread is doing this:

Daemon Thread [Code server for rooms from Mozilla/5.0 (Macintosh; U;
Intel Mac OS X 10.5; en-US; rv:1.9.0.15) Gecko/2009101600 Firefox/
3.0.15 on http://localhost:/?gwt.codesvr=localhost:9997
@ :twjON0ofi:u+0] (Suspended)
Thread.currentThread() line: not available [native method]
ThreadLocalT.get() line: 124
StringCoding.deref(ThreadLocal) line: 49
StringCoding.encode(String, char[], int, int) line: 361
String.getBytes(String) line: 812
BrowserChannel.writeUtf8String(DataOutputStream, String) line: 1583
BrowserChannel$InvokeOnClientMessage.send() line: 866
BrowserChannelServer.invokeJavascript(CompilingClassLoader,
JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 164
ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) line:
120
ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
[], Object[]) line: 507
ModuleSpaceOOPHM(ModuleSpace).invokeNativeInt(String, Object, Class?
[], Object[]) line: 240
JavaScriptHost.invokeNativeInt(String, Object, Class?[], Object[])
line: 75
Element$.getPropertyInt$(Element, String) line: not available
ResizableWidgetCollection.checkWidgetSize() line: 216
ResizableWidgetCollection$1.run() line: 125
ResizableWidgetCollection$1(Timer).fire() line: 141
GeneratedMethodAccessor36.invoke(Object, Object[]) line: not
available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 592
MethodAdaptor.invoke(Object, Object...) line: 103
MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, int,
BrowserChannel$Value[]) line: 157
BrowserChannelServer
(BrowserChannel).reactToMessagesWhileWaitingForReturn(BrowserChannel
$SessionHandler) line: 1713
BrowserChannelServer.invokeJavascript(CompilingClassLoader,
JsValueOOPHM, String, JsValueOOPHM[], JsValueOOPHM) line: 165
ModuleSpaceOOPHM.doInvoke(String, Object, Class?[], Object[]) line:
120
ModuleSpaceOOPHM(ModuleSpace).invokeNative(String, Object, Class?
[], Object[]) line: 507
ModuleSpaceOOPHM(ModuleSpace).invokeNativeObject(String, Object,
Class?[], Object[]) line: 264
JavaScriptHost.invokeNativeObject(String, Object, Class?[], Object
[]) line: 91
Impl.apply(Object, Object, Object) line: not available
Impl.entry0(Object, Object, Object) line: 188
GeneratedMethodAccessor29.invoke(Object, Object[]) line: not
available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 592
MethodAdaptor.invoke(Object, Object...) line: 103
MethodDispatch.invoke(JsValue, JsValue[], JsValue) line: 71
OophmSessionHandler.invoke(BrowserChannel, BrowserChannel$Value, int,
BrowserChannel$Value[]) line: 157
BrowserChannelServer(BrowserChannel).reactToMessages(BrowserChannel
$SessionHandler) line: 1668
BrowserChannelServer.processConnection() line: 401
BrowserChannelServer.run() line: 222
Thread.run() line: 613


On Dec 4, 3:14 pm, jd jdpatter...@gmail.com wrote:
 I am also using Leopard and the hang is over a minute before
 anything starts to happen.

 On Dec 4, 4:45 am, jvictor jeffvic...@gmail.com wrote:



  DevMode starts up quickly as you would expect inside the new eclipse
  console window and I receive the url to copy and paste into the
  browser.  The issue occurs as soon as I connect to DevMode from any
  browser.  Specifically, the browser seems to hang for about 20
  seconds and will then come back to life and my app performs normally
  from that point on.  If I do a reload of the browser I experience the
  same hanging for the same duration.  I have looked at the system
  activity monitor during this time and a java process is consuming all
  cpu.  Once the hanging is over, the java process returns to normal
  usage.

  I experience this issue with several different modules / projects
  including the default skeleton application created by GWT.

  At work I use a vanilla Ubuntu 9.04 installation and my experience
  with RC2 on that machine has shown that DevMode is very fast.
  Therefore, I suspect this has something to do with macs and java.

  On Dec 4, 5:36 am, Chris Ramsdale cramsd...@google.com wrote:

   Where are you seeing the slowness? Is it confined to initial module load 
   (of
   a specific app maybe) or are you experiencing speed degradation across the
   board?

   On Thu, Dec 3, 2009 at 7:02 AM, jvictor jeffvic...@gmail.com wrote:
Is anyone else experiencing *extremely* slow DevMode on a mac?  I'm
using Leopard 10.5.8 with all of the updates and running DevMode with
64 bit Java 6.  I experience 

Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-03 Thread Chris Ramsdale
Where are you seeing the slowness? Is it confined to initial module load (of
a specific app maybe) or are you experiencing speed degradation across the
board?

On Thu, Dec 3, 2009 at 7:02 AM, jvictor jeffvic...@gmail.com wrote:

 Is anyone else experiencing *extremely* slow DevMode on a mac?  I'm
 using Leopard 10.5.8 with all of the updates and running DevMode with
 64 bit Java 6.  I experience the same slowness when using 32 bit Java
 5 as well.  I'm using 2.0 RC 2 and experience the problem using
 firefox 3.5.5 and safari.

 --

 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Very slow DevMode on Mac Leopard with GWT 2.0 RC2

2009-12-03 Thread jvictor
DevMode starts up quickly as you would expect inside the new eclipse
console window and I receive the url to copy and paste into the
browser.  The issue occurs as soon as I connect to DevMode from any
browser.  Specifically, the browser seems to hang for about 20
seconds and will then come back to life and my app performs normally
from that point on.  If I do a reload of the browser I experience the
same hanging for the same duration.  I have looked at the system
activity monitor during this time and a java process is consuming all
cpu.  Once the hanging is over, the java process returns to normal
usage.

I experience this issue with several different modules / projects
including the default skeleton application created by GWT.

At work I use a vanilla Ubuntu 9.04 installation and my experience
with RC2 on that machine has shown that DevMode is very fast.
Therefore, I suspect this has something to do with macs and java.

On Dec 4, 5:36 am, Chris Ramsdale cramsd...@google.com wrote:
 Where are you seeing the slowness? Is it confined to initial module load (of
 a specific app maybe) or are you experiencing speed degradation across the
 board?

 On Thu, Dec 3, 2009 at 7:02 AM, jvictor jeffvic...@gmail.com wrote:
  Is anyone else experiencing *extremely* slow DevMode on a mac?  I'm
  using Leopard 10.5.8 with all of the updates and running DevMode with
  64 bit Java 6.  I experience the same slowness when using 32 bit Java
  5 as well.  I'm using 2.0 RC 2 and experience the problem using
  firefox 3.5.5 and safari.

  --

  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.