Project

General

Profile

Actions

Bug #18058

open

trend new page slow to load

Added by Ohad Levy over 7 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Bug #25352: Create trend form loads extremely slow with a lot of factsDuplicateActions
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Category set to Trends
Actions #2

Updated by Tomer Brisker over 5 years ago

  • Has duplicate Bug #25352: Create trend form loads extremely slow with a lot of facts added
Actions #3

Updated by Lukas Zapletal over 5 years ago

Why not to cache it similarly as I proposed for dashboard?

Actions #4

Updated by Tomer Brisker almost 4 years ago

  • Project changed from Foreman to Statistics
  • Category deleted (Trends)
Actions #5

Updated by Adam Winberg over 3 years ago

  • 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)

Actions

Also available in: Atom PDF