-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pint is too slow #299
Comments
Thank you for reporting this issue! As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub. If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team. Thank you! |
How big is your project? A big project is going to take a longer time than a smaller project to format. You may run pint on specific sections of your project, if that helps: https://laravel.com/docs/11.x/pint#running-pint e.g., |
@crynobone @danielh-official I'll close this ticket as isn't a relevant issue, mainly because, once pint fix the file, the process takes only microseconds to check the file again. And that point about Thanks all. |
Pint Version
1.18
PHP Version
8.3
Description
I just install pint in a old laravel project that was upgraded to version 11, anyways, that's not the point, when ran the command, was too slow ...
2024-10-08.15-43-42.mp4
Yeah, video quality stinks but it's something that just happens.
I'm not pretty sure what is going on but the truth is that some files in my code contains a huge amount of array elements. Yup, so ... probably is something about that, IMHO isn't a huge problem but the point is, there a way to run pint in parallel? similar like when you're compiling some C/C++ and use
-j<threads>
or even can be like--parallel
from testing, but maybe can be considered as overthink, anyways, if there are projects affected they can reduce their CI pipelines by doing that.Steps To Reproduce
The text was updated successfully, but these errors were encountered: