Skip to content

Commit 76997e6

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[benchmarks] Report VM platform file sizes under their old names for continuity of benchmarking data.
Cf. ab4f935 Change-Id: Iac3773c953c59d0a9ec60f069866a97499bc0494 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435280 Commit-Queue: Ryan Macnak <[email protected]> Reviewed-by: Alexander Aprelev <[email protected]>
1 parent 86456d1 commit 76997e6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

benchmarks/SDKArtifactSizes/dart/SDKArtifactSizes.dart

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,15 @@ void main() {
6262
reportFileSize(executablePath, executable);
6363
}
6464

65-
for (final lib in libs) {
66-
final libPath = '$rootDir/dart-sdk/lib/_internal/$lib';
67-
reportFileSize(libPath, lib);
65+
void reportLib(String lib, String name) {
66+
reportFileSize('$rootDir/dart-sdk/lib/_internal/$lib', name);
6867
}
6968

69+
// Continue reporting the file size under the old name for continuity of
70+
// benchmarking data.
71+
reportLib('vm_platform.dill', 'vm_platform_strong.dill');
72+
reportLib('vm_platform_product.dill', 'vm_platform_strong_product.dill');
73+
7074
for (final snapshot in snapshots) {
7175
final snapshotPath =
7276
'$rootDir/dart-sdk/bin/snapshots/$snapshot.dart.snapshot';

0 commit comments

Comments
 (0)