C
C#3mo ago
C3lamity

What should I use bond to C# for testing performance CPU

I have for my university something related to C# and test the performance of multiple CPU's, I have found something related to CUDA use, but from what I saw that It's only for NVIDIA if you can help me with some videos or info
5 Replies
SpReeD
SpReeD3mo ago
What do you actually wanna test? Your code performance or make a CPU benchmark program?
C3lamity
C3lamity2mo ago
a cpu benchmark to test for and i wanna test on multiple pc's for example on pc's that have windows and on my macos
SpReeD
SpReeD2mo ago
Let it calculate the x-decimal of pi ... also there are a lot of CPU benchmarks out there.
C3lamity
C3lamity2mo ago
but i picked for my university project threads and i cannot change it now
SpReeD
SpReeD2mo ago
There are tons of ways to benchmark a PU processing unit, in the case of the CPU you could go with: - Arithmetic - Compression & Decompression - Cryptography - Parser Write methods for any or every topic that I wrote, wrap around a StopWatch, log the Elapsed value and voila. You have some kind of benchmark. The easiest, at least in my opinion, is cryptography, well, Hashing to be precise. Let it create a MD5 or SHA512 hash for like two million times or ten million times and calculate the Average as the benchmark value.