wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.63k stars 1.1k forks source link

Performance issues while editing large posts #8228

Open brbrr opened 6 years ago

brbrr commented 6 years ago

Steps to reproduce the behavior

Tested on iPhone SE, iOS 11.1, WPiOS 8.9.0.20171122

GIF of the lag is here: http://take.ms/dRiZm

diegoreymendez commented 6 years ago

Thank you @brbrr ! Awesome report!

diegoreymendez commented 6 years ago

I'm editing the title to make this issue more generic, since there are internal reports of this being an issue with larger posts in English too.

designsimply commented 5 years ago

Adding some links to sample data which can be used for testing large posts:

  1. Gutenberg Demo Post
  2. Lipsum generator (enter 10000, select "words", click Generate Lorem Ipsum)
  3. https://github.com/WordPress/gutenberg/issues/11782#issuecomment-438213916
  4. https://github.com/WordPress/gutenberg/issues/10418#issuecomment-436431030
diegoreymendez commented 5 years ago

@designsimply - Considering we're phasing Aztec out in favor of Gutenberg, is this still valid in Gutenberg?

Ping @koke since this should be within the scope of the editor team, probably.

koke commented 5 years ago

Related: https://github.com/wordpress-mobile/gutenberg-mobile/issues/672

I can't access the original post or GIF, is this about loading time or performance while editing? I think we can focus on performance in Gutenberg since Aztec will get progressively less usage

designsimply commented 5 years ago

Considering we're phasing Aztec out in favor of Gutenberg, is this still valid in Gutenberg?

If the estimate for a final phase-out of Aztec is long-term and if the lag is unreasonably long then I think the issue is still valid but with low priority. I agree with focusing on performance in Gutenberg and maintaining usability in Aztec.

@koke here is an better post link: http://testbrbrratsite.blog/?p=142

Next steps for this issue should be to re-test with the sample post given and determine lag time and then make a decision of closing as wontfix if large posts in Aztec are usable with lag or leaving open with low priority if large posts are unusable.

koke commented 5 years ago

I tried that post on the latest internal with an iPhone Xs. Both Aztec and Gutenberg take 4-5 seconds to be ready although Gutenberg appears earlier. Once the editor loads, editing and scrolling seems to work fine.

https://cloudup.com/cyyGRlTvAhR

I think it’s worth profiling in case there are any quick wins, but it’s definitely better than I was expecting 😁

guarani commented 5 months ago

This issue is mentioned in this app review: https://appfigures.com/reviews/334311506925L5kaPGzna25Oxj85PxXKqeg?lang=en ("extreme lag when saving updates")

guarani commented 5 months ago

This issue is mentioned in this app review: https://appfigures.com/reviews/334311506925LZiHHUPnpI941buOD6_r2pA?lang=en ("I can barely make it through 5 minutes of writing without a glitch")