CAF library for performance profiling