-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* (Add) Menu - Help - Benchmark: Run benchmark test to measure system performance * (Fix) Properties listview trigger an error when there are no groups to show * (Fix) Elfin: "(Number of Slices = x)" to ";Number of Slices = x" (#24)
- Loading branch information
Showing
18 changed files
with
3,981 additions
and
1,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace UVtools.GUI.Controls | ||
{ | ||
public sealed class BenchmarkTest | ||
{ | ||
public const string DEVCPU = "Intel® Core™ i9-9900K @ 3.60 GHz"; | ||
public const string DEVRAM = "G.SKILL Trident Z 32GB DDR4-3200MHz CL14"; | ||
|
||
public BenchmarkTest(string name, string functionName, float devSingleThreadResult = 0, float devMultiThreadResult = 0) | ||
{ | ||
Name = name; | ||
FunctionName = functionName; | ||
DevSingleThreadResult = devSingleThreadResult; | ||
DevMultiThreadResult = devMultiThreadResult; | ||
} | ||
|
||
public string Name { get; } | ||
public string FunctionName { get; } | ||
|
||
public float DevSingleThreadResult { get; } | ||
public float DevMultiThreadResult { get; } | ||
|
||
public override string ToString() | ||
{ | ||
return $"{Name}"; | ||
} | ||
} | ||
} |
Oops, something went wrong.