Skip to content

Comments

refactor(core)!: Remove not used cap write_multi_align_size#5322

Merged
Xuanwo merged 4 commits intomainfrom
remove-range-writer
Nov 14, 2024
Merged

refactor(core)!: Remove not used cap write_multi_align_size#5322
Xuanwo merged 4 commits intomainfrom
remove-range-writer

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Nov 14, 2024

Which issue does this PR close?

None

Rationale for this change

write_multi_align_size is designed solely for gcs, but it's now never been used.

What changes are included in this PR?

Remove write_multi_align_size from capability.

Are there any user-facing changes?

@github-actions github-actions bot added the releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" label Nov 14, 2024
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo Xuanwo changed the title refactor(core): Remove not used cap write_multi_align_size refactor(core)!: Remove not used cap write_multi_align_size Nov 14, 2024
Signed-off-by: Xuanwo <[email protected]>
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 14, 2024

CodSpeed Performance Report

Merging #5322 will degrade performances by 18.88%

Comparing remove-range-writer (d179ca9) with main (4dc0f15)

Summary

❌ 8 regressions
✅ 65 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main remove-range-writer Change
buffer 256 KiB * 32 chunk 154.4 ns 183.6 ns -15.89%
buffer 256 KiB * 4 chunk 125.3 ns 154.4 ns -18.88%
buffer 4.00 MiB * 32 chunk 125.3 ns 154.4 ns -18.88%
buffer 4.00 MiB * 4 chunk 125.3 ns 154.4 ns -18.88%
256 KiB * 1000k truncate 245.8 ns 275 ns -10.61%
256 KiB * 100k truncate 245.8 ns 275 ns -10.61%
256 KiB * 10k truncate 245.8 ns 275 ns -10.61%
256 KiB * 1k truncate 245.8 ns 275 ns -10.61%

Signed-off-by: Xuanwo <[email protected]>
@Xuanwo
Copy link
Member Author

Xuanwo commented Nov 14, 2024

Thank you @PsiACE for the review!

@Xuanwo Xuanwo merged commit 104727c into main Nov 14, 2024
@Xuanwo Xuanwo deleted the remove-range-writer branch November 14, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants