-
Notifications
You must be signed in to change notification settings - Fork 492
Open
Description
Bug Report
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 thego 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 ofmake slice -
What did you see instead?
parser.New() is too hot -
What version of TiDB SQL Parser are you using?
master, all versions
Metadata
Metadata
Assignees
Labels
No labels