Skip to content

Bad Performance on first Power.From() call in .netCore #1126

Description

@JeCodeFu

Description
The very first call on Power.From takes up to several seconds.
All the following calls are fine (regarding the performance).

Environment

  • .net Core 3.1
  • 32bit ARM Platform
  • Embedded Linux

Repro/Code
var result = Power.From(5, PowerUnit.Watt);

Expected behavior
The call should return within milliseconds, but it takes up to more than 10 seconds.

Additional context
I Experienced this issue after updating from Version 4.72.0 to Version 4.144.0.
It did not happen in the older version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpinnedIssues that should not be auto-closed due to inactivity.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions