Remove dead StartupLogger::getRunJSBundleEndTime getter

Summary:
X-link: https://github.com/facebook/react-native/pull/57142

`StartupLogger::getRunJSBundleEndTime()` was a public getter that returned the `runJSBundleEndTime` member, but it had no callers. `NativePerformance` is the only consumer of `StartupLogger` and reads the start-time getters plus `getAppStartupEndTime`, never this end-time getter. This removes the dead getter. The backing member `runJSBundleEndTime` is kept because `logStartupEvent`/`reset` still write it.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D108012912

fbshipit-source-id: ac6348b8223fba8695843340e99d7e277bf4f60a
This commit is contained in:
Samuel Susla authored and meta-codesync[bot] committed 2026-06-10 09:17:52 -07:00
1 parent bc7c757e9d
commit de57be51d0
11 files changed
-14

No files matched your search

@@ -110,10 +110,6 @@ double StartupLogger::getRunJSBundleStartTime() {
return runJSBundleStartTime;
}
double StartupLogger::getRunJSBundleEndTime() {
return runJSBundleEndTime;
}
double StartupLogger::getAppStartupEndTime() {
return appStartupEndTime;
}
@@ -95,7 +95,6 @@ class RN_EXPORT StartupLogger {
double getInitReactRuntimeStartTime();
double getInitReactRuntimeEndTime();
double getRunJSBundleStartTime();
double getRunJSBundleEndTime();
double getAppStartupEndTime();
private:
@@ -11716,7 +11716,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -11342,7 +11342,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -11569,7 +11569,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -13547,7 +13547,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -13235,7 +13235,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -13410,7 +13410,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -8701,7 +8701,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -8529,7 +8529,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);
@@ -8692,7 +8692,6 @@ class facebook::react::ReactMarker::StartupLogger {
public double getAppStartupStartTime();
public double getInitReactRuntimeEndTime();
public double getInitReactRuntimeStartTime();
public double getRunJSBundleEndTime();
public double getRunJSBundleStartTime();
public static facebook::react::ReactMarker::StartupLogger& getInstance();
public void logStartupEvent(facebook::react::ReactMarker::ReactMarkerId markerId, double markerTime);