If name
is not provided, removes all PerformanceMark
objects from the Performance Timeline. If name
is provided, removes only the named mark.
method
perf_hooks.Performance.clearMarks
name?: string
): void;
method
If name
is not provided, removes all PerformanceMark
objects from the Performance Timeline. If name
is provided, removes only the named mark.