forked from facebookarchive/fbssdc
-
Notifications
You must be signed in to change notification settings - Fork 1
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
We need a size benchmark #2
Comments
FrameworksProtocolPYTHONPATH=$PYTHONPATH:. ./bench/sample_directory.py --dir ~/Documents/Code/binjs/tests/data/frameworks --binjs_encode ~/Documents/Code/binjs/target/release/binjs_encode --sampling 0.2 --dictionary-threshold 0 ResultGlobal ratio: 1.114944 Facebook sample setProtocolPYTHONPATH=$PYTHONPATH:. ./bench/sample_directory.py --dir ~/Documents/Code/binjs/tests/data/facebook/single/ --binjs_encode ~/Documents/Code/binjs/target/release/binjs_encode --sample 0.5 Result
Real js samplesProtocol PYTHONPATH=$PYTHONPATH:. time ./bench/sample_directory.py --dir ~/Downloads/scrap/ --binjs_encode ~/Documents/Code/binjs/target/release/binjs_encode --sample 0.2 Result
Also, |
This was referenced May 7, 2019
If we compare to #2, the (not-really-finished) entropy-0.4 format shows:
Slight advantage to entropy. Not sufficient to change course now, but we probably want to merge the formats eventually to get the best of both worlds. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like https://github.com/binast/binjs-ref/blob/master/examples/sample_directory.rs
The text was updated successfully, but these errors were encountered: