lightweight bencharking component for C++ code