You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fetching the local time zone on Win10 (which happens by default if no time zone is given in calls to FormatTime()) combase.dll is loaded and the WinRT runtime is initialized for each call. This is very slow when profiling (we observed ~300ms per call in VTune) and and as a result makes profiling more or less unusable.
Even in scenarios other than profiling this seems to be excessive.
Steps to reproduce the problem
We experienced this issue when profiling with VTune. Among others, the function RoInitialize() shows up as the most expensive function when doing a gRPC call. Even though the abseil documentation says it is preferred to pass the time zone explicitly, in practice gRPC calls this function here and here. Also see: grpc/grpc#37766
What version of Abseil are you using?
20230802.1
What operating system and version are you using?
The library was compiled on Windows Server 2022 and the program is executed on Windows 10 Enterprise 22H2.
What compiler and version are you using?
MSVC build tools version 14.36.17.6
What build system are you using?
CMake via Conan
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the issue
When fetching the local time zone on Win10 (which happens by default if no time zone is given in calls to
FormatTime()
) combase.dll is loaded and the WinRT runtime is initialized for each call. This is very slow when profiling (we observed ~300ms per call in VTune) and and as a result makes profiling more or less unusable.Even in scenarios other than profiling this seems to be excessive.
Steps to reproduce the problem
We experienced this issue when profiling with VTune. Among others, the function
RoInitialize()
shows up as the most expensive function when doing a gRPC call. Even though the abseil documentation says it is preferred to pass the time zone explicitly, in practice gRPC calls this function here and here. Also see: grpc/grpc#37766What version of Abseil are you using?
20230802.1
What operating system and version are you using?
The library was compiled on Windows Server 2022 and the program is executed on Windows 10 Enterprise 22H2.
What compiler and version are you using?
MSVC build tools version 14.36.17.6
What build system are you using?
CMake via Conan
Additional context
No response
The text was updated successfully, but these errors were encountered: