performance.clearMeasures([name])
版本历史
| 版本 | 变更 |
|---|---|
| v19.0.0 | 必须使用 |
| v16.7.0 | 新增于: v16.7.0 |
name<string>
如果未提供 name,则从性能时间轴中删除所有 PerformanceMeasure 对象。如果提供了 name,则只删除指定的测量。
\If name is not provided, removes all PerformanceMeasure objects from the
Performance Timeline. If name is provided, removes only the named measure.