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

Unified Diff: benchmarks/binary_size/FletchARMBinarySize.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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 | « WATCHLISTS ('k') | benchmarks/messaging/InterProcessPort.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmarks/binary_size/FletchARMBinarySize.dart
diff --git a/benchmarks/binary_size/FletchARMBinarySize.dart b/benchmarks/binary_size/FletchARMBinarySize.dart
index 37000688f3ba2cce727ba645e8b534b3535ceeaf..855458cefc21873db81ddafcf083dab35665f58d 100644
--- a/benchmarks/binary_size/FletchARMBinarySize.dart
+++ b/benchmarks/binary_size/FletchARMBinarySize.dart
@@ -9,33 +9,33 @@ List<String> trimAll(List<String> list) {
}
void main() {
- // Compute the binary size of Fletch when linked into an LK+Fletch
+ // Compute the binary size of Dartino when linked into an LK+Dartino
// image. The computation is based on two files containing output
// from the 'size' program on Linux.
//
// The output from 'size' contains two lines of the form:
//
// text data bss dec hex filename
- // 25695 537 8240 34472 86a8 out/DebugIA32/fletch
+ // 25695 537 8240 34472 86a8 out/DebugIA32/dartino
Uri executable = new Uri.file(Platform.resolvedExecutable);
Uri lkBaselineSizeFile = executable.resolve('lk_sizes_baseline.txt');
- Uri lkFletchSizeFile = executable.resolve('lk_sizes_fletch.txt');
+ Uri lkDartinoSizeFile = executable.resolve('lk_sizes_dartino.txt');
List<String> baselineLines =
new File(lkBaselineSizeFile.toFilePath()).readAsLinesSync();
- List<String> fletchLines =
- new File(lkFletchSizeFile.toFilePath()).readAsLinesSync();
+ List<String> dartinoLines =
+ new File(lkDartinoSizeFile.toFilePath()).readAsLinesSync();
List<String> baselineKeys = trimAll(baselineLines[0].split('\t'));
List<String> baselineValues = trimAll(baselineLines[1].split('\t'));
- List<String> fletchKeys = trimAll(fletchLines[0].split('\t'));
- List<String> fletchValues = trimAll(fletchLines[1].split('\t'));
+ List<String> dartinoKeys = trimAll(dartinoLines[0].split('\t'));
+ List<String> dartinoValues = trimAll(dartinoLines[1].split('\t'));
List<String> interestingKeys = ['text', 'data', 'bss'];
for (int i = 0; i < baselineKeys.length; i++) {
for (var key in interestingKeys) {
if (baselineKeys[i] == key) {
- int lkFletchValue = int.parse(fletchValues[i]);
+ int lkDartinoValue = int.parse(dartinoValues[i]);
int lkBaselineValue = int.parse(baselineValues[i]);
- int fletchSize = lkFletchValue - lkBaselineValue;
- print("FletchARMBinarySize_$key(CodeSize): ${fletchSize}");
+ int dartinoSize = lkDartinoValue - lkBaselineValue;
+ print("DartinoARMBinarySize_$key(CodeSize): ${dartinoSize}");
}
}
}
« no previous file with comments | « WATCHLISTS ('k') | benchmarks/messaging/InterProcessPort.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698