performance.mark([name])
name<string>
在性能时间轴中创建新的 PerformanceMark 条目。
PerformanceMark 是 PerformanceEntry 的子类,其 performanceEntry.entryType 始终为 'mark',而其 performanceEntry.duration 始终为 0。
性能标记用于标记性能时间轴中的特定重要时刻。
name<string>
Creates a new PerformanceMark entry in the Performance Timeline. A
PerformanceMark is a subclass of PerformanceEntry whose
performanceEntry.entryType is always 'mark', and whose
performanceEntry.duration is always 0. Performance marks are used
to mark specific significant moments in the Performance Timeline.