|
|
Subject: Re: Decent development hardware for GWT ? - msg#01082
List: Google-Web-Toolkit
Heheeh...
It takes a few minutes for me as well. Maybe more than 5 minutes!
What means to have many permutations? Is it bad? In terms of code,
what it means?
Anyway... I could take 30 minutes to compile as long as it continues
to work fine for me.
[],
José Vicente
On 18 nov, 12:20, Paul Robinson <ukcue...@xxxxxxxxx> wrote:
> The javac compiles are a small fraction of the total time taken - that
> you have third party stuff and common classes javac-compiled separately
> is probably not very important to the time taken overall. It's the
> monolithic compile to javascript that's slow.
>
> What is most important is the number of permutations done in the
> compilation. For development, you should only have one permutation most
> of the time - until you need to test on multiple browsers/languages.
>
> Your gwt.xml file should have something of the form:
> <set-property name="user.agent" value="gecko1_8"/>
> for compilation only on firefox. You can use user agents "safari",
> "opera", "ie8" and "ie6". If you have a very old firefox, you can also
> use "gecko".
>
> How many permutations do you have?
>
> You can also compile more quickly by using fewer optimisations if you're
> using trunk or one of the pre-release 2.0 versions. The option is
> "-draftCompile" on my slightly old copy of trunk. It does make the
> javascript quite a bit slower though.
>
> As for hardware - first make sure you have enough RAM that you don't
> need to use virtual memory. If it's still slow after all the above, then
> a faster computer is always going to help (it made a big difference for me).
>
> HTH,
> Paul
>
>
>
> hjo1620 wrote:
> > My compiles are getting slower and slower (4 mins currently).
> > It's a not a huge app, master detail input forms, grids, tabs, menubar
> > and status bar, one servlet, ca 10 RPC calls. Third party grid,
> > compiled separetly. Common classes in a separate project, compiled
> > separetly.
>
> > WinXP SP3,
> > AMD Athlon Dual Core,
> > 2.71 GHz,
> > 7200 rpm disks
>
> > Could someone please share a hardware setup that you are happy with ?
> > Getting compiles down to at least 1 minute would be nice...
> > Would a recent and decent Dell Precision model reduce the compile
> > time ?
>
> > (I know that splitting the project into smaller parts is also part of
> > a total solution, but currently I'm mainly interested in what can be
> > achieved with hardware)
>
> > --
>
> > 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-toolkit@xxxxxxxxxxxxxxxxx
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@xxxxxxxxxxxxxxxxx
> > For more options, visit this group
> > athttp://groups.google.com/group/google-web-toolkit?hl=.
--
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-toolkit@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
google-web-toolkit+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
{Tek-Professionals} Need SQL Developer at NJ (Direct Client)
Hi,
Please let me know your interest for below position and kindly send an updated resume along with the contact details and expected rate.
Name:
Role: SQL Developer
Duration: 5 months
Loc: Trenton, NJ
Client: State govt of NJ
Description:
This Programmer is responsible for analysis, server and database migration and testing of all code and systems relevant to this contract role. There will be some testing, enhancements and possibly production support.
Role Description: This role is for a Database Developer with over 5 years of SQL Server migration experience. A qualified candidate will also have prior experience migrating from Windows Servers (2000-2003 or 2003-2008).
Some projects that interact or are critical to this contractors role:Data scrubbing and standardization of vital statistics birth data files from 1965 to present for use in the deployed EVVE and STEVE software.
Quality control, verification and transmission testing of the newly implemented EVVE and STEVE systems. Document, establish training materials and support the local registrars in the transition to the newly deployed Netsmart system.
Retire, build & replace the existing database servers which is end of life this year. Test and upgrade the existing SQL instance to SQL 2008 and implement automatic failover with a witness to database replication model.
Design new Imports/Exports and reports for the new Fetal Death and Civil Union Components of the NetSmart software to meet the data request needs submitted by the Press Officer and related data agencies.Develop & test interstate exchange export of revised death certificate national reporting
Develop & test interstate exchange export of existing fetal death certificate national reportingData load/migration, quality assurance and quality control review of the NJ-DARM Birth data. The data project is ongoing as part of the compliance with the REAL ID & Anti-terrorism Acts and will require birth data to be scanned to image & loaded to the repository from 1964 to 1901.
Test and possibly implement the replacement of the antiquated DOS EBC with Virtual machine technology on newer hardware to bridge the gap till the new EBC is in place. (Decision for implementation will be made based on tet results).
Revamp the security and permission structure of the Netsmart application to be able to address the security concerns in a Citrix environment. Verification and testing of the Citrix environment to be utilized by the local registrars to initiate infrastructure for the deployment of access to the data warehouse. (This deliverable was not completed in the last contract due to delays in obtaining the Citrix licenses and set up through DHS.)
Definition and design of enterprise components and access rules for Governor Corzine's Verification Engine Project for NJ Family Care enrollment. Development of the VS portion of expansion of the Verification Engine Project beyond NJ Family Care, to link to a single web interface that will query various state and federal agencies.
Plan all required process steps.Review and understand the Application Team’s workplan.Provide status of work to Team Lead.Anticipate, identify, track and resolve issues and risks affecting own work and work of the Application Team. Develop contingency plans as necessary.
Engage in ongoing process improvement.Detailed functional and process knowledge.Utilize deep modeling, design and coding skills.Provide expertise in one or more database environments."
-- Thanks and RegardsPrashanth CELERSYSTEMSWork: 916-458-5575 Email: prashanth@xxxxxxxxxxxxxxxxIM: prashanth_rec (Yahoo)
Gtalk: Prashanth.rec
Next Message by Date:
click to view message preview
Re: just completed the stockwatcher tutorial..
If you just want to test it in a browser click the Compile/Browse
button in the hosted mode browser and that kicked off Firefox for me.
That red toolbox on the menu runs the compiler so I don't think you
need to mess with a build.xml
when you run the compiler you get something like:
Compiling module com.google.gwt.sample.stockwatcher.StockWatcher
Compiling 6 permutations
Permutation compile succeeded
Linking into /Users/james/Documents/workspace/StockWatcher/war
Link succeeded
Compilation succeeded -- 17.020s
Have you tried copying that war file in the path of Apache?
I use AppEngine so have not worked directly w/ Apache locally.
Check to make sure any extra libs you used are in war/WEB-INF/lib/
before you compile.
--
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-toolkit@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
google-web-toolkit+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.
Previous Message by Thread:
click to view message preview
Re: Decent development hardware for GWT ?
The javac compiles are a small fraction of the total time taken - that
you have third party stuff and common classes javac-compiled separately
is probably not very important to the time taken overall. It's the
monolithic compile to javascript that's slow.
What is most important is the number of permutations done in the
compilation. For development, you should only have one permutation most
of the time - until you need to test on multiple browsers/languages.
Your gwt.xml file should have something of the form:
<set-property name="user.agent" value="gecko1_8"/>
for compilation only on firefox. You can use user agents "safari",
"opera", "ie8" and "ie6". If you have a very old firefox, you can also
use "gecko".
How many permutations do you have?
You can also compile more quickly by using fewer optimisations if you're
using trunk or one of the pre-release 2.0 versions. The option is
"-draftCompile" on my slightly old copy of trunk. It does make the
javascript quite a bit slower though.
As for hardware - first make sure you have enough RAM that you don't
need to use virtual memory. If it's still slow after all the above, then
a faster computer is always going to help (it made a big difference for me).
HTH,
Paul
hjo1620 wrote:
> My compiles are getting slower and slower (4 mins currently).
> It's a not a huge app, master detail input forms, grids, tabs, menubar
> and status bar, one servlet, ca 10 RPC calls. Third party grid,
> compiled separetly. Common classes in a separate project, compiled
> separetly.
>
> WinXP SP3,
> AMD Athlon Dual Core,
> 2.71 GHz,
> 7200 rpm disks
>
> Could someone please share a hardware setup that you are happy with ?
> Getting compiles down to at least 1 minute would be nice...
> Would a recent and decent Dell Precision model reduce the compile
> time ?
>
> (I know that splitting the project into smaller parts is also part of
> a total solution, but currently I'm mainly interested in what can be
> achieved with hardware)
>
> --
>
> 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-toolkit@xxxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@xxxxxxxxxxxxxxxxx
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=.
>
>
>
>
--
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-toolkit@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
google-web-toolkit+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.
Next Message by Thread:
click to view message preview
Re: Decent development hardware for GWT ?
Zé Vicente wrote:
> What means to have many permutations? Is it bad? In terms of code,
> what it means?
>
When gwt compiles to javascript, one of the output lines says something
like "Compiling 6 permutations". The number of permutations is the
number of browsers your compiling for, multiplied by the number of
languages. You can also get more permutations for other reasons,
depending on what you're doing.
Each permutation takes time to process. The more you have, the longer
the compile.
There's nothing wrong with lots of permutations, except that for
development, you generally only need to compile for one browser and one
language at a time. So your dev cycle should involve compiling for only
one permutation so that the compile is as quick as possible.
Paul
--
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-toolkit@xxxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
google-web-toolkit+unsubscribe@xxxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=.
|
|