Measuring deserialization's average time