Skip to content

Commit

Permalink
Drop the first measure to avoid confusing the first lazy resolution o…
Browse files Browse the repository at this point in the history
…f the graph
  • Loading branch information
beta-ziliani committed Dec 18, 2024
1 parent 74491f6 commit f9569b8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ async function testFile(file: string) {
// console.log(`UNDEF: ${cursor.node}`);
neitherDefNorRef += 1;
}
else {

if (defs + refs + emptyRef + neitherDefNorRef > 1) {
// don't push the first one, as that one might trigger the build of the graph
gotoDefTimes.push(gotoDefTime);
}

}

const measure = round(performance.now() - start);
Expand Down

0 comments on commit f9569b8

Please sign in to comment.