Bug #18058
open
trend new page slow to load
Added by Ohad Levy about 8 years ago.
Updated about 4 years ago.
Description
When having many fact names (I have about 15k due to ansible and puppet facts ) it takes a while to load the page. additionally, the html in response is fairly large (more than 1MB), and overall, the page load is fairly slow.
We might consider using an AJAX call to load the data, or use auto complete instead of a dropdown.
- Has duplicate Bug #25352: Create trend form loads extremely slow with a lot of facts added
Why not to cache it similarly as I proposed for dashboard?
- Project changed from Foreman to Statistics
- Category deleted (
Trends)
- Found in Releases foreman_statistics-1.0.0 added
Not sure if this is after the move to a separate plugin, but I am hitting this now. In my case the page is loading for several minutes, the server load is not very high but my browser process on my pc is eating up every bit of cpu it can. So it seems javascript related in my case, but there are no errors in the console.
I don't actually know if the 'Add Trend Counter' even shows up eventually because I have to kill my browser since it's freezing my system. I only get to the js spinner, spinning away for several minutes.
I do have a lot of fact names:
foreman=> SELECT count(*) FROM "fact_names" WHERE (fact_names.name <> '_timestamp');
count
--------
316111
(1 row)
Also available in: Atom
PDF