Files
tracy/server
Bartosz Taudul 46c70fcbb8 Do not mark sorted vectors as unsorted on equal elements.
SortedVector considered an appended element equal to the last one to
break the ordering, marking the vector as unsorted. A non-decreasing
sequence is sorted, so only a strictly smaller element has to trigger
the marker. Equal keys are common: child sample vectors receive
identical timestamps whenever a recursive call stack contains the same
call site twice, which flipped the vectors to unsorted on virtually
every recursive workload and caused the lazy sort in GetChildSamples to
run over and over again while holding the data lock.

The lazy sort machinery handles duplicate keys correctly, as both the
prefix and tail merge windows are computed with lower bounds.
2026-07-25 23:02:13 +02:00
..
2026-03-19 17:57:57 +03:00
2023-10-09 23:11:30 +02:00
2021-12-01 21:52:31 +01:00
2024-05-04 14:28:55 +02:00
2024-05-04 14:28:55 +02:00
2021-10-07 23:28:40 +02:00
2021-10-07 23:28:40 +02:00
2026-01-24 01:50:11 +01:00
2024-05-04 14:28:55 +02:00
2023-03-25 22:14:34 +01:00
2026-01-24 01:50:11 +01:00
2026-01-24 01:50:11 +01:00