Skip to content

Console.OpenStandard* few times slower on Linux #31396

Description

@adamsitnik

Console.OpenStandard* methods are few times slower on Linux.

Slower diff/base Base Median (ns) Diff Median (ns) Modality
System.ConsoleTests.Perf_Console.OpenStandardInput 10.50 175.08 1838.35
System.ConsoleTests.Perf_Console.OpenStandardError 4.25 434.18 1846.05
System.ConsoleTests.Perf_Console.OpenStandardOutput 4.21 437.84 1843.03

How to run the benchmarks:

git clone https://github.com/dotnet/performance.git
python3 ./performance/scripts/benchmarks_ci.py -f netcoreapp5.0 --filter 'System.ConsoleTests.Perf_Console.OpenStandard*'

Recommended profilers are PerfCollect and VTune.

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions