File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
packages/apm/src/integrations Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
6
6
7
+ - [ apm] ref: Remove performance clear entry calls (#2490 )
8
+
7
9
## 5.14.0
8
10
9
11
- [ apm] feat: Add a simple heartbeat check, if activities don't change in 3 beats, finish the transaction (#2478 )
Original file line number Diff line number Diff line change @@ -603,14 +603,6 @@ export class Tracing implements Integration {
603
603
addSpan ( evaluation ) ;
604
604
}
605
605
606
- // The Performance object has a limited buffer size, often 150 entries. At some point the buffer may overflow, in
607
- // which case we would not be able to use it to create/update spans. Therefore, after we have processed entries to
608
- // report to Sentry, we clear the buffer in an attempt to allow for more entries to be added in the future.
609
- // https://developer.mozilla.org/en-US/docs/Web/API/Performance
610
- logger . log ( '[Tracing] Clearing most performance marks' ) ;
611
- performance . clearMarks ( ) ;
612
- performance . clearMeasures ( ) ;
613
- performance . clearResourceTimings ( ) ;
614
606
Tracing . _performanceCursor = Math . max ( performance . getEntries ( ) . length - 1 , 0 ) ;
615
607
616
608
// tslint:enable: no-unsafe-any
You can’t perform that action at this time.
0 commit comments