Skip to content

chore: set lineLength back to 120 - #249

Draft
kkebo wants to merge 1 commit into
mainfrom
line-length-121
Draft

chore: set lineLength back to 120#249
kkebo wants to merge 1 commit into
mainfrom
line-length-121

Conversation

@kkebo

@kkebo kkebo commented Jun 21, 2026

Copy link
Copy Markdown
Owner

This can be merged after swiftlang/swift-format#1219 is resolved.

@kkebo kkebo self-assigned this Jun 21, 2026
Base automatically changed from update-swift-format to main June 21, 2026 09:22
@kkebo
kkebo force-pushed the line-length-121 branch from 116a274 to 078462c Compare June 21, 2026 09:23
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Summary

Sun Jun 21 09:26:20 UTC 2026

Filename                           Functions  Missed Functions  Executed       Lines      Missed Lines     Cover
----------------------------------------------------------------------------------------------------------------
HTMLEntities/namedChars.swift              3                 1    66.67%          22                 1    95.45%
Str/Str.swift                             24                 7    70.83%          64                17    73.44%
Tokenizer/BufferQueue.swift               10                 1    90.00%          34                 1    97.06%
Tokenizer/CharRefTokenizer.swift          13                 0   100.00%         230                 8    96.52%
Tokenizer/DOCTYPE.swift                    2                 0   100.00%          14                 0   100.00%
Tokenizer/SmallCharSet.swift               4                 0   100.00%           8                 0   100.00%
Tokenizer/Tag.swift                        1                 0   100.00%           6                 0   100.00%
Tokenizer/Tokenizer.swift                118                12    89.83%        1296               224    82.72%
Tokenizer/Utils.swift                      2                 0   100.00%          13                 0   100.00%
TreeBuilder/DOM.swift                      4                 2    50.00%           9                 2    77.78%
TreeBuilder/TreeBuilder.swift             48                47     2.08%         255               251     1.57%
----------------------------------------------------------------------------------------------------------------
TOTAL                                    229                70    69.43%        1951               504    74.17%

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Summary

Sun Jun 21 09:32:08 UTC 2026

�[33mWarning: running with the Swift runtime interposer on Linux to avoid the Swift 6.3 runtime hook crash. See https://github.com/ordo-one/benchmark/issues/349�[0m

New baseline 'pull_request' is WITHIN the 'base' baseline thresholds.


�[33mWarning: running with the Swift runtime interposer on Linux to avoid the Swift 6.3 runtime hook crash. See https://github.com/ordo-one/benchmark/issues/349�[0m

Comparing results between 'base' and 'pull_request'

Host 'runnervmju8gg' with 4 'aarch64' processors with 15 GB memory, running:
#18~24.04.1-Ubuntu SMP Thu May 28 16:41:33 UTC 2026

MyBenchmark

lipsum metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ns) * p0 p25 p50 p75 p90 p99 p100 Samples
base 8122 8139 8147 8159 8167 8192 8200 100
pull_request 8125 8139 8143 8147 8159 8192 8193 100
Δ 3 0 -4 -12 -8 0 -7 0
Improvement % 0 0 0 0 0 0 0 0

lipsum-zh metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ns) * p0 p25 p50 p75 p90 p99 p100 Samples
base 1699 1702 1703 1705 1707 1716 1717 100
pull_request 1695 1700 1701 1705 1708 1714 1720 100
Δ -4 -2 -2 0 1 -2 3 0
Improvement % 0 0 0 0 0 0 0 0

medium-fragment metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (μs) * p0 p25 p50 p75 p90 p99 p100 Samples
base 45 45 45 45 45 45 45 100
pull_request 44 45 45 45 45 45 45 100
Δ -1 0 0 0 0 0 0 0
Improvement % 2 0 0 0 0 0 0 0

small-fragment metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ns) * p0 p25 p50 p75 p90 p99 p100 Samples
base 4870 4882 4887 4895 4899 4907 4908 100
pull_request 4858 4870 4878 4887 4895 4915 4936 100
Δ -12 -12 -9 -8 -4 8 28 0
Improvement % 0 0 0 0 0 0 -1 0

strong metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (μs) * p0 p25 p50 p75 p90 p99 p100 Samples
base 21 21 21 21 21 21 22 100
pull_request 21 21 21 21 21 21 21 100
Δ 0 0 0 0 0 0 -1 0
Improvement % 0 0 0 0 0 0 5 0

tiny-fragment metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ns) * p0 p25 p50 p75 p90 p99 p100 Samples
base 476 480 481 483 484 498 510 100
pull_request 479 482 483 484 486 493 494 100
Δ 3 2 2 1 2 -5 -16 0
Improvement % -1 0 0 0 0 1 3 0

@kkebo
kkebo force-pushed the line-length-121 branch from 078462c to a70423d Compare June 26, 2026 19:56
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Summary

Fri Jun 26 19:59:52 UTC 2026

Filename                           Functions  Missed Functions  Executed       Lines      Missed Lines     Cover
----------------------------------------------------------------------------------------------------------------
HTMLEntities/namedChars.swift              3                 1    66.67%          22                 1    95.45%
Str/Str.swift                             24                 7    70.83%          64                17    73.44%
Tokenizer/BufferQueue.swift               10                 1    90.00%          34                 1    97.06%
Tokenizer/CharRefTokenizer.swift          13                 0   100.00%         230                 8    96.52%
Tokenizer/DOCTYPE.swift                    2                 0   100.00%          14                 0   100.00%
Tokenizer/SmallCharSet.swift               4                 0   100.00%           8                 0   100.00%
Tokenizer/Tag.swift                        1                 0   100.00%           6                 0   100.00%
Tokenizer/Tokenizer.swift                118                12    89.83%        1296               224    82.72%
Tokenizer/Utils.swift                      2                 0   100.00%          13                 0   100.00%
TreeBuilder/DOM.swift                      4                 2    50.00%           9                 2    77.78%
TreeBuilder/TreeBuilder.swift             48                47     2.08%         255               251     1.57%
----------------------------------------------------------------------------------------------------------------
TOTAL                                    229                70    69.43%        1951               504    74.17%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant