Comments (15)
I'm having trouble replicating this one.
I recorded and let it run for just over 15 seconds to capture a few updates.
If I resize the window constantly while recording then I can get the rendering and painting numbers up, but I assume that's to be expected as I'm forcing it to constantly re-render for the duration of the recording.
from pulse.
Chrome Version 120.0.6099.62 (Official Build) (arm64)
Apple M2 Max
Screen.Recording.2023-12-06.at.3.10.18.pm.mov
from pulse.
<livewire:pulse.slow-queries cols="8" />
Appears to be the one that is currently making the layout slow.
select count(*) from pulse_aggregates where type = "slow_query"
1590
from pulse.
Wonder if this is related to the SQL syntax highlighting.
@incon do you have a bunch of queries in the slow queries table? If you remove some does it improve in speed? If you only have one is it better, and if have none is it fast again?
from pulse.
Assuming this is an issue with the number of DOM nodes with specific styling being created by the syntax highlighting - I'm adding a option to disable syntax highlighting over here: #172
from pulse.
#172 is released now. Feel free to re-open if there are still issues 👍
from pulse.
While much improved with PULSE_SLOW_QUERIES_HIGHLIGHTING=false
it's still slow.
from pulse.
@incon do you have a bunch of queries in the slow queries table? If you remove some does it improve in speed? If you only have one is it better, and if have none is it fast again?
from pulse.
@timacdonald Removing them makes the dashboard fast again.
from pulse.
@incon did you also update the config/pulse.php
containing the new options? Trying to exclude any gotcha.
from pulse.
#227 While in local development with a low threshold. I ended up with lots of telescope entries in the slow queries table. This made the dashboard very slow with over 1000 slow queries.
It would nice if slow queries could be aggregated based on the SQL prepare statement.
from pulse.
@incon thanks for the PR. Just to confirm, are you saying that the Telescope queries are the issue here?
from pulse.
In this case yes, but the issue is displaying the 1000 slow quires all at once if you have that many slow queries.
from pulse.
@incon that is interesting. It should have limited the slow queries to only show 100
at most on the dashboard.
We will have to take a look at that.
from pulse.
I'm not able to reproduce this on a fully filled dashboard, i.e., where all tables have the max of 100 items each.
We might close this and if we hear others are having issues we can dig in. Obviously happy for a fix if we can come up with one.
from pulse.
Related Issues (20)
- Dashboard with empty screen HOT 2
- Pulse Scalability rocks! - extract Pulse data repository? HOT 1
- Change logo for the dark theme HOT 1
- Integrate Pulse into Nova? HOT 1
- TypeError in `Pulse::rememberUser()` (Logout Event) HOT 1
- 500 Server Error displaying HOT 1
- UI issue (supports-scrollbars:pr-3) HOT 1
- Unexpected Alpine.js Errors in Laravel Pulse Dashboard HOT 7
- Add supervisor configuration HOT 1
- Update the link in the About section HOT 2
- Please make Supervisor card HOT 1
- Laravel pulse returns 404 HOT 1
- Deadlocks on insert (in production) HOT 1
- Add table prefix on raw expressions when a table name is in the string HOT 1
- Rendering of very long slow SQL queries slows down the page HOT 2
- High Cpu Usage HOT 1
- Logical error with period/bucket calculations HOT 1
- Associate all data with originating server HOT 1
- Volt component in Volt route throws "htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given." in Slow Requests Card HOT 2
- Migration fails with database prefix longer than 3 chars HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulse.