test time cost in each serialization step