Modify warning code.
Merge pull request #9692 from dabingnn/v3_perf

optimize rendering code
Merge pull request #9688 from pipu/modify_warning

Modify warning code.