Skip to content

Commit 17576b4

Browse files
authored
Merge branch 'main' into upstream-dogstatsd-refactors
2 parents 54ebc07 + 5635814 commit 17576b4

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.gitlab/benchmarks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ benchmarks:
1818
- ./steps/run-benchmarks.sh
1919
- ./steps/analyze-results.sh
2020
- "./steps/upload-results-to-s3.sh || :"
21+
- "./steps/upload-results-to-benchmarking-api.sh || :"
2122
- "./steps/post-pr-comment.sh || :"
2223
artifacts:
2324
name: "reports"

data-pipeline/src/stats_exporter.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,15 +342,12 @@ mod tests {
342342
cancellation_token.clone(),
343343
);
344344

345-
tokio::time::pause();
346345
tokio::spawn(async move {
347346
stats_exporter.run().await;
348347
});
349348
// Cancel token to trigger force flush
350349
cancellation_token.cancel();
351-
// Resume time to sleep while the stats are being sent
352-
tokio::time::resume();
353-
tokio::time::sleep(Duration::from_millis(10)).await;
350+
tokio::time::sleep(Duration::from_millis(500)).await;
354351

355352
mock.assert_async().await;
356353
}

profiling/src/collections/string_table/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ impl StringTableIter {
184184
}
185185

186186
impl LendingIterator for StringTableIter {
187-
type Item<'a> = &'a str where Self: 'a;
187+
type Item<'a>
188+
= &'a str
189+
where
190+
Self: 'a;
188191

189192
fn next(&mut self) -> Option<Self::Item<'_>> {
190193
self.iter.next()

0 commit comments

Comments
 (0)