Fix profiler on benchmark names like 'something_endpoint_end' (regex wasn't clamped to the end)