OS4 DepotLogo by McFly 
(anonymous IP:,2193) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file



Support the site

 Readme for:  Utility » Shell » sortbench.lha


Description: a CPU benchmark that stresses CPU, DCache,Branch
Download: sortbench.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 8kb
Version: 1.1B
Date: 12 Nov 2016
Author: Gunnar von Boehn
Submitter: René W. Olsen
Email: renewolsen/gmail com
Homepage: http://www.apollo-core.com/sortbench
Category: utility/shell
Replaces: utility/shell/sortbench.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 10078
Comments: 15
Snapshots: 0
Videos: 0
Downloads: 289  (Current version)
336  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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 featues:
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 © 2004-2024 by Björn Hagström All Rights Reserved