From: Woongsuk Cho Date: Tue, 9 Apr 2024 09:14:17 +0000 (+0900) Subject: Call DateTime.Now in the Candidate process X-Git-Tag: accepted/tizen/unified/20240411.142654^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae652118dacfc0772706d7209a6fc8524904f14f;p=platform%2Fcore%2Fdotnet%2Flauncher.git Call DateTime.Now in the Candidate process To reduce the delay that occurs when DateTime.Now is first called, it is called in the candidate process. --- diff --git a/Managed/Tizen.Runtime/Preloader.cs b/Managed/Tizen.Runtime/Preloader.cs index 9ee11c7..65cd966 100644 --- a/Managed/Tizen.Runtime/Preloader.cs +++ b/Managed/Tizen.Runtime/Preloader.cs @@ -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()