The AROS Archives(anonymous IP:,342) 


   o Audio (94)
   o Datatype (15)
   o Demo (46)
   o Development (243)
   o Document (61)
   o Driver (19)
   o Emulation (60)
   o Game (519)
   o Graphics (219)
   o Library (22)
   o Network (60)
   o Office (21)
   o Utility (245)
   o Video (18)

Total files: 1642

Full index file
Recent index file

Part of aros exec
 Readme for:  Utility » Benchmark »


Description: Sortbench is a CPU stress test
Download:       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 7kb
Version: 1.1
Date: 04 Jun 13
Author: Gunnar von Boehn
Submitter: Gunnar von Boehn
Email: gunnar/greyhound-data com
Category: utility/benchmark
License: Public domain
Distribute: yes
FileID: 1309
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 277  (Current version)
277  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
Sortbench is a CPU stress test

Sortbench is part of the CPU benchmark suite build for the APOLLO CPU project.

Project Homepage

Sortbench is a CPU benchmark.
The test does on purpose not use the fastest possible sort,
but uses an algorithm which stresses certain parts of the CPU.

The testcase stresses the following CPU features:
1) Data-Cache
2) Branch Prediction / Conditional Code Execution (IF THEN)
3) Loop Performance
4) Memory Hazard Detection 
   The test does not generate a Hazard.
   But the test does mixed read/write operations to the same Data Cache line.
   This is a typical behaviour for a program working with the stack.

To run the test please compile like
gcc -o sortbench -O2 sortbench.c

The sourcecode is free to use.

Have fun!

Gunnar von Boehn

Copyright © 2005 - 2024 The AROS Archives All Rights Reserved