Your slowness is not a Linux vs. Windows issue: it is a Chrome plugin vs. Firefox plugin issue.
The Chrome NPAPI based plugin is known to be a lot slower than the Firefox XPCOM plugin. This is partly due to the out of process nature of plugins in chrome: each JS<->Java boundary crossing incurs extra IPC latency. Also, there are some object identity issues in the Chrome plugin model that require us to do some performance harming workarounds for the sake of correctness. We hope the object identity issues will be worked out, and we should get a speedup from that. There isn't a lot to be done for the out of process problem, and Firefox will probably head in that direction in future versions (just a guess). The Firefox plugin should install just fine on 64 bit ubuntu--I use it myself all the time. Some other distros have some shared library conflicts. FWIW, there are some troubleshooting tips in this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/9e0c72621846bb45/9daf57fd972c5fe4?lnk=gst&q=LD_DEBUG#9daf57fd972c5fe4 On Sun, Nov 7, 2010 at 12:52 PM, ussuri <[email protected]> wrote: > Hello! > > I recently switched from Windows 7 to Ubuntu for GWT development, and > I am seriously considering moving back, as GWT debugging under Linux > ("Debug as Web Application" in Eclipse) is painful - much slower than > under Windows. > > My test: same project/code (GWT front-end, GAE back-end). While on the > project page (fully loaded), I hit browser's "refresh" button, type > login credentials into the login dialog (part of my GWT app) and then > wait until I see my page with some data from GAE (also in the > debugger, in the same Eclipse workspace, different project). Measure > time. Then I hit "refresh" and login and wait until I see full page > with data. Measure time. And again. And again. > > In Linux, it consistently takes about 21-28 seconds from "refresh" to > destination page. Sometimes "refresh" never finishes, so I have to > close the tab and open a new one. Even typing credentials is slow, as > there is a noticeable delay (~1sec) between a key press and a symbol > appearing in the text box (only under the debugger/plugin; "compiled" > javascript is relatively fast). > > In Windows, it consistently takes 6-8 seconds (mostly typing) from > hitting refresh to the "after login" page. If I exclude 3-4 secs it > takes me to type credentials, linux will be ~8x times slower than > Windows. > > What can I do to speed up GWT's debugger/plugin performance in Linux? > > My set-up: > > Linux: 64bit Ubuntu, desktop edition with "linux-server" kernel; the > latest sun java x64 jdk/jre; Eclipse 3.6, GWT 2.1, AppEngine 1.8. GWT > plugin for Google Chrome (Firefox plugin fails to install, probably > because of x64 environment). > > Windows: 64bit Win 7; latest Java, same eclipse/gwt/appengine. GWT > plugin for Firefox. > > Same computer (Intel i3 quad core, 7200 rpm hdd, 4GB RAM) - dualboot, > no VMs. > > What's wrong with my set-up? Is there anything I can do to improve GWT > debugging performance under Linux? > > Regards, > MG > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
