optimized struct and class members serialization
added more performance monitor cases