xy2z / capro

PHP8 static site generator
MIT License
8 stars 2 forks source link

Slow Bug #33

Closed xy2z closed 7 months ago

xy2z commented 7 months ago

It got super slow, especially the build process which now takes around 15 seconds 😴 But also the other commands are slow and takes a second eg capro -v

Seems to work fine in the global capro, but when it's inside a project dir, eg. capro-docs, using capro or vendor/bin/capro it's slooow....

xy2z commented 7 months ago

some notes:

ok it seems to also be slow in version 1.0.0-alpha.32 which was before phar, it takes 15 seconds to build, so it's probably more related to my machine, or the repo or something...? need to test on another device/server with the capro-docs repo

xy2z commented 7 months ago

well... it seems to be a anti-virus "issue", i turned off anti-virus and now it builds in under a second, for v32 (before phar) and v35 (latest phar) 😒

xy2z commented 7 months ago

It can be fixed by allowing the file/folder in Malwarebytes. I can't do anything about this