MCPcopy Create free account
hub / github.com/nodejs/node / match_entries

Function match_entries

test/fixtures/wpt/user-timing/mark.any.js:6–14  ·  view source on GitHub ↗
(entries, index)

Source from the content-addressed store, hash-verified

4var expectedTimes = new Array();
5
6function match_entries(entries, index)
7{
8 var entry = entries[index];
9 var match = self.performance.getEntriesByName("mark")[index];
10 assert_equals(entry.name, match.name, "entry.name");
11 assert_equals(entry.startTime, match.startTime, "entry.startTime");
12 assert_equals(entry.entryType, match.entryType, "entry.entryType");
13 assert_equals(entry.duration, match.duration, "entry.duration");
14}
15
16function filter_entries_by_type(entryList, entryType)
17{

Callers 1

test_markFunction · 0.85

Calls 2

assert_equalsFunction · 0.50
getEntriesByNameMethod · 0.45

Tested by

no test coverage detected