spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
564 stars 102 forks source link

Ray freezes when working with normal data #679

Closed mertasan closed 1 year ago

mertasan commented 2 years ago

Versions

Ray freezes when working with normal data.

That's why I restart Ray every time.

There were no performance issues before downloading the Apple Silicon version.

https://user-images.githubusercontent.com/13007665/164476996-3994d10d-e32e-40b2-b17a-b638e45c8fe9.mov

But Eloquent classes don't have this problem:

https://user-images.githubusercontent.com/13007665/164477286-8d38dd11-cc22-44c6-b21a-e4d5b667d43b.mov

Sources:

https://github.com/spatie/spatie.be/blob/00a6bc200e7f7c61b6ec83edb8de02803bfa660c/tests/Http/Auth/Controllers/LoginControllerTest.php#L38

https://github.com/spatie/spatie.be/blob/00a6bc200e7f7c61b6ec83edb8de02803bfa660c/tests/Models/UserTest.php#L36

mertasan commented 2 years ago

I noticed that I created the loop as a nested array.

$this->foo[$i] = $this->foo;

But this was just an example. Ray is also slow when working with normal data:

https://user-images.githubusercontent.com/13007665/164485468-f8c78d6f-fbbf-4e4e-a539-35d45cec0ef5.mov

spatie-bot commented 1 year ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.

mertasan commented 1 year ago

@freekmurze Hi Freek,

This problem still persists. Can you reopen this issue?