| 41 | let longFrames = sample.longFrames ?? []; |
| 42 | let scripts = longFrames.flatMap(frame => frame.scripts); |
| 43 | let total = values => (longFrames.length ? values.reduce((sum, value) => sum + value, 0) : null); |
| 44 | return { |
| 45 | ready: sample.semanticReady - sample.start, |
| 46 | opportunity: sample.renderingOpportunity - sample.start, |