Towards a more performant virtual-machine profiler