Created
July 20, 2017 17:11
-
-
Save drewda/754124f2a9b9996fda7775c5b3e6a908 to your computer and use it in GitHub Desktop.
converting sample speed extracts from JSON to MessagePack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://speed-extracts.s3.amazonaws.com/week0_2017/0/002/415.json | |
# see https://github.com/ludocode/msgpack-tools | |
brew install https://ludocode.github.io/msgpack-tools.rb | |
json2msgpack -bli 415.json -o 415.mp | |
ls -alh | |
# total 974168 | |
# drwxr-xr-x 4 drew staff 136B Jul 20 09:59 . | |
# drwxr-xr-x 4 drew staff 136B Jul 20 09:15 .. | |
# -rw-r--r--@ 1 drew staff 249M Jul 20 09:19 415.json | |
# -rw-r--r-- 1 drew staff 227M Jul 20 09:54 415.mp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment