Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: README.md

Issue 1300513005: Add constant info to the dart2js_info model (Closed) Base URL: git@github.com:dart-lang/dart2js_info.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | bin/debug_info.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 558d8079a17b9480fde59e39cf7a688dd16eecff..5ba0d38f90f2d830e2a434f6244073e6bd68e034 100644
--- a/README.md
+++ b/README.md
@@ -150,15 +150,12 @@ Here is an example configuration, with comments about what each entry does:
```yaml
groups:
-# This group shows the total size of all libraries together, it is shown in
-# cluster #3, which happens to be the last cluster in this example:
-- name: "Total (excludes preambles, statics & consts)"
- regexp: ".*"
- cluster: 3
-
# This group shows the total size for all libraries that were loaded from
-# file:// urls:
-- { name: "Loose files", regexp: "file://.*", cluster: 2}
+# file:// urls, it is shown in cluster #2, which happens to be the last
+# cluster in this example before the totals are shown:
+- name: "Loose files"
+ regexp: "file://.*"
+ cluster: 2
# This group shows the total size of all code loaded from packages:
- { name: "All packages", regexp: "package:.*", cluster: 2}
@@ -181,6 +178,13 @@ from a file:// url, and we use as a name the relative path to it.
- regexp: "file:///my/project/dir/(.*)"
```
+Regardless of the grouping configuration, the tool will display the total code
+size attributed of all libraries, constants, and the program size.
+
+**Note**: eventually you should expect all numbers to add up to the program
+size. Currently dart2js's `--dump-info` is not complete, so numbers for
+bootstraping code and lazy static initializers are missing.
+
### Function size analysis tool
This command-line tool presents how much each function contributes to the total
« no previous file with comments | « CHANGELOG.md ('k') | bin/debug_info.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698