AppCode: initial serialization optimization + performance tests tuned