Skip to content

Commit cf46305

Browse files
authored
Remove desiredExecitionStart (#3583)
1 parent 8897fbe commit cf46305

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/static/js/send-web-vitals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function sendWebVitals() {
2424
return entry.startTime < (loaf.startTime + loaf.duration) && loaf.startTime < (entry.startTime + entry.duration);
2525
}).forEach(loaf => {
2626
loaf.scripts.forEach(script => {
27-
const totalDuration = script.startTime + script.duration - script.desiredExecutionStart;
27+
const totalDuration = script.startTime + script.duration;
2828
if (totalDuration > loafAttribution.debug_loaf_script_total_duration) {
2929
loafAttribution = {
3030
// Stats for the LoAF entry itself.

0 commit comments

Comments
 (0)