Tired of guessing which compiler flags work best for your pet projects?
bench_gcc allows you to test the effect of different compiler flag (and compilers if you wish) on your source using real world tests. All you need is a target program (with source) and a scriptable test case.
Tags:
benchmarking code gcc shell-scripts utilities Posted on: September 22nd, 2004 under code.
Simple framework for integrating unit tests into C++ source files. Also contains some benchmarking routines and documentation on how to integrate it with automake.
This is just a refactoring of private code that I’ve used in several projects and have found useful &emdash; it’s not a substitute for a larger framework like CppUnit.
Tags:
benchmarking C++ code snippets unit-test Posted on: April 17th, 2004 under code.