From c86ce6c9b87d2dc767d534c03bbf900f779975bd Mon Sep 17 00:00:00 2001 From: OudomMunint Date: Tue, 22 Aug 2023 23:25:21 +1000 Subject: [PATCH] Update readme, RT+ --- .github/workflows/main.yml | 2 +- Program.cs | 4 ++-- README.md | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af737a7..1b60022 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -49,4 +49,4 @@ jobs: if: matrix.os == 'windows-latest' uses: ncipollo/release-action@v1.12.0 with: - tag: v1.4.5 \ No newline at end of file + tag: v1.4.5.1 \ No newline at end of file diff --git a/Program.cs b/Program.cs index 0623f82..6e0fab3 100644 --- a/Program.cs +++ b/Program.cs @@ -96,7 +96,7 @@ Console.WriteLine("Name: {0}", item["Name"]); Console.WriteLine("Manufacturer: {0}", manufacturer); Console.WriteLine("Driver Version: {0}", item["DriverVersion"]); - Console.WriteLine("VRAM: {0}MB", Convert.ToUInt32(item["AdapterRAM"]) / (1024 * 1024)); + Console.WriteLine("VRAM: {0}MB", Convert.ToUInt64(item["AdapterRAM"]) / (1024 * 1024)); Console.WriteLine("-----------------------------------------------------------"); } else @@ -105,7 +105,7 @@ Console.WriteLine("Name: {0}", item["Name"]); Console.WriteLine("Manufacturer: {0}", manufacturer); Console.WriteLine("Driver Version: {0}", item["DriverVersion"]); - Console.WriteLine("VRAM: {0}MB", Convert.ToUInt32(item["AdapterRAM"]) / (1024 * 1024)); + Console.WriteLine("VRAM: {0}MB", item["AdapterRam"]); Console.WriteLine("-----------------------------------------------------------"); } } diff --git a/README.md b/README.md index 26d3787..c2900ed 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Benchmark -- A C# console program that gathers your system details then runs a hash benchmark on MD5, SHA256, SHA512 +- A C# console program that gathers your system details then lets you run benchmarks on your system. +- 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` # Maintenance ![maintenance-status](https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg)