rogden / tailwind-config-viewer

A local UI tool for visualizing your Tailwind CSS configuration file.
1.98k stars 110 forks source link

Outdated koa router #90

Closed GalacticHypernova closed 10 months ago

GalacticHypernova commented 10 months ago

warning @nuxtjs/tailwindcss > tailwind-config-viewer > @koa/router@9.4.0: IMPORTANT 10x+ PERFORMANCE UPGRADE: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173

metkm commented 10 months ago

Having the same issue. I guess this was the reason why my dev server become so slow?

GalacticHypernova commented 10 months ago

Most likely..

maximepvrt commented 10 months ago

@rogden 🙏

NBZ-Vasil commented 10 months ago

Same thing here, experienced a sharp performance drop on my dev machine after installing @nuxtjs/tailwindcss.

metkm commented 10 months ago

This is related to https://github.com/nuxt/ui/issues/845

rogden commented 10 months ago

Thanks for the report. Will look at this tonight and update the dep. What was the variable that caused the perf issue? Given the Koa router version in this project has been the same since the beginning...why the slowness now?

GalacticHypernova commented 10 months ago

@rogden the slowness was always there. The warning was only added recently, as seen here. As far as I understood, the cause was a conversion of debug to debuglog.

rogden commented 10 months ago

Updated in v1.7.3

GalacticHypernova commented 10 months ago

Thank you very much!

NBZ-Vasil commented 10 months ago

Thanks for the quick resolution