8000 fix benchmark mode using Dictionary by Cyan4973 · Pull Request #1168 · lz4/lz4 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix benchmark mode using Dictionary #1168

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

Merged
merged 2 commits into from
Sep 16, 2022
Merged

fix benchmark mode using Dictionary #1168

merged 2 commits into from
Sep 16, 2022

Conversation

Cyan4973
Copy link
Member
@Cyan4973 Cyan4973 commented Sep 15, 2022

benchmark dictionary mode (-b file(s) -D dictionary), as implemented in #808, is incorrect. It would desynchronize compression and decompression as soon as 2+ files are dictionary compressed.

fix #1167

Also :

  • if there is a detected issue during benchmarking, lz4 returns a non-0 error code
  • slightly improved traces system, to also include __LINE__ number

benchmark dictionary mode, implemented in #808, is incorrect.
It would desynchronize compression and decompression as soon as 2+ files are dictionary compressed.

Also : slightly improved traces system, to also include __LINE__ number
also : errors during benchmark mode return an error code.
@Cyan4973 Cyan4973 merged commit e84f375 into dev Sep 16, 2022
@Cyan4973 Cyan4973 changed the title fix benchmark more using Dictionary fix benchmark mode using Dictionary Sep 18, 2022
@Cyan4973 Cyan4973 deleted the benchD branch December 29, 2022 03:08
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.

Cannot benchmark with a dictionary
1 participant
0