suever / MATL-Online

Online Interpreter for MATL

Home Page:https://matl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Freezing documentation on Android

suever opened this issue · comments

Conversation and information available here

To add to the description: what I have noticed on my mobile (Android 6.0) is that it responds slowly, and seems to become gradually slower, sometimes to the point of freezing, sometimes just very slow

@lmendo Thanks for the info. Is it slower when opening it multiple times within the same session or is it slower the second time even if you reload the page?

I have just tested it a few times. I coulnd't get it to freeze (did you change anything?). What I find, in the first or subsequent searches, is that after typing a letter the phone takes about half a second to respond, as if updating the search after each new letter was costly. Same when deleting a letter. Maybe it just takes time and it's normal behaviour,

@lmendo I haven't changed anything. It could just be that the javascript engine on the Android devices isn't the fastest. I do slightly modify the searching since we want 1-2 character matches to look for MATL symbols directly. Could you try searching on the table at this link to see if it is also relatively slow? Granted, they only have 57 entries in that table.

I may be able to mock up a test page for you where I remove my custom search and we can see if that's the issue.

Let me know how that above table works.

@suever It is much faster with that table. Perhaps there's a very small delay too, but I'm not even sure. The results seem to update almost immediately after typing each letter. On the other hand, since the table is larger for MATL, maybe it's just normal that it takes time on an Android device

@suever I tested on my iPad Air with iOS 10. It is not as slow as on my Android 6.0 phone, but you can notice the same type of behaviour: a noticeable delay between typing each subsequent key and seeing the updated results. So maybe it's just the normal behaviour on a mobile device

Going to go ahead and mark this resolved since the last few fixes improved the mobile experience. If needed we can reopen to tweak the settings and possibly allow for a more-responsive search on desktops.