Skip to content

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

Open
@JeCodeFu

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.

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