mongoose time execute more than mongodb driver

18 views
Skip to first unread message

Nattapong Melont

unread,
Feb 28, 2022, 11:19:10 PM2/28/22
to Mongoose Node.JS ODM
I test performance in my server because API request took more ~2s. I found mongoose slower query from database. and I test couple query mongooseJS and MongoDB driver.  result is too much different! please help. thank :)


Screenshot from 2022-03-01 11-12-15.png
note. prod is mongooseJS and prod_new is MongoDB driver 

this is my code 
Screenshot from 2022-03-01 11-18-25.png


Reply all
Reply to author
Forward
0 new messages