• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebook / react-native / f4551ac8-5bd8-4f75-8b5b-af4fabfc4d3c

pending completion
f4551ac8-5bd8-4f75-8b5b-af4fabfc4d3c

push

CircleCI

Facebook GitHub Bot
Remove "first-input" event type from Event Timing API logging implementation (#35771)

3633 of 26406 branches covered (13.76%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

7424 of 44590 relevant lines covered (16.65%)

204.26 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Libraries/WebPerformance/NativePerformanceObserver.js
1
/**
2
 * Copyright (c) Meta Platforms, Inc. and affiliates.
3
 *
4
 * This source code is licensed under the MIT license found in the
5
 * LICENSE file in the root directory of this source tree.
6
 *
7
 * @flow strict
8
 * @format
9
 */
10

11
import type {TurboModule} from '../TurboModule/RCTExport';
12

13
import * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';
×
14

15
export const RawPerformanceEntryTypeValues = {
×
16
  UNDEFINED: 0,
17
  MARK: 1,
18
  MEASURE: 2,
19
  EVENT: 3,
20
};
×
21

22
export type RawPerformanceEntryType = number;
23

24
export type RawPerformanceEntry = {|
25
  name: string,
26
  entryType: RawPerformanceEntryType,
27
  startTime: number,
28
  duration: number,
29
  // For "event" entries only:
30
  processingStart?: number,
31
  processingEnd?: number,
32
  interactionId?: number,
33
|};
34

35
export type GetPendingEntriesResult = {|
36
  entries: $ReadOnlyArray<RawPerformanceEntry>,
37
  droppedEntriesCount: number,
38
|};
39

40
export interface Spec extends TurboModule {
41
  +startReporting: (entryType: string) => void;
42
  +stopReporting: (entryType: string) => void;
43
  +popPendingEntries: () => GetPendingEntriesResult;
44
  +setOnPerformanceEntryCallback: (callback?: () => void) => void;
45
}
46

47
export default (TurboModuleRegistry.get<Spec>(
×
48
  'NativePerformanceObserverCxx',
49
): ?Spec);
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc