performance.clearMarks([name])


如果未提供 name,则从性能时间轴中删除所有 PerformanceMark 对象。 如果提供了 name,则仅删除命名标记。

If name is not provided, removes all PerformanceMark objects from the Performance Timeline. If name is provided, removes only the named mark.