Make the `enableSchedulingProfiler` flag dynamic for the profiling build (so marks can be disabled). I think it should be sufficient to do something like:
```js
export const enableSchedulingProfiler =
  __PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;
```

Update our User Timing API check to include `clearMeasures` and when we call `mark(name)`, also call `clearMeasures(name)` to avoid clogging the entries buffer. (Apparently this has a significant negative performance impact for Firefox.)
performance.mark(`--react-init-${ReactVersion}`);
  }
}
export function markCommitStarted(lanes: Lanes): void {
  if (enableSchedulingProfiler) {
    if (supportsUserTiming) {
      performance.mark(`--commit-start-${formatLanes(lanes)}`);
    }
  }
}
export function markCommitStopped(): void {
  if (enableSchedulingProfiler) {
    if (supportsUserTiming) {
      performance.mark('--commit-stop');
    }
  }
}
const PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;
const wakeableIDs: WeakMap<Wakeable, number> = new PossiblyWeakMap();
let wakeableID: number = 0;
function getWakeableID(wakeable: Wakeable): number {
  if (!wakeableIDs.has(wakeable)) {
    wakeableIDs.set(wakeable, wakeableID++);
  }
  return ((wakeableIDs.get(wakeable): any): number);
}
export function markComponentSuspended(fiber: Fiber, wakeable: Wakeable): void {
  if (enableSchedulingProfiler) {