diff --git a/.vscode/launch.json b/.vscode/launch.json index 0c36f6e..91371b4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,7 +10,7 @@ "request": "launch", "preLaunchTask": "build", // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/bin/Debug/net7.0/Benchmark.dll", + "program": "${workspaceFolder}/bin/Debug/net8.0/Benchmark.dll", "args": [], "cwd": "${workspaceFolder}", // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console diff --git a/MyBenchmark.cs b/MyBenchmark.cs index 5c18f6d..a20745b 100644 --- a/MyBenchmark.cs +++ b/MyBenchmark.cs @@ -120,9 +120,9 @@ private static void DoWork(int index) public class Program { - public static void Main(string[] args) - { - _ = BenchmarkRunner.Run(); - } + // public static void Main(string[] args) + // { + // _ = BenchmarkRunner.Run(); + // } } } \ No newline at end of file diff --git a/Program.cs b/Program.cs index 2e2e9ab..5aac2be 100644 --- a/Program.cs +++ b/Program.cs @@ -44,8 +44,6 @@ Console.WriteLine(line); } } - - process.WaitForExit(); } else @@ -340,6 +338,7 @@ { Console.WriteLine("An error occurred while retrieving GPU information: " + ex.Message); } +} Console.ForegroundColor = ConsoleColor.White; Console.Write("Continue to benchmark? (y/n): "); @@ -376,5 +375,4 @@ { Console.WriteLine("Invalid choice."); } - } -} \ No newline at end of file + } \ No newline at end of file diff --git a/README.md b/README.md index 3869b87..9c2c473 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ - You can run a Hashing benchmark with MD5, SHA256 and SHA512. - Or a single thread and multi thread benchmark. - Or a encrypt/decrypt benchmark (May need admin privileges) -- Using `BenchmarkDotNet` and SharpDX. +- Using `BenchmarkDotNet` , `SharpDX` and `NvAPIWrapper`. # Maintenance @@ -53,8 +53,8 @@

MacOS Ventura

- - + + diff --git a/macos.png b/macos.png index 92b7ce9..60fd4b2 100644 Binary files a/macos.png and b/macos.png differ diff --git a/macresults.png b/macresults.png deleted file mode 100644 index bc5ad6b..0000000 Binary files a/macresults.png and /dev/null differ diff --git a/results.png b/results.png index c259ec5..edb7425 100644 Binary files a/results.png and b/results.png differ