https://github.com/nyuichi/aobench-on-r7rs-scheme
aobench on r7rs scheme
https://github.com/nyuichi/aobench-on-r7rs-scheme
Last synced: about 2 months 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-09T04:19:02.000Z (almost 11 years ago)
- Last Synced: 2025-01-30T13:24:20.183Z (4 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 Gauche version
```sh
$ time gosh -r7 aobench.scm
gosh aobench.scm 208.40s user 0.71s system 90% cpu 3:50.26 total
```
# Author
Yuichi Nishiwaki (yuichi.nishiwaki at gmail.com)