Skip to content

Performance optimizations - #52

Merged
bourumir-wyngs merged 4 commits into
masterfrom
bw/optimize
Nov 1, 2026
Merged

bourumir-wyngs merged 4 commits into
masterfrom
bw/optimize

Conversation

@bourumir-wyngs

Copy link
Copy Markdown
Owner

Performance optimizations

@codspeed

codspeed Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 13 untouched benchmarks
🆕 16 new benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
🆕 comments_around_empty_nodes[1000] N/A 37.2 ms N/A
🆕 core_tagged_scalars[1000] N/A 7.3 ms N/A
🆕 folded_scalars_from_char_iterator[64] N/A 12.2 ms N/A
🆕 folded_scalars_from_fallible_iterator[64] N/A 12.2 ms N/A
🆕 literal_and_folded_chomping[1000] N/A 7.7 ms N/A
🆕 literal_scalars_from_char_iterator[64] N/A 12.2 ms N/A
🆕 literal_scalars_from_fallible_iterator[64] N/A 10 ms N/A
🆕 long_quoted_ascii_scalars[128] N/A 1.4 ms N/A
🆕 long_quoted_cjk_scalars[128] N/A 3.1 ms N/A
🆕 long_quoted_emoji_scalars[128] N/A 3.6 ms N/A
🆕 mapping_values_with_inline_comments[1000] N/A 8.6 ms N/A
🆕 multiline_quoted_scalars[1000] N/A 7.4 ms N/A
🆕 quoted_cyrillic_words[128] N/A 4.7 ms N/A
🆕 quoted_latin_words[128] N/A 5.7 ms N/A
🆕 quoted_mixed_script_words[128] N/A 4.9 ms N/A
🆕 quoted_spaced_emoji[128] N/A 13.2 ms N/A

Comparing bw/optimize (68101e4) with master (c94dfd6)

Open in CodSpeed

@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.06763% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/parser.rs 97.14% 3 Missing ⚠️
src/scanner.rs 97.72% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@bourumir-wyngs
bourumir-wyngs merged commit f8d30ef into master Nov 1, 2026
25 checks passed
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