iss000 / oricCompilerBenchmark

Simple C compiler benchmark targeting Oric-1/Atmos/Telestrat/Pravetz-8D 8-bit retro computer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oricCompilerBenchmark

Simple C compiler benchmark targeting Oric-1/Atmos/Telestrat/Pravetz-8D 8-bit retro computers.

Compilers: (in alphabetical order)

Tests

I. Dummy tap-dummy/

Just an empty main() function

Compiler cc65 -Oirs lcc65 -O3 vbcc -O3
Binary size without header 250 bytes 452 bytes 243 bytes
II. AES256

A byte-oriented AES-256 implementation by Ilya Levin.

This example encrypts and decrypts plain text message. No external library functions are used.

Compiler cc65 -Oirs lcc65 -O3 vbcc -O3
Binary size without header 7330 bytes 13519 bytes 14571 bytes
Execution-time 26.35 s fail to decrypt 18.36
Compiler cc65 -Oirs lcc65 -O2 vbcc -O3
Binary size without header 7330 bytes 15491 bytes 14571 bytes
Execution time 26.35 s 59.93 s 18.36 s
Compiler cc65 lcc65 vbcc
Binary size without header 7513 14064 12113
Execution time 3.88 s 5.43 s 3.59 s

About

Simple C compiler benchmark targeting Oric-1/Atmos/Telestrat/Pravetz-8D 8-bit retro computer.

License:The Unlicense


Languages

Language:C 67.3%Language:Assembly 28.4%Language:Shell 1.7%Language:Lua 1.0%Language:Makefile 0.6%Language:JavaScript 0.5%Language:HTML 0.4%Language:CSS 0.1%Language:CMake 0.0%