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

Allow using dictionaries in benchmark #4139

Open
corneliusroemer opened this issue Sep 15, 2024 · 1 comment
Open

Allow using dictionaries in benchmark #4139

corneliusroemer opened this issue Sep 15, 2024 · 1 comment
Assignees

Comments

@corneliusroemer
Copy link

Is your feature request related to a problem? Please describe.
I would like to run the CLI benchmark a constant dictionary file

Describe the solution you'd like
Allow passing a dictionary in benchmark mode

Maybe this is already possible, but in that case it's not visible in the documentation.

@Cyan4973 Cyan4973 self-assigned this Sep 16, 2024
@Cyan4973
Copy link
Contributor

Cyan4973 commented Sep 16, 2024

It's already possible,
just combine -b FILE(s) with -D dictionary.

zstd -b dirGithub/*                          
 3# 9114 files       :   7484607 ->   2493833 (x3.001),  203.9 MB/s,  474.8 MB/s

zstd -b dirGithub/* -D dictGithub
 3# 9114 files       :   7484607 ->    703316 (x10.64),  711.5 MB/s, 2119.2 MB/s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants