laravel/tinker

Tinker get too much slow after upgrading PHP to 7.4

imami opened this issue · 3 comments

imami commented
  • Tinker Version: 2.0.0
  • Laravel Version: 6.6.1
  • PHP Version: 7.4.0
  • OS: MacOS Catalina 10.15.1

Description:

Tinker get too much slow, after upgrading php on.
it takes about 10~15 seconds to start running, and the same delay to response to any php code, but the same code is running perfectly in Laravel itself.

Steps To Reproduce:

php artisan tinker

Are you seeing the same issue running psysh directly? Do you have slow startup times if you create a fresh Laravel project?

I have the exact same issue, but it's not specifically because of tinker.
Even if you will try to enter a PHP's page or php artisan config:clear it will be slow as well.

I didn't solve the issue, but I notice if I will stop the MySQL process everything works regularly.

Update: After downgrading to MySQL 5.7 everything works fine

I don't experience tinker as running slow myself on 7.4 tbh. Closing because of inactivity.