A demonstration of using performance counters with the Magnum library.