method Performance.clearMarksPerformance.clearMarks(name?: string): voidDeprecatedIf name is not provided, removes all PerformanceMark objects from the Performance Timeline. If name is provided, removes only the named mark. Parametersoptionalname: stringReturn Typevoid