A small profiling and metrics library