diff --git a/benchmarks/SDKArtifactSizes/dart/SDKArtifactSizes.dart b/benchmarks/SDKArtifactSizes/dart/SDKArtifactSizes.dart index 0222e1165f6..a6c9a8fe05b 100644 --- a/benchmarks/SDKArtifactSizes/dart/SDKArtifactSizes.dart +++ b/benchmarks/SDKArtifactSizes/dart/SDKArtifactSizes.dart @@ -62,11 +62,15 @@ void main() { reportFileSize(executablePath, executable); } - for (final lib in libs) { - final libPath = '$rootDir/dart-sdk/lib/_internal/$lib'; - reportFileSize(libPath, lib); + void reportLib(String lib, String name) { + reportFileSize('$rootDir/dart-sdk/lib/_internal/$lib', name); } + // Continue reporting the file size under the old name for continuity of + // benchmarking data. + reportLib('vm_platform.dill', 'vm_platform_strong.dill'); + reportLib('vm_platform_product.dill', 'vm_platform_strong_product.dill'); + for (final snapshot in snapshots) { final snapshotPath = '$rootDir/dart-sdk/bin/snapshots/$snapshot.dart.snapshot';