Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The latest dev sdk is ~50% bigger than the last stable release #36820

Closed
jakemac53 opened this issue May 1, 2019 · 0 comments
Closed

The latest dev sdk is ~50% bigger than the last stable release #36820

jakemac53 opened this issue May 1, 2019 · 0 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Milestone

Comments

@jakemac53
Copy link
Contributor

This probably isn't blocking or anything but we should try and trim it down if possible for the next release, and in general it would be good to track this over time.

I didn't deep dive into the numbers but of the total increase of 131MB:

  • 46MB is from bin/snapshots
  • 68M is from the new lib/_internal/abiversions directory

Here is the output of du -h in the sdk for 2.3.0-dev.0.5:

16K	dart-sdk-latest/lib/web_sql/dart2js
20K	dart-sdk-latest/lib/web_sql
44K	dart-sdk-latest/lib/indexed_db/dart2js
48K	dart-sdk-latest/lib/indexed_db
1.2M	dart-sdk-latest/lib/html/dart2js
60K	dart-sdk-latest/lib/html/html_common
8.0K	dart-sdk-latest/lib/html/dartium
1.3M	dart-sdk-latest/lib/html
60K	dart-sdk-latest/lib/mirrors
40K	dart-sdk-latest/lib/developer
24K	dart-sdk-latest/lib/ffi
20K	dart-sdk-latest/lib/cli
176K	dart-sdk-latest/lib/collection
348K	dart-sdk-latest/lib/async
128K	dart-sdk-latest/lib/svg/dart2js
132K	dart-sdk-latest/lib/svg
28K	dart-sdk-latest/lib/js/dart2js
44K	dart-sdk-latest/lib/js
348K	dart-sdk-latest/lib/_http
428K	dart-sdk-latest/lib/io
96K	dart-sdk-latest/lib/typed_data
32K	dart-sdk-latest/lib/_internal/js_runtime/lib/preambles
24K	dart-sdk-latest/lib/_internal/js_runtime/lib/shared
728K	dart-sdk-latest/lib/_internal/js_runtime/lib
740K	dart-sdk-latest/lib/_internal/js_runtime
17M	dart-sdk-latest/lib/_internal/abiversions/1
17M	dart-sdk-latest/lib/_internal/abiversions/4
4.0K	dart-sdk-latest/lib/_internal/abiversions/.cipd/tmp
8.0K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/0/6LCOCG-xF6D6LPl28AFM-98SAiWxASkAC1Q4Ysqy6-sC/.cipdpkg
12K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/0/6LCOCG-xF6D6LPl28AFM-98SAiWxASkAC1Q4Ysqy6-sC
20K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/0
8.0K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/1/u3yUL1rI39yvHUTyeIz_bxg4iWvoWXfTAkJkWpvaf-sC/.cipdpkg
12K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/1/u3yUL1rI39yvHUTyeIz_bxg4iWvoWXfTAkJkWpvaf-sC
20K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/1
8.0K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/3/S2kNgwD3EpSBDpmuhimG8ht8HGSlqqKrtX4oNjseLgEC/.cipdpkg
12K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/3/S2kNgwD3EpSBDpmuhimG8ht8HGSlqqKrtX4oNjseLgEC
20K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/3
8.0K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/2/oBDrGPPbKJCbwlAX8V73mQcvs1d3__McdQ5ws2oEppQC/.cipdpkg
12K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/2/oBDrGPPbKJCbwlAX8V73mQcvs1d3__McdQ5ws2oEppQC
20K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs/2
84K	dart-sdk-latest/lib/_internal/abiversions/.cipd/pkgs
92K	dart-sdk-latest/lib/_internal/abiversions/.cipd
17M	dart-sdk-latest/lib/_internal/abiversions/3
18M	dart-sdk-latest/lib/_internal/abiversions/2
68M	dart-sdk-latest/lib/_internal/abiversions
16K	dart-sdk-latest/lib/_internal/sdk_library_metadata/lib
24K	dart-sdk-latest/lib/_internal/sdk_library_metadata
102M	dart-sdk-latest/lib/_internal
12K	dart-sdk-latest/lib/profiler
168K	dart-sdk-latest/lib/convert
12K	dart-sdk-latest/lib/js_util/dart2js
16K	dart-sdk-latest/lib/js_util
108K	dart-sdk-latest/lib/internal
128K	dart-sdk-latest/lib/web_gl/dart2js
132K	dart-sdk-latest/lib/web_gl
44K	dart-sdk-latest/lib/_chrome/dart2js
48K	dart-sdk-latest/lib/_chrome
48K	dart-sdk-latest/lib/web_audio/dart2js
52K	dart-sdk-latest/lib/web_audio
516K	dart-sdk-latest/lib/core
4.5M	dart-sdk-latest/lib/dev_compiler/kernel/es6
4.5M	dart-sdk-latest/lib/dev_compiler/kernel/common
4.9M	dart-sdk-latest/lib/dev_compiler/kernel/amd
4.8M	dart-sdk-latest/lib/dev_compiler/kernel/legacy
19M	dart-sdk-latest/lib/dev_compiler/kernel
2.4M	dart-sdk-latest/lib/dev_compiler/web
6.2M	dart-sdk-latest/lib/dev_compiler/es6
6.2M	dart-sdk-latest/lib/dev_compiler/common
6.5M	dart-sdk-latest/lib/dev_compiler/amd
6.5M	dart-sdk-latest/lib/dev_compiler/legacy
47M	dart-sdk-latest/lib/dev_compiler
44K	dart-sdk-latest/lib/isolate
40K	dart-sdk-latest/lib/math
152M	dart-sdk-latest/lib
144K	dart-sdk-latest/include
168K	dart-sdk-latest/bin/snapshots/resources/dartdoc/templates
636K	dart-sdk-latest/bin/snapshots/resources/dartdoc/resources/css
792K	dart-sdk-latest/bin/snapshots/resources/dartdoc/resources
968K	dart-sdk-latest/bin/snapshots/resources/dartdoc
972K	dart-sdk-latest/bin/snapshots/resources
228M	dart-sdk-latest/bin/snapshots
5.6M	dart-sdk-latest/bin/utils
263M	dart-sdk-latest/bin
415M	dart-sdk-latest/

And for 2.2.0:

16K	dart-sdk-2.2/lib/web_sql/dart2js
20K	dart-sdk-2.2/lib/web_sql
44K	dart-sdk-2.2/lib/indexed_db/dart2js
48K	dart-sdk-2.2/lib/indexed_db
1.2M	dart-sdk-2.2/lib/html/dart2js
60K	dart-sdk-2.2/lib/html/html_common
8.0K	dart-sdk-2.2/lib/html/dartium
1.3M	dart-sdk-2.2/lib/html
60K	dart-sdk-2.2/lib/mirrors
40K	dart-sdk-2.2/lib/developer
24K	dart-sdk-2.2/lib/ffi
20K	dart-sdk-2.2/lib/cli
176K	dart-sdk-2.2/lib/collection
348K	dart-sdk-2.2/lib/async
128K	dart-sdk-2.2/lib/svg/dart2js
132K	dart-sdk-2.2/lib/svg
28K	dart-sdk-2.2/lib/js/dart2js
44K	dart-sdk-2.2/lib/js
348K	dart-sdk-2.2/lib/_http
428K	dart-sdk-2.2/lib/io
96K	dart-sdk-2.2/lib/typed_data
32K	dart-sdk-2.2/lib/_internal/js_runtime/lib/preambles
24K	dart-sdk-2.2/lib/_internal/js_runtime/lib/shared
724K	dart-sdk-2.2/lib/_internal/js_runtime/lib
736K	dart-sdk-2.2/lib/_internal/js_runtime
16K	dart-sdk-2.2/lib/_internal/sdk_library_metadata/lib
24K	dart-sdk-2.2/lib/_internal/sdk_library_metadata
31M	dart-sdk-2.2/lib/_internal
12K	dart-sdk-2.2/lib/profiler
168K	dart-sdk-2.2/lib/convert
12K	dart-sdk-2.2/lib/js_util/dart2js
16K	dart-sdk-2.2/lib/js_util
108K	dart-sdk-2.2/lib/internal
128K	dart-sdk-2.2/lib/web_gl/dart2js
132K	dart-sdk-2.2/lib/web_gl
44K	dart-sdk-2.2/lib/_chrome/dart2js
48K	dart-sdk-2.2/lib/_chrome
48K	dart-sdk-2.2/lib/web_audio/dart2js
52K	dart-sdk-2.2/lib/web_audio
516K	dart-sdk-2.2/lib/core
4.5M	dart-sdk-2.2/lib/dev_compiler/kernel/es6
4.5M	dart-sdk-2.2/lib/dev_compiler/kernel/common
4.8M	dart-sdk-2.2/lib/dev_compiler/kernel/amd
4.7M	dart-sdk-2.2/lib/dev_compiler/kernel/legacy
19M	dart-sdk-2.2/lib/dev_compiler/kernel
2.5M	dart-sdk-2.2/lib/dev_compiler/web
6.2M	dart-sdk-2.2/lib/dev_compiler/es6
6.2M	dart-sdk-2.2/lib/dev_compiler/common
6.5M	dart-sdk-2.2/lib/dev_compiler/amd
6.4M	dart-sdk-2.2/lib/dev_compiler/legacy
46M	dart-sdk-2.2/lib/dev_compiler
40K	dart-sdk-2.2/lib/isolate
40K	dart-sdk-2.2/lib/math
81M	dart-sdk-2.2/lib
144K	dart-sdk-2.2/include
168K	dart-sdk-2.2/bin/snapshots/resources/dartdoc/templates
636K	dart-sdk-2.2/bin/snapshots/resources/dartdoc/resources/css
792K	dart-sdk-2.2/bin/snapshots/resources/dartdoc/resources
968K	dart-sdk-2.2/bin/snapshots/resources/dartdoc
972K	dart-sdk-2.2/bin/snapshots/resources
182M	dart-sdk-2.2/bin/snapshots
203M	dart-sdk-2.2/bin
284M	dart-sdk-2.2
@jakemac53 jakemac53 added this to the D24 Release milestone May 1, 2019
dart-bot pushed a commit that referenced this issue May 1, 2019
Bug: #36820
Change-Id: Ibdfe4e1b7431b87be155c6559ce2db019f8a54e6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100992
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Liam Appelbe <liama@google.com>
@dgrove dgrove added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

3 participants