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.
Console.OpenStandard* methods are few times slower on Linux.
How to run the benchmarks:
Recommended profilers are PerfCollect and VTune.