Processor speed is the key to system performance of any personal computer. Here a simple loop based testing is used for testing raw speed of any microprocessor. It is written in Windows batch script so that it can be run without need for compilation or CPU architecture consideration.
Follow the given steps to successfully test your PC-
1. Open the PDF in your favorite viewer
2. Open notepad and copy the text from the PDF to notepad
3. Save the file with a .bat extension from notepad File menu (for example cpu-test.bat)
4. Close all windows and double click the batch file (the one you have just created)
The PDF is here Program for testing raw CPU speed
As the source is given you can modify it to fit your needs. Apart from testing cpu speed you can use it to analyze operating system task scheduling, cpu hardware threading, and core merging features.
Modifying the code: Run another big program from inside the loop to see how drastically the execution time changes. You can judge the effect of cache size this way.