We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29e7c65 commit e27c2e9Copy full SHA for e27c2e9
1 file changed
src/index.ts
@@ -54,8 +54,8 @@ export default class Tracelib {
54
55
public getSummary(from?: number, to?: number): StatsObject {
56
const timelineUtils = new TimelineUIUtils()
57
- const startTime = from || this._performanceModel.startTime
58
- const endTime = to || this._performanceModel.endTime
+ const startTime = from || this._performanceModel.timelineModel().minimumRecordTime()
+ const endTime = to || this._performanceModel.timelineModel().maximumRecordTime()
59
const mainTrack = this._findMainTrack()
60
61
// We are facing data mutaion issue in devtools, to avoid it cloning syncEvents
0 commit comments