You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error. financeaccount.zip
in the attachment,use the go tool pprof profile,will see parser.New() is too hot because of slice allocation.
Maybe, a object pool is proper.
What did you expect to see?
Reduce the overhead of make slice
What did you see instead?
parser.New() is too hot
What version of TiDB SQL Parser are you using?
master, all versions
Activity
tangenta commentedon Apr 28, 2022
The parser instance is expected to be reused.