Keil™, An ARM® Company

Benchmarks

Keil C251 Code Comparison

The following benchmarks compare the output generated by the Keil C251 Version 3 251 compiler. The source code used for the benchmarks is included with the C251 Evaluation Software.

Sieve
Benchmarks
Compiler
C251 V3.11C251 V3.11
Settings
ModeSOURCEBINARY
Memory ModelTINYTINY
ROM ModelLARGELARGE
Optimization Level6,SPEED6,SPEED
Performance
Execution Time
16MHz 8xC251Sx
0.548 secs0.685 secs
Code Size
Module
112 bytes143 bytes
Code Size
Total
896 bytes1,072 bytes
EDATA Size
Dynamic
8,446 bytes8,446 bytes
Dhrystone
Benchmarks
Compiler
C251 V3.11C251 V3.11
Settings
ModeSOURCEBINARY
Memory ModelXSMALLXSMALL
ROM ModelLARGELARGE
Optimization Level6,SPEED6,SPEED
Performance
Execution Time
16MHz 8xC251Sx
0.093 secs0.093 secs
Code Size
Module
1,195 bytes1,509 bytes
Code Size
Total
2,612 bytes3,182 bytes
EDATA Size
Dynamic
5,518 bytes5,518 bytes
Whetstone
Benchmarks
Compiler
C251 V3.11C251 V3.11
Settings
ModeSOURCEBINARY
Memory ModelTINYTINY
ROM ModelLARGELARGE
Optimization Level6,SPEED6,SPEED
Performance
Execution Time
16MHz 8xC251Sx
0.462 secs0.567 secs
Code Size
Module
1,937 bytes2,486 bytes
Code Size
Total
5,149 bytes6,432 bytes
DATA Size
Dynamic
119 bytes119 bytes