Repository navigation
Commit 1b84080
committed
Fix Gecko marker end times during binary replay
Binary replay can deliver sample batches from different threads out of
timestamp order. GeckoCollector used the final timestamp from the most
recent batch, which could close open markers before they started.
Keep the latest timestamp seen across all batches and calculate the sample
interval when serializing the profile.1 parent 3acc941 commit 1b84080
3 files changed
Lines changed: 39 additions & 7 deletions
File tree
- Lib
- profiling/sampling
- test/test_profiling/test_sampling_profiler
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
252 | 251 | | |
253 | 252 | | |
254 | 253 | | |
| |||
732 | 731 | | |
733 | 732 | | |
734 | 733 | | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | 734 | | |
739 | 735 | | |
740 | 736 | | |
| |||
864 | 860 | | |
865 | 861 | | |
866 | 862 | | |
| 863 | + | |
| 864 | + | |
867 | 865 | | |
868 | 866 | | |
869 | 867 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1075 | 1107 | | |
1076 | 1108 | | |
1077 | 1109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments