Skip to content

Optimize countLastNLinesBytes to read files in chunks instead of single-byte reads to reduce CPU and IO overhead. Added TestReadLastNLines_Performance to verify chunked performance. - #370

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_922215209
Open

Optimize countLastNLinesBytes to read files in chunks instead of single-byte reads to reduce CPU and IO overhead. Added TestReadLastNLines_Performance to verify chunked performance.#370
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_922215209

Conversation

@copybara-service

Copy link
Copy Markdown

Optimize countLastNLinesBytes to read files in chunks instead of single-byte reads to reduce CPU and IO overhead. Added TestReadLastNLines_Performance to verify chunked performance.

…le-byte reads to reduce CPU and IO overhead. Added TestReadLastNLines_Performance to verify chunked performance.

PiperOrigin-RevId: 922215209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants