minor performance tweaks,
script to benchmark performance against julia serialization