Skip to content

DateTime.Now takes 1 second to execute on WSL #24839

@jkotas

Description

@jkotas

Repro (windows subsystem for Linux):

  • Create console app that does Console.WriteLine(DateTime.Now)
  • Publish it
  • Run it

Result: The app takes 1.5s to run. 1 second out of that is time spent inside DateTime.Now

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.DateTimebugin-prThere is an active PR which will close this issue when it is mergedos-linuxLinux OS (any supported distro)tenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions