Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
pnowicki
Creator
Creator

Mashup Initial Load Time

I have a single page mashup in which I only load the objects when needed.  On the initial load, I only load 5 objects (including the current selections box).  The qlik sense document is 20mb.  However, the initial load takes about 15-20 seconds to render the first objects.  After the initial load, the entire mashup runs very quickly including selections.  I do not use angular framework but I do use dynamic loading feature where I only call the objects I need and I also destroy objects after changing between hashtag divs. 

Given all of the above, is there anyway to decrease the initial load time? For example, is it a potential hardware issue on the qlik sense server?  I'm running on a virtual machine with 64gb ram.  My users haven't complained yet but I find it very annoying. 

1 Solution

Accepted Solutions
ErikWetterberg

Hi Paul,

Not so easy to answer.. You will need to make a bit more investigation to find out why it's slow. Stuff you should check out:

  1. Does it take the same time if you make sure the app is loaded in server memory? For example if you open the mashup again a second time, does it take just as long?
  2. Is it a specific object that is slow? Try commenting out all objects, then add them one by one and see what happens
  3. use the debugger and check what happens on the web socket.

Hope this helps

Erik

View solution in original post

2 Replies
ErikWetterberg

Hi Paul,

Not so easy to answer.. You will need to make a bit more investigation to find out why it's slow. Stuff you should check out:

  1. Does it take the same time if you make sure the app is loaded in server memory? For example if you open the mashup again a second time, does it take just as long?
  2. Is it a specific object that is slow? Try commenting out all objects, then add them one by one and see what happens
  3. use the debugger and check what happens on the web socket.

Hope this helps

Erik

pnowicki
Creator
Creator
Author

Erik,

Thanks for the reply.  I've been able to speed up the load time based on your steps.  Here is what I did:

1. I checked the load time first time versus after it was in server memory.  It was faster after the server had opened the file. 

2. I found that I had a few objects in the application that I wasn't using in the mashup.  I made sure only objects displayed in the mashup were left in the qlik sense application and updated the javascript to eliminate any open objects calls.  This clean up seemed to help the most. 

Bottom line: Making the qlik sense application leaner sped up the mashup.  Originally, I thought only the type of objects and number of objects I called from the javascript would change the performance, but I guess it is obvious that the qlik sense app itself should also be optimized.