diff options
author | jorive <jorive@microsoft.com> | 2016-11-15 15:25:52 -0800 |
---|---|---|
committer | Daniel Podder <dpodder@gmail.com> | 2016-11-15 17:25:52 -0600 |
commit | 164b3f568209bdbe3ae40477decfb8c2e0e22382 (patch) | |
tree | 785d5876a66d262aad3b3aa4bd8f103221c3b317 /tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm | |
parent | fd16499452a87cf75dbc1d64f3cc746a7ddcad9a (diff) | |
download | coreclr-164b3f568209bdbe3ae40477decfb8c2e0e22382.tar.gz coreclr-164b3f568209bdbe3ae40477decfb8c2e0e22382.tar.bz2 coreclr-164b3f568209bdbe3ae40477decfb8c2e0e22382.zip |
Changing JIT perf test names to fix how they are organized on BenchView (#8083)
* Changing JIT performance tests' names to fix how tests are organized on BenchView.
* Adding changes based on PR suggestions.
- Add double quotes on cmd script
- Keep name casing consistent for the Benchstone benchmarks.
* Updating datacontractxml value to match new class name.
* Removing an extra / on the xmlns string.
* Making sure we are getting latest BenchView tools.
- Changed where BenchView tools are installed to (from C:\tools to %WORKSPACE%)
- Check if the tools already exist, if so, delete them and download them again.
Diffstat (limited to 'tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm')
-rw-r--r-- | tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm/spectralnorm.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm/spectralnorm.cs b/tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm/spectralnorm.cs index 9e984864a7..01eeea07bf 100644 --- a/tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm/spectralnorm.cs +++ b/tests/src/JIT/Performance/CodeQuality/BenchmarksGame/spectralnorm/spectralnorm.cs @@ -3,8 +3,8 @@ // See the LICENSE file in the project root for more information. /* The Computer Language Benchmarks Game http://benchmarksgame.alioth.debian.org/ - - contributed by Isaac Gouy + + contributed by Isaac Gouy modified for use with xunit-performance */ @@ -15,6 +15,8 @@ using System; [assembly: OptimizeForBenchmarks] [assembly: MeasureInstructionsRetired] +namespace BenchmarksGame +{ public class SpectralNorm { #if DEBUG @@ -78,7 +80,7 @@ public class SpectralNorm } // B=AtA A multiplied by A transposed - // v.Bv /(v.v) eigenvalue of v + // v.Bv /(v.v) eigenvalue of v double vBv = 0, vv = 0; for (int i = 0; i < n; i++) { @@ -124,3 +126,4 @@ public class SpectralNorm MultiplyAtv(n, u, AtAv); } } +} |