Performance
Hi there,
We were trying to understand why our NodeJS app (express) was slow to launch (9s), and after using tracing and https://github.com/davidmarkclements/0x we found that this library was in the top of our costing dependencies :
-
-
the require("@google-cloud/logging-winston") on my local machine (300ms) or on a Cloudrun (+1s) is also in the top :
Do you think we could improve the importation of this library ? Are we doing something wrong ? Thank you
@tgensol , thanks a lot for opening this issue! To clarify - is the slowdown happens only on startup?
@tgensol , I submitted a fix recently to add instrumentation only once and avoid any further inspection of logging payload - please let me know if things improved overall for you. Feel free to reopen this work item if things are not got better - thank you!