store pairs in file
test time cost in each serialization step
Merge pull request #5 from LuciusYu/master

time cost in each step