Javascript: DebugHud, profiling