https://github.com/atomicobject/multiple_return_in_c_benchmarks
benchmarks for post "Comparing the Cost of Different Multiple-return Techniques in C"
https://github.com/atomicobject/multiple_return_in_c_benchmarks
Last synced: 10 months ago
JSON representation
benchmarks for post "Comparing the Cost of Different Multiple-return Techniques in C"
- Host: GitHub
- URL: https://github.com/atomicobject/multiple_return_in_c_benchmarks
- Owner: atomicobject
- Created: 2013-12-27T00:09:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-27T15:05:40.000Z (over 12 years ago)
- Last Synced: 2025-06-08T22:08:12.184Z (11 months ago)
- Language: C
- Size: 105 KB
- Stars: 7
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
These are the benchmarks used in my post,
["Comparing the Cost of Different Multiple-return Techniques in C"][1].
[1]: http://spin.atomicobject.com/2013/12/23/c-return-multiple-values/
# Dependencies
You'll need a C compiler (C99), a POSIX environment, and
[gnuplot](http://www.gnuplot.info/) for creating the graphs.
# Usage
To generate reports at -O0 and -O2 for the execution environment, use
the `make report` target. To generate graphs based on all available
processed reports (.rpt files), use `make graphs`. They will be output
in the graphs/ directory.