Profile Microsoft.Diagnostics.Tracing.TraceEvent\$(TraceEventPackageVersion) $RUNTIME_PATH/dotnet $(ToolsDir)Microsoft.BenchView.JSONFormat/tools python3.5 exit 1 %RUNTIME_PATH%\dotnet.exe $(ToolsDir)Microsoft.BenchView.JSONFormat\tools py.exe EXIT /B 1 stopwatch Perf-Profile default+BranchMispredictions+CacheMisses+InstructionRetired+gcapi Perf-Diagnostic $(PerfTestCommandDotnetExecutable) PerfRunner.exe --perf:runid $(RunId) --perf:collect $(CollectFlags) || $(CliExitErrorCommand) $(PythonCommand) "$(BenchviewDir)/measurement.py" xunit "$(RunId)-$(AssemblyName).xml" --better desc --drop-first-value --append -o "$(ProjectDir)measurement.json" || $(CliExitErrorCommand) $(PythonCommand) "$(BenchviewDir)/submission.py" "$(ProjectDir)measurement.json" --build "$(ProjectDir)build.json" --machine-data "$(ProjectDir)machinedata.json" --metadata "$(ProjectDir)submission-metadata.json" --group "CoreFx" --type "$(BenchviewRuntype)" --config-name "$(ConfigurationGroup)" --config Configuration "$(ConfigurationGroup)" --config OS "$(TargetOS)" --config "RunType" "$(PerformanceType)" -arch "$(Platform)" --machinepool "PerfSnake" -o "$(ProjectDir)submission.json" || $(CliExitErrorCommand) $(PythonCommand) "$(BenchviewDir)/upload.py" "$(ProjectDir)submission.json" --container corefx || $(CliExitErrorCommand)