Git Product home page Git Product logo

Comments (15)

jessarcher avatar jessarcher commented on July 30, 2024

I'm having trouble replicating this one.

I recorded and let it run for just over 15 seconds to capture a few updates.

image

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.

incon avatar incon commented on July 30, 2024

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.

incon avatar incon commented on July 30, 2024

<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.

timacdonald avatar timacdonald commented on July 30, 2024

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.

timacdonald avatar timacdonald commented on July 30, 2024

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.

jessarcher avatar jessarcher commented on July 30, 2024

#172 is released now. Feel free to re-open if there are still issues 👍

from pulse.

incon avatar incon commented on July 30, 2024

While much improved with PULSE_SLOW_QUERIES_HIGHLIGHTING=false it's still slow.

from pulse.

timacdonald avatar timacdonald commented on July 30, 2024

@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.

incon avatar incon commented on July 30, 2024

@timacdonald Removing them makes the dashboard fast again.

from pulse.

crynobone avatar crynobone commented on July 30, 2024

https://github.com/laravel/pulse/blob/9eda727da25be60c838fb604daced2073c1607fd/config/pulse.php#L191C1-L200C11

@incon did you also update the config/pulse.php containing the new options? Trying to exclude any gotcha.

from pulse.

incon avatar incon commented on July 30, 2024

#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.

jbrooksuk avatar jbrooksuk commented on July 30, 2024

@incon thanks for the PR. Just to confirm, are you saying that the Telescope queries are the issue here?

from pulse.

incon avatar incon commented on July 30, 2024

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.

timacdonald avatar timacdonald commented on July 30, 2024

@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.

timacdonald avatar timacdonald commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.