Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: benchmark default bytesizes #4356

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

fraidev
Copy link
Contributor

@fraidev fraidev commented Jan 23, 2025

Passing ByteSize as default arguments makes them been serialized and dieselized, for some reason, it converts to SI unit even we're using Bytes unit.

Solved it by passing str instead, making it been only dieselized.

Before passing 5kib it was converting to: 5100
Now passing 5kib as str is converting to 5120.

Solves: #4357

@fraidev fraidev marked this pull request as ready for review January 23, 2025 19:29
@fraidev fraidev requested review from digikata and sehz January 23, 2025 19:31
@fraidev fraidev enabled auto-merge January 23, 2025 19:55
@fraidev fraidev added this pull request to the merge queue Jan 23, 2025
Merged via the queue into infinyon:master with commit e02ac38 Jan 23, 2025
102 checks passed
@fraidev fraidev deleted the fix_bench branch January 23, 2025 20:30
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.

2 participants