From 666b45a25293781f268177664bfe300cd1742b60 Mon Sep 17 00:00:00 2001 From: Vladimir Kukushkin Date: Tue, 13 Oct 2026 12:03:23 +0100 Subject: [PATCH] Adjust benchmark expectations (#523) ### Motivation: Benchmarks CI has been failing recently on Swift 6.3 and 6.4, for example: https://github.com/apple/swift-log/actions/runs/38083241726. The results are actually better than expected in the thresholds. ### Modifications: - Swift 6.3 MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json threshold reduced - Swift 6.4 MaxLogLevelWarning.notice_log_with_notice_log_level_attributed_generic.p90.json threshold reduced ### Result: CI should not fail anymore. --- ...critical_log_with_critical_log_level_metadata_set.p90.json | 2 +- ...tice_log_with_notice_log_level_attributed_generic.p90.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.3/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.3/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json index 08359cf..8ad0544 100644 --- a/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.3/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json +++ b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.3/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json @@ -1,4 +1,4 @@ { - "instructions" : 759, + "instructions" : 710, "objectAllocCount" : 0 } \ No newline at end of file diff --git a/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_attributed_generic.p90.json b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_attributed_generic.p90.json index 5e77a47..10f9de7 100644 --- a/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_attributed_generic.p90.json +++ b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_attributed_generic.p90.json @@ -1,4 +1,4 @@ { - "instructions" : 803, + "instructions" : 750, "objectAllocCount" : 0 -} +} \ No newline at end of file