-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Description
Hi, I wanted to try mysql2
as a replacement for mysql
for performance reasons. When I tried it in a production environment, I am actually seeing that mysql2
is slower, so I wonder if it's a config issue on my end. Are there any settings I should try changing?
Using the profiler, I didn't see anything out of the ordinary. The vast majority of time is spent in handlePacket -> TextRow -> wrap. The only other difference I notice between the two libraries is that mysql2
seems to invoke Readable.push
in a very regular frequency time-wise, whereas mysql
does it in an irregular pattern. Thank you!
Metadata
Metadata
Assignees
Labels
No labels