if (timespans[key]) {
      if (__DEV__) {
        infoLog(
          'PerformanceLogger: Attempting to add a timespan that already exists ',
          key,
        );
      }
      return;
    }
This is meant to collect and log performance data in production, which means
it needs to have minimal overhead.