diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a27d9d8..110af90 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,19 +14,21 @@ jobs: name: Unit tests uses: apple/swift-nio/.github/workflows/unit_tests.yml@main with: - linux_6_1_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" + linux_6_1_enabled: false + linux_6_4_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_6_2_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_6_3_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" - windows_6_1_enabled: true + windows_6_1_enabled: false windows_6_2_enabled: true windows_6_3_enabled: true + windows_6_4_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true - windows_6_1_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_6_2_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_6_3_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" + windows_6_4_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" @@ -36,6 +38,7 @@ jobs: with: benchmark_package_paths: '["Benchmarks/NoTraits", "Benchmarks/MaxLogLevelWarning", "Benchmarks/MaxLogLevelNone"]' macos_swift_6_3_enabled: true + macos_swift_6_4_enabled: true cxx-interop: name: Cxx interop @@ -52,9 +55,10 @@ jobs: with: runner_pool: nightly build_scheme: swift-log-Package - swift_6_1_enabled: true + swift_6_1_enabled: false swift_6_2_enabled: true swift_6_3_enabled: true + swift_6_4_enabled: true macos_xcode_test_enabled: true ios_xcode_test_enabled: false watchos_xcode_test_enabled: false @@ -76,8 +80,9 @@ jobs: name: Release builds uses: apple/swift-nio/.github/workflows/release_builds.yml@main with: - windows_6_1_enabled: true + windows_6_1_enabled: false windows_6_2_enabled: true windows_6_3_enabled: true + windows_6_4_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7d943d7..505902e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,19 +18,21 @@ jobs: name: Unit tests uses: apple/swift-nio/.github/workflows/unit_tests.yml@main with: - linux_6_1_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" + linux_6_1_enabled: false + linux_6_4_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_6_2_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_6_3_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" - windows_6_1_enabled: true + windows_6_1_enabled: false windows_6_2_enabled: true windows_6_3_enabled: true + windows_6_4_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true - windows_6_1_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_6_2_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_6_3_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" + windows_6_4_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" @@ -41,6 +43,7 @@ jobs: benchmark_package_paths: '["Benchmarks/NoTraits", "Benchmarks/MaxLogLevelWarning", "Benchmarks/MaxLogLevelNone"]' macos_runner_pool: general macos_swift_6_3_enabled: true + macos_swift_6_4_enabled: true cxx-interop: name: Cxx interop @@ -58,9 +61,10 @@ jobs: runner_pool: general build_scheme: swift-log-Package swift_test_enabled: true - swift_6_1_enabled: true + swift_6_1_enabled: false swift_6_2_enabled: true swift_6_3_enabled: true + swift_6_4_enabled: true macos_xcode_test_enabled: true ios_xcode_test_enabled: false watchos_xcode_test_enabled: false @@ -76,9 +80,10 @@ jobs: name: Release builds uses: apple/swift-nio/.github/workflows/release_builds.yml@main with: - windows_6_1_enabled: true + windows_6_1_enabled: false windows_6_2_enabled: true windows_6_3_enabled: true + windows_6_4_enabled: true windows_nightly_next_enabled: true windows_nightly_main_enabled: true diff --git a/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level.p90.json b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level.p90.json new file mode 100644 index 0000000..2a138bc --- /dev/null +++ b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 810, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_generic.p90.json b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_generic.p90.json new file mode 100644 index 0000000..5e77a47 --- /dev/null +++ b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_generic.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 803, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_logLevel_set.p90.json b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_logLevel_set.p90.json new file mode 100644 index 0000000..5e77a47 --- /dev/null +++ b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_logLevel_set.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 803, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json new file mode 100644 index 0000000..5e77a47 --- /dev/null +++ b/Benchmarks/MaxLogLevelNone/Thresholds/Xcode swift 6.4/MaxLogLevelNone.critical_log_with_critical_log_level_metadata_set.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 803, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level.p90.json b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level.p90.json new file mode 100644 index 0000000..29e20f6 --- /dev/null +++ b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 815, + "objectAllocCount" : 0 +} 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 new file mode 100644 index 0000000..5e77a47 --- /dev/null +++ b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_attributed_generic.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 803, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_generic.p90.json b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_generic.p90.json new file mode 100644 index 0000000..9405ce1 --- /dev/null +++ b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.notice_log_with_notice_log_level_generic.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 828, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.warning_log_with_warning_log_level.p90.json b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.warning_log_with_warning_log_level.p90.json new file mode 100644 index 0000000..4ea9c58 --- /dev/null +++ b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.warning_log_with_warning_log_level.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 2008, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.warning_log_with_warning_log_level_generic.p90.json b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.warning_log_with_warning_log_level_generic.p90.json new file mode 100644 index 0000000..8c8772f --- /dev/null +++ b/Benchmarks/MaxLogLevelWarning/Thresholds/Xcode swift 6.4/MaxLogLevelWarning.warning_log_with_warning_log_level_generic.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 2002, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_1_attribute.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_1_attribute.p90.json new file mode 100644 index 0000000..5ef28bd --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_1_attribute.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 1119, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_2_attributes.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_2_attributes.p90.json new file mode 100644 index 0000000..5ef28bd --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_2_attributes.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 1119, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_generic.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_generic.p90.json new file mode 100644 index 0000000..0849f4f --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_error_log_level_generic.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 1117, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_1.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_1.p90.json new file mode 100644 index 0000000..74a80bf --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_1.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 5327, + "objectAllocCount" : 1 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_1000.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_1000.p90.json new file mode 100644 index 0000000..52be637 --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_1000.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 4263935, + "objectAllocCount" : 2016 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_20.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_20.p90.json new file mode 100644 index 0000000..5b1f32f --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_20.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 69119, + "objectAllocCount" : 37 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_5.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_5.p90.json new file mode 100644 index 0000000..8a8d4bd --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.debug_log_with_info_log_level_metadata_nesting_depth_5.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 15471, + "objectAllocCount" : 6 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_1_attribute.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_1_attribute.p90.json new file mode 100644 index 0000000..9b5994b --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_1_attribute.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 6851, + "objectAllocCount" : 2 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_2_attributes.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_2_attributes.p90.json new file mode 100644 index 0000000..d4e22b3 --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_2_attributes.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 8399, + "objectAllocCount" : 3 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_current_read_fallback.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_current_read_fallback.p90.json new file mode 100644 index 0000000..bcecfa5 --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_current_read_fallback.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 1095, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_current_read_inside_scope.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_current_read_inside_scope.p90.json new file mode 100644 index 0000000..bd005ae --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_current_read_inside_scope.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 1038, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_generic.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_generic.p90.json new file mode 100644 index 0000000..bfccfcb --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_generic.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 1972, + "objectAllocCount" : 0 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_withLogger_handler.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_withLogger_handler.p90.json new file mode 100644 index 0000000..e7707ca --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_withLogger_handler.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 4171, + "objectAllocCount" : 1 +} diff --git a/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_withLogger_mergingMetadata.p90.json b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_withLogger_mergingMetadata.p90.json new file mode 100644 index 0000000..1d68e20 --- /dev/null +++ b/Benchmarks/NoTraits/Thresholds/Xcode swift 6.4/NoTraits.error_log_with_error_log_level_withLogger_mergingMetadata.p90.json @@ -0,0 +1,4 @@ +{ + "instructions" : 10231, + "objectAllocCount" : 4 +}