Critical JavaScript Performance Issues for Settings > Websites


#1

We have a Piwik instance running for an enterprise customer and we’re experiencing heavy client-side performance issues for the Settings > Websites page. This is based on Chrome, but we experience this issue in all browsers.

When I request this page, it first says:
You currently have access to 0 websites.

After a few seconds, this changes to:
You currently have access to 699 websites.

After this change, Chrome literally freezes. After some time, the “Long running script / Kill pages” popup appears. I click “Wait”.

I read All sites tab Dashboard very slow loading but this is clearly a client-side issue. Please don’t link to the Archive Cron - this is running perfectly for us.

I collected a timeline profile with Chrome (version 39.0.2171.71 m).
I attached the export: here.

These are the facts:
screenshot1
screenshot2
screenshot2

We are currently on Piwik 2.8.3. Any help highly appreciated. It’s really painful to maintain websites at the moment.

(I don’t know why the links don’t really work in this editor - sorry.)


(Matthieu Aubry) #2

Hi there,

I think you want this feature: Show paging in the screen 'Manage websites' to easily manage thousands of websites · Issue #3838 · matomo-org/piwik · GitHub


#3

Hi Matt! Thanks for your reply! So this means that it’s currently default that it takes that long (> 1 minute) if I have around 700 pages?