OricCompilerBenchmark
Simple C compiler benchmark targeting Oric-1/Atmos/Telestrat/Pravetz-8D 8-bit retro computer.
Install / Use
/learn @iss000/OricCompilerBenchmarkREADME
_
___ ___ _ _|_|___ ___
| _| .'|_'_| |_ -|_ -|
|_| |__,|_,_|_|___|___|
iss@raxiss(c)2020-2023
MOS6502 compiler benchmark (WIP).
This is work-in-progress and frequent updates are possible. All feedback, bug reporting and opinions are highly appreciated! To discuss use pull-requests, issue tracking or Defence-force forum.
Click to see: Latest Benchmark Results (2024-07-19).
Goal:
Simple and fair benchmark for C cross compilers targeting MOS6502 processor.
C Compilers:
cc65gcc-6502-bitskickclcc65llvm-mososdksdcc-m6502vbccoscar64(still under construction)
Requirements
- Host: Linux
- Tools: gcc, make, cmake, lua, bash/sh
- Compilers: open source only, so they can be build for host OS
Restrictions for included samples:
- Standard C code
- Free open source
Installation
Build and install included 6502 emulator mos6502vm:
$ mkdir build
$ cd build
$ cmake ..
$ make all install
Copy or symlink compiler toolschains in bin/ directory:
bin/
├── cc65
│ ├── bin
│ │ ├── cc65 ...
...
├── gcc-6502
│ ├── bin
│ │ ├── 6502-gcc ...
...
├── kickc
│ ├── bin
│ │ └── kickc.sh
...
├── llvm-mos
│ ├── bin
│ │ ├── clang ...
│ │ ├── llvm-as ...
│ │ ├── mos-clang -> clang ...
...
├── osdk-lcc65
│ ├── bin
│ │ ├── compiler
│ │ ├── cpp ...
...
├── sdcc
│ ├── bin
│ │ ├── sdcc ...
...
├── vbcc
│ ├── bin
│ │ ├── vasm6502_oldstyle
│ │ ├── vbcc6502
│ │ ├── vc
│ │ ├── vcpr6502
│ │ ├── vlink ...
...
└── mos6502vm (built as described above)
Running benchmarks
$ cd playground
$ ./run-all-benchmarks.sh
Results are stored in playground/www/ directory (JS files).
Load bench.html in browser for visual representation.
See HACKING.md for details about benchmarks.
Credits
- Mike Chambers for Fake6502 CPU emulator core v1.1
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
