Some JitBench fixes (dotnet/coreclr#19479)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Thu, 16 Aug 2018 18:20:55 +0000 (11:20 -0700)
committerGitHub <noreply@github.com>
Thu, 16 Aug 2018 18:20:55 +0000 (11:20 -0700)
commitf0a833a0ab26991d001b044aecee9a2f60e33705
tree717d2d3c892b28ce9d3206625ad8224c71ba3d9e
parent343b99afa593e7307bf0f9810653ad8abeb4859a
Some JitBench fixes (dotnet/coreclr#19479)

Some JitBench fixes

- Fixed `dotnet run` from the `unofficial_dotnet` folder after `Directory.Build.targets` was added to `coreclr/tests/src`. This file is auto-imported and was adding dependencies and properties for targets that were not necessary. Added files to the root JitBench folder to override.
- Updated JitBench to be able to run against netcoreapp3.0. I haven't changed the default yet, could consider doing so once there are no pending perf issues being looked into.
  - Added a `RetargetProjects()` function to the setup steps to replace `TargetFramework` and `RuntimeFrameworkVersion` values in the relevant `.csproj` files to run against the expected runtime. This reduces some dependency on other repos containing the actual perf projects such that we don't have to update every repo to support environment variables to set those values.
- Disabled tiering for the `MinOpts` config

Commit migrated from https://github.com/dotnet/coreclr/commit/72e9b8d589f114776e3f42058d721058b77133b9
src/coreclr/tests/src/performance/Scenario/JitBench/Benchmarks/BuildHelloWorldBenchmark.cs
src/coreclr/tests/src/performance/Scenario/JitBench/Benchmarks/WebAppBenchmarks.cs
src/coreclr/tests/src/performance/Scenario/JitBench/Benchmarks/Word2VecBenchmark.cs
src/coreclr/tests/src/performance/Scenario/JitBench/Directory.Build.props [new file with mode: 0644]
src/coreclr/tests/src/performance/Scenario/JitBench/Directory.Build.targets [new file with mode: 0644]
src/coreclr/tests/src/performance/Scenario/JitBench/Runner/Benchmark.cs
src/coreclr/tests/src/performance/Scenario/JitBench/Runner/BenchmarkConfiguration.cs
src/coreclr/tests/src/performance/Scenario/JitBench/Utilities/DotNetSetup.cs
src/coreclr/tests/src/performance/Scenario/JitBench/unofficial_dotnet/JitBench.csproj