Will not return an error if profiling has not started.
Requires an active script context.
public static void StopProfiling(int reason) { Native.ThrowIfError(Native.JsStopProfiling(reason)); }