markup profiler and simple profiler improvements