The project has 48 modules and a total of 206 java files. there is 2 java files in the main module , the entry point class and the entry point interface only. this main module adds all other modules as dependencies.
* Fresh j2cl compilation with ADVANCED mode on, file size is 747KB:
Recompile of 2 source classes finished in 35801ms
poll: 48millis
javac: 440millis
j2cl: 1102millis
jscomp: 34137millis
* Compilation after changing one file - the entry point file -
0 error(s), 1 warning(s), 98.7% typed
Recompile of 1 source classes finished in 19923ms
poll: 0millis
javac: 139millis
j2cl: 164millis
jscomp: 19616millis
Result file size :
BUNDLED mode file size is 22MB
Fresh j2cl compilation in BUNDLED mode :
2 updated java files
Recompile of 2 source classes finished in 8491ms
poll: 2millis
javac: 144millis
j2cl: 67millis
jscomp: 8274millis
* Compilation after changing one file - the entry point file -
1 updated java files
Recompile of 1 source classes finished in 2706ms
poll: 0millis
javac: 113millis
j2cl: 78millis
jscomp: 2513millis
* Compilation after changing one file for 2nd time - the entry point file-
1 updated java files
Recompile of 1 source classes finished in 1905ms
poll: 1millis
javac: 83millis
j2cl: 47millis
jscomp: 1773millis
Result file size :
Comparing with gwt2
Fresh gwt2 compilation results
[INFO] --- gwt-maven-plugin:1.0-rc-9:compile (default-compile) @ ui-demo-frontend ---
[INFO] Compiling module org.dominokit.domino.ui.demo.AppClientModule
[INFO] Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] Source Maps Enabled
[INFO] Compile of permutations succeeded
[INFO] Compilation succeeded -- 29.240s
[INFO] Linking into /mnt/CODE/GIT/domino-kit/domino-ui-demo/ui-demo-frontend/target/ui-demo-frontend-1.0-SNAPSHOT/app; Writing extras to /mnt/CODE/GIT/domino-kit/domino-ui-demo/ui-demo-frontend/target/gwt/extra/app
[INFO] Link succeeded
[INFO] Linking succeeded -- 0.299s
* Super dev mode compilation on first refresh:
[INFO] GET /recompile/app
[INFO] Job org.dominokit.domino.ui.demo.AppClientModule_1_0
[INFO] starting job: org.dominokit.domino.ui.demo.AppClientModule_1_0
[INFO] binding: user.agent=safari
[INFO] Compiling module org.dominokit.domino.ui.demo.AppClientModule
[INFO] Unification traversed 605 fields and methods and 217 types. 0 are considered part of the current module and 8 had all of their fields and methods traversed.
[INFO] Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] Linking per-type JS with 0 new/changed types.
[INFO] Source Maps Enabled
[INFO] Compile of permutations succeeded
[INFO] Compilation succeeded -- 2.566s
[INFO] Linking into /mnt/CODE/GIT/domino-kit/domino-ui-demo/target/gwt/codeserver/org.dominokit.domino.ui.demo.AppClientModule/compile-2/war/app; Writing extras to /mnt/CODE/GIT/domino-kit/domino-ui-demo/target/gwt/codeserver/org.dominokit.domino.ui.demo.AppClientModule/compile-2/extras/app
[INFO] Link succeeded
[INFO] Linking succeeded -- 0.313s
[INFO] 3.547s total -- Compile completed
[INFO] GET /sourcemaps/app/E05FBD751D4F15E0E88D917AA6F42AE0_sourcemap.json
[INFO] sent source map for module 'app' in 97 ms
* Super dev mode compilation after changing one file - the entry point file -
[INFO] GET /recompile/app
[INFO] Job org.dominokit.domino.ui.demo.AppClientModule_1_1
[INFO] starting job: org.dominokit.domino.ui.demo.AppClientModule_1_1
[INFO] binding: user.agent=safari
[INFO] Compiling module org.dominokit.domino.ui.demo.AppClientModule
[INFO] Unification traversed 702 fields and methods and 254 types. 2 are considered part of the current module and 10 had all of their fields and methods traversed.
[INFO] Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] Linking per-type JS with 2 new/changed types.
[INFO] Source Maps Enabled
[INFO] Compile of permutations succeeded
[INFO] Compilation succeeded -- 0.966s
[INFO] Linking into /mnt/CODE/GIT/domino-kit/domino-ui-demo/target/gwt/codeserver/org.dominokit.domino.ui.demo.AppClientModule/compile-3/war/app; Writing extras to /mnt/CODE/GIT/domino-kit/domino-ui-demo/target/gwt/codeserver/org.dominokit.domino.ui.demo.AppClientModule/compile-3/extras/app
[INFO] Link succeeded
[INFO] Linking succeeded -- 0.098s
[INFO] 1.291s total -- Compile completed
[INFO] GET /sourcemaps/app/A0CECC5F0A6FE9C682AA82F3BA78123C_sourcemap.json
[INFO] sent source map for module 'app' in 71 ms
*Super dev mode compilation after changing one file 2nd time - the entry point file -
[INFO] GET /recompile/app
[INFO] Job org.dominokit.domino.ui.demo.AppClientModule_1_2
[INFO] starting job: org.dominokit.domino.ui.demo.AppClientModule_1_2
[INFO] binding: user.agent=safari
[INFO] Compiling module org.dominokit.domino.ui.demo.AppClientModule
[INFO] Unification traversed 702 fields and methods and 254 types. 2 are considered part of the current module and 10 had all of their fields and methods traversed.
[INFO] Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] Linking per-type JS with 2 new/changed types.
[INFO] Source Maps Enabled
[INFO] Compile of permutations succeeded
[INFO] Compilation succeeded -- 0.864s
[INFO] Linking into /mnt/CODE/GIT/domino-kit/domino-ui-demo/target/gwt/codeserver/org.dominokit.domino.ui.demo.AppClientModule/compile-4/war/app; Writing extras to /mnt/CODE/GIT/domino-kit/domino-ui-demo/target/gwt/codeserver/org.dominokit.domino.ui.demo.AppClientModule/compile-4/extras/app
[INFO] Link succeeded
[INFO] Linking succeeded -- 0.082s
[INFO] 1.132s total -- Compile completed
[INFO] GET /sourcemaps/app/E05FBD751D4F15E0E88D917AA6F42AE0_sourcemap.json
[INFO] sent source map for module 'app' in 65 ms
SOYC report results
Full code size
779,484 Bytes
Initial download size
145,669 Bytes
Left over code
47,236 Bytes
Report
knowing that I have around 174KB of string literals