Add miniprofiler. Fixes #151