• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

facebook / react-native / 4d9a7017-b8a7-4b9f-88c7-fb35cd561d4b

pending completion
4d9a7017-b8a7-4b9f-88c7-fb35cd561d4b

push

CircleCI

Facebook GitHub Bot
Add PerformanceEventTiming API, according to the standard

3615 of 26397 branches covered (13.69%)

Branch coverage included in aggregate %.

23 of 23 new or added lines in 4 files covered. (100.0%)

7397 of 44564 relevant lines covered (16.6%)

258.29 hits per line

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

0.0
/Libraries/WebPerformance/PerformanceEventTiming.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
 * @format
8
 * @flow strict
9
 */
10

11
import type {HighResTimeStamp} from './PerformanceEntry';
12

13
import {PerformanceEntry} from './PerformanceEntry';
×
14

15
export class PerformanceEventTiming extends PerformanceEntry {
×
16
  processingStart: HighResTimeStamp;
17
  processingEnd: HighResTimeStamp;
18
  interactionId: number;
19

20
  constructor(init: {
21
    name: string,
22
    startTime?: HighResTimeStamp,
23
    duration?: HighResTimeStamp,
24
    processingStart?: HighResTimeStamp,
25
    processingEnd?: HighResTimeStamp,
26
    interactionId?: number,
27
    isFirstInput?: boolean,
28
  }) {
×
29
    super({
×
30
      name: init.name,
31
      entryType: init.isFirstInput === true ? 'first-input' : 'measure',
×
32
      startTime: init.startTime ?? 0,
×
33
      duration: init.duration ?? 0,
×
34
    });
35
    this.processingStart = init.processingStart ?? 0;
×
36
    this.processingEnd = init.processingEnd ?? 0;
×
37
    this.interactionId = init.interactionId ?? 0;
×
38
  }
×
39
}
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

© 2026 Coveralls, Inc