Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Franceschelli <stephenmichaelf@gmail.com>2017-05-05 03:16:42 +0300
committerSteve Franceschelli <stephenmichaelf@gmail.com>2017-05-05 03:16:42 +0300
commitbc378e2b9cf3e41977a25d32911d5bee42153329 (patch)
tree4dd36aab6d4a14f25ca71dc3cf6b952449c6ff20 /Documentation
parentb1af73da70b59ae8e6967e50fbad6b2936bda009 (diff)
Add note to build -release before running perf tests.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/project-docs/performance-tests.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/project-docs/performance-tests.md b/Documentation/project-docs/performance-tests.md
index f9d48cc4b7..9780f9d22a 100644
--- a/Documentation/project-docs/performance-tests.md
+++ b/Documentation/project-docs/performance-tests.md
@@ -22,6 +22,8 @@ Running the tests
### Windows
Performance test files (if present) are stored within a library's ```tests/Performance``` directory and contain test methods that are all marked with a perf-specific *Benchmark* attribute. The performance tests will only be run if the ```performance``` property is set to ```true```.
+Before running the performance tests you must run ```build -release``` from the root folder.
+
To build and run the tests using msbuild for a project, run ```msbuild /t:BuildAndTest /p:Performance=true /p:ConfigurationGroup=Release /p:TargetOS=Windows_NT``` from the Performance directory with Admin privileges. If the v5.0 assemblies aren't installed on your system, an error will be raised and no tests will be run.
Note: Because build.cmd runs tests concurrently, it's not recommended that you execute the perf tests using it.