laravel/pulse

Dashboard freezes with many sql queries

Closed this issue · 2 comments

Pulse Version

1.4.2

Laravel Version

12.15.0

PHP Version

8.3

Livewire Version

3.6.3

Database Driver & Version

mariadb Ver 15.1 Distrib 10.11.13-MariaDB, for debian-linux-gnu (aarch64) using EditLine wrapper

Description

When loading the Pulse dashboard in a larger Laravel project, the entire page freezes after a few seconds, and a Page Unresponsive modal appears in the browser. This issue occurs in Chrome, Brave, and Firefox. Every card loads except the one displaying slow SQL queries.

I haven’t changed any Pulse settings; it’s using the default configuration file.

Steps To Reproduce

  • Install Pulse in a project with many long-running or slow SQL queries.
  • Try using the Pulse dashboard.

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!

I assume this is because of SQL highlighting. We recommend adding the without-highlighting prop to the card.

Image