21
Composer is so slow it is barely usable.
complete
G
Georges Rust
Hi there,
Composer became so slow for me, I can barely do some modifications on my apps. It is getting slower and slower.
My apps are big, more than one hundred pages, I know. But I had no trouble over the past year.
It was never slow during the creation process, or even 6 months after finishing the first app.
Now it became unbearable:
- I have to wait 5 minutes for the app to open in composer. Sometimes it doesn't even open.
- I have to wait minutes after each click so that the component I clicked on is selected.
- I have to wait sometimes 5 actual minutes to save a page.
- I get “failed to save” errors if I do more than 5 changes to my page.
- Lately I had to save one modification then close and restart completely the browser after each save as the browser would freeze after the first save.
After restart, I get a 1 minute window in which the performance are almost normal. After one minute the tab drains so much RAM from my computer that I have to wait minutes between each click (draining up to 1.5go from my RAM).
I even tried every web browser : They all crash or freeze.
Appgyver tab is draining up to
Same on several computers.
I literally need HOURS to do some minor changes to my app.
159712
285444
Log In
K
Kirill Leventcov
complete
W
William Cromie
I'm trying to run through the tutorial on a brand new app.
I'm typing this response while the app is saving.
Takes around 9-10 seconds for an app to save.
Searching for components in the library is regularly more than a minute for the first byte response.
Thus far, I prefer Appgyver's composer to bubble's by a long shot, however, this level of performance is unacceptable.
I expect better from SAP.
Kristian Gerkman
in progress
T
Timo Kapanen
under review
T
Timo Kapanen
Hi Georges Rust and thanks for your report. We are studying how we can improve Composer performance regarding to these apps. Sorry for the inconvenience this causing to you. Best Regards, Timo Kapanen
T
Timo Kapanen
Hi Georges Rust, we have done some optimizations, some more is in the backlog. How are your applications looking currently? Best Regards, Timo Kapanen
G
Georges Rust
Timo Kapanen: Hi Timo,
Thank you for your answer.
I tried composer again, and with complete honesty I would say that there is a slight improvement.
It is still super slow, but it doesn't freeze to the point where all I can do is quit my browser and start it again.
It is not fixed, but it is getting in the right direction. I would still a need a lot of time to make some changes to my app, but at least I could do those changes, which was not even possible last week.
Whatever optimization you did, keep doing it!
Kristian Gerkman
Georges Rust: Hey, there was another update done last Friday - How is the app feeling right now?
Thanks,
Kristian
G
Georges Rust
Kristian Gerkman: Hi Kristian,
Sorry for the delayed answer.
It feels the same. The 2 voluminous apps that I have are both slow, to the point where I have to close the browser after a save, and open Appgyver again.
Obviously, if I create a new blank app, everything is fast and smooth.
So, considering that I am planning on doing new apps, I have this important question:
What makes the app slow?
Is it the many pages?
(I have more than 150 pages, because my app is translated in 4 languages so each page exists in 4 versions).
It is the images?
(I have many images, with a average of 400ko each).
How do I do a lighter app, an project that would let Appgyver running fast?
Should I populate all the content from Firebase?
Right now I upload all my content directly to Appgyver.
Thanks,
Georges
G
Georges Rust
Kristian Gerkman Timo Kapanen
Hi guys,
I have discovered something super weird.
You see, after the major styling update a few month ago, I requested a duplicate of my apps.
Well, I have discovered that the 2 duplicates of my apps run much better than my original apps. The content is almost the same, just a few changes in the text (I couldn't use those versions today), but it has the same amount of pages, same structure and same pictures.
So why?
Why a copy of my app would run better than the original? Why does composer works smoothly? Even the preview?
Why could I update the component of the duplicates apps, but I cannot update the components of the originals? (It never saves, only saving errors)
Something odd is going on, that maybe had to do with the move from the old styling system to the new one...
Can someone investigate this? I have been in this situation for months now.
Also, I would like to duplicate my original apps to see if that fixes the problem... but I can't! The duplicate process doesn't go through with those apps.
The two originals apps:
The two duplicates:
The destination apps if you can duplicates the 2 original apps there:
Kristian Gerkman
Georges Rust: Hey, I copied the apps over to the destination apps, and there seems to be some problem with the larger app (159712)
We'll investigate why it's not working after the app was copied, and we'll also compare and investigate the speed of original vs copied apps.
Thanks,
Kristian
B
Bruno Oliveira
Georges Rust: I couldn't help noticing what you said about each page having 4 versions due to 4 languages. Have you considered putting the strings inside page variables set up as list-of-texts and having item 0 as English, item 1, 2, 3 as other languages? You would then use PICK_ITEM to display the string in the selected language. That's what I do and I don't need many different versions of the same page. It is true the slowness is also plaguing my app, which has around 60 pages, but at least you don't have to make a change 4 times every time!
G
Georges Rust
Bruno Oliveira: Hi Bruno,
Thank you for your answer.
You are right and it is what I did. I recreated my all app with variables, and with a quarter of the pages, it is much better!
Also, after that, I just changed computer for a recent one, and the difference in performance is staggering. I didn't expect that much difference but it seems that when you have a big app, composer is really draining a lot of Ram. I went from 4go Ram to 8go, and it is like a completely different experience.
G
Georges Rust
Chrome is still crashing ALL THE TIME so I have to use Firefox which doesn't crash, but some bugs make it hard to copy the content of a text.
Please Appgyver, fix your Chrome performance, it is still unbearable.
B
Bruno Oliveira
Georges Rust: I'm currently able to work well at this time, using 1,500 MB of RAM for composer on chrome. It hasn't crashed in about an hour, but it will still crash once in a while, especially at different times during the day. I'll monitor RAM usage to see if it's related. While saving it goes up to almost 2 GB RAM and then drops back. My system has 12GB RAM.
I'm reading somewhere (https://groups.google.com/a/chromium.org/g/chromium-dev/c/IKZvzuBP9QE?pli=1) that chrome has a hard limit to how much a tab can use of RAM... Kristian Gerkman, is this related?
