SuperDevMode : same time between 2.6.1 and 2.7.0

222 views
Skip to first unread message

Raphael Garnier

unread,
Oct 20, 2014, 5:24:36 AM10/20/14
to google-web-tool...@googlegroups.com
Hi,

I use SuperDevMode since a while and I'm testing the new features with my project and I have exactly the same compilation time between the 2 versions. 
Is this come from the JsniBundleGenerator of GQuery ?

2.6.1 :

binding: mgwt.formfactor=desktop
Compiling module fr.agfahealthcare.cassis.CassisTablet_dev
   Computing all possible rebind results for 'fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.JqueryBundle'
      Rebinding fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.JqueryBundle
         Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
            JsniBundleGenerator - importing external javascript: fr/agfahealthcare/gwtmobiscroll/client/resources/js/jquery-2.0.3.min.js
   Computing all possible rebind results for 'fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.MobiscrollJsniResource'
      Rebinding fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.MobiscrollJsniResource
         Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
            JsniBundleGenerator - importing external javascript: fr/agfahealthcare/gwtmobiscroll/client/resources/js/mobiscroll.custom-2.9.0.min.js
   Computing all possible rebind results for 'fr.agfahealthcare.cassis.jquery.NProgress.NProgressJsniResource'
      Rebinding fr.agfahealthcare.cassis.jquery.NProgress.NProgressJsniResource
         Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
            JsniBundleGenerator - importing external javascript: fr/agfahealthcare/cassis/jquery/nprogress.js
   Computing all possible rebind results for 'fr.agfahealthcare.cassis.CassisFactoryImpl.Factory'
      Rebinding fr.agfahealthcare.cassis.CassisFactoryImpl.Factory
         Invoking generator com.google.web.bindery.autobean.gwt.rebind.AutoBeanFactoryGenerator
            [WARN] Error writing out generated unit at 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\DetailTraitementDonneesConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java': java.io.FileNotFoundException: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\DetailTraitementDonneesConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
            [WARN] Error writing out generated unit at 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\DonneesHistoriqueConsultationResponseProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java': java.io.FileNotFoundException: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\DonneesHistoriqueConsultationResponseProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
            [WARN] Error writing out generated unit at 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\MotifHospitalisationConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java': java.io.FileNotFoundException: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\MotifHospitalisationConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
   Computing all possible rebind results for 'com.google.gwt.cell.client.ImageCell.Template'
      Rebinding com.google.gwt.cell.client.ImageCell.Template
         Invoking generator com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
            Constructing interface com.google.gwt.cell.client.ImageCell.Template
               Generating method body for img()
                  Template with variable in URL attribute context: The template code generator will sanitize the URL.  Use SafeUri to specify arguments in a URL attribute context that should not be sanitized.
   Computing all possible rebind results for 'fr.agfahealthcare.cassis.jquery.JqueryHighlight.HighlightJsniResource'
      Rebinding fr.agfahealthcare.cassis.jquery.JqueryHighlight.HighlightJsniResource
         Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
            JsniBundleGenerator - importing external javascript: fr/agfahealthcare/cassis/jquery/jquery.highlight.js
   Compiling 1 permutation
      Compiling permutation 0...
      Source Maps Enabled
   Compile of permutations succeeded
Linking into D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\war\cassisTablet; Writing extras to D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\extras\cassisTablet
   Link succeeded
   Compilation succeeded -- 9,102s
Compile completed in 9256 ms


2.7.0-beta1 :

GET /recompile/cassisTablet
   Job fr.agfahealthcare.cassis.CassisTablet_dev_1_1
      starting job: fr.agfahealthcare.cassis.CassisTablet_dev_1_1
      binding: locale=fr
      binding: user.agent=safari
      Compiling module fr.agfahealthcare.cassis.CassisTablet_dev
         Computing all possible rebind results for 'fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.JqueryBundle'
            Rebinding fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.JqueryBundle
               Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
                  JsniBundleGenerator - importing external javascript: fr/agfahealthcare/gwtmobiscroll/client/resources/js/jquery-2.0.3.min.js
         Computing all possible rebind results for 'fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.MobiscrollJsniResource'
            Rebinding fr.agfahealthcare.gwtmobiscroll.client.GwtMobiscroll.MobiscrollJsniResource
               Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
                  JsniBundleGenerator - importing external javascript: fr/agfahealthcare/gwtmobiscroll/client/resources/js/mobiscroll.custom-2.9.0.min.js
         Adding '1' new generated units
            Warnings in 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-2\gen\com\google\gwt\query\client\LazyGQueryImpl.java'
               See snapshot: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\com.google.gwt.query.client.LazyGQueryImpl3364875469612506194.java
            Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to DEBUG or WARN to see all errors.
         Computing all possible rebind results for 'fr.agfahealthcare.cassis.jquery.JqueryHighlight.HighlightJsniResource'
            Rebinding fr.agfahealthcare.cassis.jquery.JqueryHighlight.HighlightJsniResource
               Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
                  JsniBundleGenerator - importing external javascript: fr/agfahealthcare/cassis/jquery/jquery.highlight.js
         Computing all possible rebind results for 'fr.agfahealthcare.cassis.jquery.NProgress.NProgressJsniResource'
            Rebinding fr.agfahealthcare.cassis.jquery.NProgress.NProgressJsniResource
               Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
                  JsniBundleGenerator - importing external javascript: fr/agfahealthcare/cassis/jquery/nprogress.js
         Computing all possible rebind results for 'com.google.gwt.cell.client.ImageCell.Template'
            Rebinding com.google.gwt.cell.client.ImageCell.Template
               Invoking generator com.google.gwt.safehtml.rebind.SafeHtmlTemplatesGenerator
                  Constructing interface com.google.gwt.cell.client.ImageCell.Template
                     Generating method body for img()
                        Template with variable in URL attribute context: The template code generator will sanitize the URL.  Use SafeUri to specify arguments in a URL attribute context that should not be sanitized.
         Computing all possible rebind results for 'fr.agfahealthcare.cassis.CassisFactoryImpl.Factory'
            Rebinding fr.agfahealthcare.cassis.CassisFactoryImpl.Factory
               Invoking generator com.google.web.bindery.autobean.gwt.rebind.AutoBeanFactoryGenerator
                  [WARN] Error writing out generated unit at 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\DetailTraitementDonneesConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java': java.io.FileNotFoundException: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\DetailTraitementDonneesConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
                  [WARN] Error writing out generated unit at 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\DonneesHistoriqueConsultationResponseProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java': java.io.FileNotFoundException: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\DonneesHistoriqueConsultationResponseProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
                  [WARN] Error writing out generated unit at 'D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\MotifHospitalisationConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java': java.io.FileNotFoundException: D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\gen\fr\agfahealthcare\cassis\consommateurs\nutrition\MotifHospitalisationConsommateurProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_google_web_bindery_requestfactory_shared_impl_ValueProxyCategory_com_google_web_bindery_requestfactory_shared_impl_BaseProxyCategory.java (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
         Unification traversed 65709 fields and methods and 5982 types. 5935 are considered part of the current module and 5935 had all of their fields and methods traversed.
         Compiling 1 permutation
            Compiling permutation 0...
            Linking per-type JS with 5919 new types.
               prelink JS size = 13603002
               prelink sourcemap = 13603002 bytes and 301640 lines
               postlink JS size = 13455181
               postlink sourcemap = 13455181 bytes and 297794 lines
            Source Maps Enabled
         Compile of permutations succeeded
         Compilation succeeded -- 9,444s
      Linking into D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\war\cassisTablet; Writing extras to D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-3\extras\cassisTablet
         Link succeeded
         Linking succeeded -- 0,374s
      10,013s total -- Compile completed
GET /sourcemaps/cassisTablet/CFFDDF4565AE00096C909853FFA5476F_sourcemap.json
   sent source map for module 'cassisTablet' in 438 ms

Thanks
Raphaël

Jens

unread,
Oct 20, 2014, 9:28:23 AM10/20/14
to google-web-tool...@googlegroups.com
Job fr.agfahealthcare.cassis.CassisTablet_dev_1_1

Indicates that this is the first compile which is not really faster. However recompiling (when you reload the browser) should happen faster. So try to change some files and recompile.

-- J.

Manuel Carrasco Moñino

unread,
Oct 20, 2014, 9:45:04 AM10/20/14
to google-web-tool...@googlegroups.com
On Mon, Oct 20, 2014 at 11:24 AM, Raphael Garnier <garnier...@gmail.com> wrote:
Hi,

I use SuperDevMode since a while and I'm testing the new features with my project and I have exactly the same compilation time between the 2 versions. 
Is this come from the JsniBundleGenerator of GQuery ?

JsniBundleGenerator is very fast if your js file is in your hard disk, which seems your case.
If the js is not modified it should be immediate when incremental-recompiling.

 

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/bd23f164-e1d6-4795-ad45-0974971e33ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raphael Garnier

unread,
Oct 20, 2014, 10:55:54 AM10/20/14
to google-web-tool...@googlegroups.com
I use -noprecompile option and the first compile is marked as 0 :

Job fr.agfahealthcare.cassis.CassisTablet_dev_1_0

and took about 22s.

But you've right, the second compilation (my topic) took less time and after that's faster than ever !!!

GET /recompile/cassisTablet
   Job fr.agfahealthcare.cassis.CassisTablet_dev_1_5
      starting job: fr.agfahealthcare.cassis.CassisTablet_dev_1_5
      binding: locale=fr
      binding: user.agent=safari
      Compiling module fr.agfahealthcare.cassis.CassisTablet_dev
         Unification traversed 811 fields and methods and 414 types. 12 are considered part of the current module and 12 had all of their fields and methods traversed.
         Compiling 1 permutation
            Compiling permutation 0...
            Linking per-type JS with 12 new types.
               prelink JS size = 44205
               prelink sourcemap = 44205 bytes and 997 lines
               postlink JS size = 13455183
               postlink sourcemap = 13455183 bytes and 297794 lines
            Source Maps Enabled
         Compile of permutations succeeded
         Compilation succeeded -- 1,100s
      Linking into D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-7\war\cassisTablet; Writing extras to D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\fr.agfahealthcare.cassis.CassisTablet_dev\compile-7\extras\cassisTablet
         Link succeeded
         Linking succeeded -- 0,273s
      1,733s total -- Compile completed

Thanks !
Reply all
Reply to author
Forward
0 new messages