Closed mertasan closed 1 year 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:
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.
@freekmurze Hi Freek,
This problem still persists. Can you reopen this issue?
Versions
spatie/ray
:1.34.1
8.1
Monterey 12.3
(M1 Pro / Macbook 14)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