Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nyuichi/aobench-on-r7rs-scheme
aobench on r7rs scheme
https://github.com/nyuichi/aobench-on-r7rs-scheme
Last synced: 29 days ago
JSON representation
aobench on r7rs scheme
- Host: GitHub
- URL: https://github.com/nyuichi/aobench-on-r7rs-scheme
- Owner: nyuichi
- Created: 2013-11-07T19:24:08.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-09T04:19:02.000Z (over 10 years ago)
- Last Synced: 2024-10-16T03:48:13.537Z (3 months ago)
- Language: C
- Size: 240 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AObench on R7RS scheme
ported from https://code.google.com/p/aobench
aoench is a small ambient occlusion renderer for benchmarking realworld
floating point performance in various languages.
aobench is originally coded in "Proce55ing":http://processing.org/.
aoench consists just about 400 lines of code and requires only standard
math functions, therefore it is easy to understand and port aoench for
your favorite language.
Follow me at twitter for updates: http://twitter.com/aobench# Screenshots
- ao.png from the original C version
```sh
$ gcc aobench.c
$ time ./a.out
./a.out 3.37s user 0.01s system 99% cpu 3.395 total
```![ao.png from the original C version](https://raw.github.com/wasabiz/aobench-on-r7rs-scheme/master/etc/ao-c.png)
- ao.png from Gauche version
```sh
$ time gosh -r7 aobench.scm
gosh aobench.scm 208.40s user 0.71s system 90% cpu 3:50.26 total
```![ao.png from Gauche version](https://raw.github.com/wasabiz/aobench-on-r7rs-scheme/master/etc/ao-gosh.png)
# Author
Yuichi Nishiwaki (yuichi.nishiwaki at gmail.com)