Switch to Box2D 2.2.1.1 which is GWT compatible hence a better reference.
Integration tests size report:
**************************************
-There are 0 optimized size changes.
-Total size (of already existing tests) did not change.
+There are 4 optimized size changes.
+Total optimized size (of already existing tests) changed from
+ 1209379 to 1135440 bytes (100%->93.9%) and from
+ 448458 to 418120 bytes (100%->93.2%) gzipped.
Shrinkage report highlights:
**************************************
- none
+ old new
+ 33202 25912 box2d_noclassmetadata_checksmin (-22.0%)
+ 34665 27064 box2d_noclassmetadata_checksopt (-21.9%)
+ 36508 28946 box2d_noclassmetadata (-20.7%)
+ 38686 30801 box2d_default (-20.4%)
Expansion report highlights:
@@ -17,10 +23,10 @@ Expansion report highlights:
Uncompiled bundle reports:
**************************************
old new
- 11369079 10824059 box2d_default (-4.8%)
- 6951714 6939184 box2d_default.minified (-0.2%)
- 3389505 3206005 emptyclass (-5.4%)
- 2129914 2125564 emptyclass.minified (-0.2%)
+ 10824059 5039375 box2d_default (-53.4%)
+ 6939184 3149735 box2d_default.minified (-54.6%)
+ 3206005 3206005 emptyclass (unchanged)
+ 2125564 2125564 emptyclass.minified (unchanged)
All reports:
@@ -45,10 +51,10 @@ All reports:
1089 1089 backwardbridgemethod (unchanged)
2662 2662 binaryexpressions (unchanged)
1031 1031 blockscoping (unchanged)
- 38686 38686 box2d_default (unchanged)
- 36508 36508 box2d_noclassmetadata (unchanged)
- 33202 33202 box2d_noclassmetadata_checksmin (unchanged)
- 34665 34665 box2d_noclassmetadata_checksopt (unchanged)
+ 38686 30801 box2d_default (-20.4%)
+ 36508 28946 box2d_noclassmetadata (-20.7%)
+ 33202 25912 box2d_noclassmetadata_checksmin (-22.0%)
+ 34665 27064 box2d_noclassmetadata_checksopt (-21.9%)
3479 3479 boxingsideeffect (unchanged)
1078 1078 breakstatement (unchanged)
2201 2201 bridgejsmethod (unchanged)
