Call DateTime.Now in the Candidate process accepted/tizen/7.0/unified/20240411.100502
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 9 Apr 2024 09:14:17 +0000 (18:14 +0900)
committerWoongsuk Cho <ws77.cho@samsung.com>
Wed, 10 Apr 2024 22:26:11 +0000 (07:26 +0900)
To reduce the delay that occurs when DateTime.Now is first called,
it is called in the candidate process.

Managed/Tizen.Runtime/Preloader.cs

index aa8de31..9ee6881 100644 (file)
@@ -36,6 +36,8 @@ namespace Tizen.Runtime
         {
             _ = CultureInfo.CurrentCulture.CompareInfo.Compare("abcdefghijklmnopqrstuvwxyz", "ABCDEFGHIJKLMNOPQRSTUVWXYZ", CompareOptions.IgnoreCase);
             _ = "abc".ToUpper().ToLower();
+
+            Console.WriteLine($"Preload DateTime : {DateTime.Now}");
         }
 
         public static void CoreclrPreload()