Record a performance mark, if enabled and supported.
The name for the performance mark.
Creates a named mark using performance.mark(name) when:
performance.mark(name)
options.perf
true
Use together with measure to create durations between two marks.
mark("build:start");// … work …mark("build:end");measure("build", "build:start", "build:end"); Copy
mark("build:start");// … work …mark("build:end");measure("build", "build:start", "build:end");
Record a performance mark, if enabled and supported.