How to benchmark your PC

Hard disk testing

To gain some idea of the wealth of performance information that Sandra can provide, we'll take a look at the hard disk benchmark. You'll probably need to do some homework to understand all the figures, but even so, you'll be impressed by the wealth of data provided.

To run this benchmark, click on the 'Benchmarks' tab and then, under 'Storage devices', double-click on 'Physical disks'. Now, on the 'Physical disks' window, page back and forth using the green arrows at the bottom, choosing the category of test you want to run. You can, for example, monitor speed against position on the media, or against file size.

Having made your choice, use the drop-down lists at the top to select which drive you want to benchmark (if you have more than one, and remember that it considers USB memory sticks to be disks) and whether you want to test the read or write speed. Finally, click the 'Refresh' icon to run the benchmark and display the results in figures at the bottom of the window, and graphically compared to other popular drives.

Do it yourself

Sysmark is a popular application-based benchmark suite but it is hugely expensive. Virtually all the cheap or free benchmarks are of the synthetic variety, but your can make your own tool for application-based benchmarking. It isn't as hard as you might think.

EventCorder

Eventcorder is a macro recording and playback utility, which provides a similar facility to Microsoft Office's macros, but across any application. It also has a timing facility, which makes it ideally suited to application based benchmarking.

Start up Eventcorder and click the red 'Record' button. The Eventcorder window will be hidden, but you'll see a message in the top-left of the screen indicating that recording is in progress. At this point, perform whatever actions you want to be played back as your benchmark. When you're done, press [Ctrl]+ [Esc].

The Eventcorder window will reappear so you can save your recording from the File menu, and try it out by clicking the 'Play' button. It's not yet a benchmark - we'll address that later - but it's now important to recognise the limitations of this approach.

Nothing important should change between recording and playback. Don't change the screen resolution and, if your recording involves clicking on desktop icons, make sure they haven't moved and that the wallpaper is the same. Also, if the recording results in a file being created, delete it before playback, otherwise you'll be asked if you want to overwrite it, and the script won't be expecting to provide such a confirmation.

All of this is fairly easy if you're playing back on the same machine but could be more difficult if you want to run your benchmark on a different PC.

In practice, because you can't guarantee that icons are at the same position on the desktop or that Start menu entries are in the same order, you're probably limited to using a single application that's already running before making the recording.

Run your test

To use a recording as a benchmark it's necessary to edit the recording file. It's in XML format, which means it's human-readable and easily editable using a text editor. The recording will include delays, which represent the time you waited between key presses or mouse movements.

XML

For use as a benchmark, all those delays should be removed so that the playback time depends solely on the execution time.

To do that, replace all lines of the form 120 (where '120' varies depending on the delay time) with 0 (zero delay).

Finally, we need to tell Eventcorder to display a pop-up box showing the time taken to play back the file. This is achieved by adding the following immediately before (as opposed to the singular ) near the end of the file:


EXPLAIN

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil Arial;}} Elapsed time = %TIME% mS
}

10

Note that if you try to edit xml code in Word, it will recognise it as XML and format it accordingly, but the tags (like ) will not be searchable.

Notepad, on the other hand, will display the XML code as pure text so you will be able to search for tabs but it doesn't support wildcards that you'll need to search and replace lines containing and with any number between the tags.

So unless you edit every one of those lines by hand, which will normally be a huge undertaking, you'll need a fully-featured text editor.

-----------------------------------------------------------------------------------------------------

First published in PC Plus Issue 307. Read PC Plus on PC, Mac and iPad

Liked this? Then check out Overclocking guide: overclock your CPU, graphics card and RAM

Sign up for TechRadar's free Week in Tech newsletter
Get the top stories of the week, plus the most popular reviews delivered straight to your inbox. Sign up at http://www.techradar.com/register

Follow TechRadar on Twitter * Find us on Facebook

Latest in Windows PCs
Dell XPS 13 and Alienware M16 laptops on purple background with big savings text overlay
Dell's site-wide Tech Days sale is live: see the 6 best laptop and gaming laptop deals from just $299
Microsoft presenting Surface Laptop and Surface Pro devices.
Microsoft has pulled a miracle: its Surface Copilot PCs are now the most repairable in the market
asian woman using laptop at business table
Finally, some good Copilot news: Microsoft could be making 16GB RAM a standard for AI PCs
The Acer Predator Orion 3000 gaming PC on a blue and pink background with the text 'TechRadar Cyber Monday PC deals'.
Cyber Monday PC deals 2023 – the best extended deals still live
The Microsoft Outlook logo on a laptop screen
Two unloved Windows 11 apps are getting canned - but will their replacement be any better?
Business man holding a tablet
The PCs protecting workers on the move
Latest in News
Apple's Craig Federighi demonstrates the iPhone Mirroring feature of macOS Sequoia at the Worldwide Developers Conference (WWDC) 2024.
Report: iOS 19 and macOS 16 could mark their biggest design overhaul in years – and we have one request
Google Gemini Calendar
Gemini is coming to Google Calendar, here’s how it will work and how to try it now
Lego Mario Kart – Mario & Standard Kart set on a shelf.
Lego just celebrated Mario Day in the best way possible, with an incredible Mario Kart set that's up for preorder now
TCL QM7K TV on orange background
TCL’s big, bright new mid-range mini-LED TVs have built-in Bang & Olufsen sound
Apple iPhone 16e
Which affordable phone wins the mid-range race: the iPhone 16e, Nothing 3a, or Samsung Galaxy A56? Our latest podcast tells all
An image of a Jackbox Games Party Pack
Jackbox games is coming to smart TVs in mid-2025, and I can’t wait to be reunited with one of my favorite party video games