Skip to content

Commit 09ce0a5

Browse files
committed
[tests] Enable ReadyToRun app size test.
1 parent 33cafbb commit 09ce0a5

4 files changed

Lines changed: 504592 additions & 12 deletions

File tree

tests/dotnet/UnitTests/AppSizeTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public void CoreCLR_Interpreter (ApplePlatform platform, string runtimeIdentifie
3535
}
3636

3737
[TestCase (ApplePlatform.iOS, "ios-arm64")]
38-
[Ignore ("R2R is not implemented yet")]
3938
public void CoreCLR_R2R (ApplePlatform platform, string runtimeIdentifiers)
4039
{
4140
Run (platform, runtimeIdentifiers, "Release", $"{platform}-CoreCLR-R2R", true, new Dictionary<string, string> () { { "UseMonoRuntime", "false" }, { "PublishReadyToRun", "true" } });

tests/dotnet/UnitTests/expected/iOS-CoreCLR-Interpreter-size.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
AppBundleSize: 224,484,157 bytes (219,222.8 KB = 214.1 MB)
1+
AppBundleSize: 224,480,544 bytes (219,219.3 KB = 214.1 MB)
22
# The following list of files and their sizes is just informational / for review, and isn't used in the test:
33
_CodeSignature/CodeResources: 46,829 bytes (45.7 KB = 0.0 MB)
44
archived-expanded-entitlements.xcent: 384 bytes (0.4 KB = 0.0 MB)
5-
Info.plist: 1,167 bytes (1.1 KB = 0.0 MB)
6-
libcoreclr.dylib: 6,645,184 bytes (6,489.4 KB = 6.3 MB)
7-
libmscordaccore.dylib: 2,339,216 bytes (2,284.4 KB = 2.2 MB)
8-
libmscordbi.dylib: 1,868,992 bytes (1,825.2 KB = 1.8 MB)
9-
libSystem.Globalization.Native.dylib: 110,512 bytes (107.9 KB = 0.1 MB)
10-
libSystem.IO.Compression.Native.dylib: 891,856 bytes (871.0 KB = 0.9 MB)
11-
libSystem.Native.dylib: 163,696 bytes (159.9 KB = 0.2 MB)
12-
libSystem.Net.Security.Native.dylib: 88,336 bytes (86.3 KB = 0.1 MB)
13-
libSystem.Security.Cryptography.Native.Apple.dylib: 218,256 bytes (213.1 KB = 0.2 MB)
5+
Info.plist: 1,138 bytes (1.1 KB = 0.0 MB)
6+
libcoreclr.dylib: 6,692,608 bytes (6,535.8 KB = 6.4 MB)
7+
libmscordaccore.dylib: 2,386,528 bytes (2,330.6 KB = 2.3 MB)
8+
libmscordbi.dylib: 1,852,576 bytes (1,809.2 KB = 1.8 MB)
9+
libSystem.Globalization.Native.dylib: 94,032 bytes (91.8 KB = 0.1 MB)
10+
libSystem.IO.Compression.Native.dylib: 875,296 bytes (854.8 KB = 0.8 MB)
11+
libSystem.Native.dylib: 147,168 bytes (143.7 KB = 0.1 MB)
12+
libSystem.Net.Security.Native.dylib: 71,824 bytes (70.1 KB = 0.1 MB)
13+
libSystem.Security.Cryptography.Native.Apple.dylib: 201,856 bytes (197.1 KB = 0.2 MB)
1414
Microsoft.CSharp.dll: 1,179,648 bytes (1,152.0 KB = 1.1 MB)
1515
Microsoft.iOS.dll: 32,587,776 bytes (31,824.0 KB = 31.1 MB)
1616
Microsoft.VisualBasic.Core.dll: 1,310,720 bytes (1,280.0 KB = 1.2 MB)
@@ -21,7 +21,7 @@ mscorlib.dll: 917,504 bytes (896.0 KB = 0.9 MB)
2121
netstandard.dll: 983,040 bytes (960.0 KB = 0.9 MB)
2222
PkgInfo: 8 bytes (0.0 KB = 0.0 MB)
2323
runtimeconfig.bin: 1,481 bytes (1.4 KB = 0.0 MB)
24-
SizeTestApp: 2,893,264 bytes (2,825.5 KB = 2.8 MB)
24+
SizeTestApp: 2,893,328 bytes (2,825.5 KB = 2.8 MB)
2525
SizeTestApp.dll: 7,680 bytes (7.5 KB = 0.0 MB)
2626
System.AppContext.dll: 917,504 bytes (896.0 KB = 0.9 MB)
2727
System.Buffers.dll: 917,504 bytes (896.0 KB = 0.9 MB)

0 commit comments

Comments
 (0)