Closed jack932 closed 10 months ago
Just in case i recorded a short video showing the behaviour:
I'm experiencing this as well. Depending on the size of the dump, it takes more than 1 minute to scroll the app. It's really frustrating.
Windows 11 22621.1631 PHP 8.1.16 Ray 2.4.0.0
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.
Describe the bug Ray is slow. I am using xfce as a desktop environment. The behaviour is exactly the same when i started to use rambox (based on electron) and chromium. I was able to fix it in those cases by disabling the hardware acceleration in the settings of rambox and chromium.
For ray, i tried to find such a setting. I also tried opening the developer tools since I assume this is also an electron based application.
Versions 2.3.0
You can use
composer show
to get the version numbers of:PHP version: 8.2.2 Laravel version (if applicable): v9.52.0
To Reproduce Steps to reproduce the behavior:
$arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; foreach ($arr as $item) { ray($item); }
Expected behavior Ray is faster.
Screenshots Please see the comment https://github.com/spatie/ray/issues/783#issuecomment-1468042120 where I added a video showing the issue.
Desktop (please complete the following information):
DISTRIB_ID=ManjaroLinux DISTRIB_RELEASE=22.0.4 DISTRIB_CODENAME=Sikaris DISTRIB_DESCRIPTION="Manjaro Linux"
Additional context For example the following commit shows an electron application which looks out for an environment variable and depending on that disables hardware acceleration: https://github.com/faressoft/terminalizer/pull/134/files
Do you know any way to improve the performance so that i can use your great application?
Regards Michael