Discourse is slow on Android. Why?
-
no user-accessible endpoints that use the userid
There's something with avatars which uses user IDs. For some reason.
-
Are you sure that's not the avatar_id? Because I don't see anything in https://github.com/discourse/discourse/blob/master/config/routes.rb about user ids, and I'm pretty sure the only references to user ids in the controller are when they get rendered to json. I could still be wrong though.
-
Hm, not exactly avatars, actually.
In
latest.json
, for each topic, the frequent poster list has user IDs instead of usernames. You get the ID-to-username mappings separately in the same request, though, so it's not that bad, just stupid.
-
Sounds lazy. I know I've caught myself doing stuff like that. Basically technical debt from changing my mind later on in a project about how I want to represent or communicate something.
-
I generate a Discourse API reference on a white paper, typically once a day.
Filed under: That's what the Regular badge is about, right?
-
Galaxy S3 mini, Android 4.4.4:
. -------------------------------------------------------------------. | Ember Performance Suite - Ember 1.9.0-beta.1+canary.5efa34e5 | |-------------------------------------------------------------------| | Name | # Runs | Geo Mean | Mean | Std Dev | Max | |--------------|--------|-----------|----------|-----------|--------| | Complex List | 40 | 4507.54ms | 4642.2ms | 1218.02ms | 8761ms | '-------------------------------------------------------------------'
... why are you laughing?
-
S3 mini is roughly the same as an S2 internally, which was a great phone.
In the Gingerbread era
-
HTC Pro 7 (Windows 7 phone from the 19th century):
Name: Complex List
Runs: 40
Geo Mean: 7625.16ms
Mean: 7627.7ms
Std. Dev: 197.77ms
Max: 8003ms
-
Wow.
I'm ... impressed.I wonder how my old old iPod touch (3rd? 4th? generation) stacks up.
Will try once at home!
-
Windows Phone really doesn't perform well. It was bad enough on my (essentially top of the line) WP8.1 phone.
-
I did the test mostly for lulz.
Then again, the funny thing is that this little bastard actually manages everything I need in day-to-day use, especially after I ripped all the Samsung guff out, yet I can't read this freaking forum properly...
-
-
Same with mine. Yes I'm still using a 5-year-old smartphone, but it does everything I need so why upgrade?
I don't really do web stuff with it unless I'm out-and-about and need to look something up real quick. Don't care about Discourse forums on it, at least not unless/until the majority of web searches start landing me on Discourse instances instead of old PHP forums.
-
I only upgraded from my S2 a couple of months ago, and then only to a Moto G rather than anything properly high end. We seem to have reached the point in phone hardware where "good enough" is pretty much ubiquitous. Unless you're trying to read a web forum of course
-
I used a Symbian phone until a few years ago. Ask Me Anything.
-
Are you from one of those time pods @blakeyrat keeps mentioning?
More importantly, if you still have it, what are the benchmark scores like?
-
I wonder if I still have my old Windows Mobile 6 phone somewhere, that would be fun to bench. I probably threw it away though
-
I have an emergency Nokia featurephone somewhere. If that has any sort of browser maybe I should try with it
-
For that matter, I should really hit up ebay for some old parts and get the old Intel 386 motherboard+CPU I have lying around up and running with Windows 95. I wonder if there's any modern-ish web browser that's compatible and capable of running Ember benchmarks.
I did try Discourse from IE5 on a Win98SE VM a couple months ago and it gave me the middle finger.
-
Sorry, I don't have it anymore
-
I wonder if I still have my old Windows Mobile 6 phone somewhere, that would be fun to bench. I probably threw it away though
Ooh! Going to have to find my old X1 when I get home.
-
...and Opera 12.16 for the hell of it:
215.91 / 216/15 / 10.65
It's pretty consistent, at least.
-
If I had dialup access and a great deal of patience, I'd try it with the Dreamcast web browser.
-
...and Opera 12.16 for the hell of it:
215.91 / 216/15 / 10.65
It's pretty consistent, at least.
I wonder if Opera's servers actually run the JS when you use Turbo.
If so, Discourse might just be the perfect thing to kill them dead. You hear me Opera devs? If you keep fucking shit up even more I'm gonna start reading Discourse forums with Turbo on!
-
If I had dialup access and a great deal of patience, I'd try it with the Dreamcast web browser.
If you have a VoIP line you can try to plug the modem into it, it may work...
-
The Bad Ideas Thread is this way:
-
Not likely. Not many fax machines will work with VoIP services.
-
@Intercourse said:
Not likely. Not many fax machines will work with VoIP services.
You need T-38 support on them, the old T-30 protocol doesn't take kindly to compressi... Fuck you, now you made me remember all that bullshit! Fuck fax!
Ehm... yeah, basically, VoIP lines should be SIP these days, which involves compression. A modem will probably crap itself over it, even if you had access to Internet through the VoIP line. Which you shouldn't have anyway.
-
even if you had access to Internet through the VoIP line
That is some Inception level bullshit right there.
-
@Intercourse said:
That is some Inception level bullshit right there.
I mean access to anything outside your telco's phone exchange. SIP lines should be kept on a separate VLAN without any way to interact with the rest of the network. Main reason being that SIP is stupidly easy to hack and get free calls on someone else's account.
It's recommended that you separate the phones into their own VLAN even when dealing with local extensions only, let alone when you actually push SIP traffic over a public network.
I hope that's clearer because my brain is fried for today and this might all be gibberish.
-
I got what you are saying, I was just saying that accessing dial-up over VoIP is like the internet eating itself.
-
I did the test mostly for lulz.
Then again, the funny thing is that this little bastard actually manages everything I need in day-to-day use, especially after I ripped all the Samsung guff out, yet I can't read this freaking forum properly...
That's about where the line is, then. It runs fine on my 2 year old GS3 (non-mini).
-
That's about where the line is, then. It runs fine on my 2 year old GS3 (non-mini).
Well, I say I can't read it... It works, mostly, it tends to stutter and generally act unhappy when loading new posts but it's bearable. Overall, it takes a while to load things but it works decently enough to read while in the train/bus, but it's not really the most enjoyable experience.
Replying is where the pain comes in. Due to quoting "mechanics" on Discurse (because quote button is just too much to ask on mobile!) selecting text is a pain. There is a visible delay between moving the selection handle and text getting selected. And, since Discurse is so taxing on the poor thing, SwiftKey takes about 2-3 seconds to pop up every time I want to type something.
So it's not completely unusable, but it's most assuredly not a pleasant experience.
-
-
Of all the emotes that I would think couldn't possibly be screwed up, this one is one of the most surprising ones.
-
-
So, I have an old iPod touch (4th Gen) with iOS 5.1.1 on it.
Let's see what happens!
-
See you in an hour.
-
And yeah, there's an update for iOS6.1.6 available.
But AINT NOBODY GOT TIME FOR THAT.
-
See you in 3 hours.
-
Can't find my X1 :'(
WinMo 6.5 test fail!
-
I have a Nokia 6810 in the office here somewhere...I don't think its browser supports JS though. Boo.
-
Ok, iPod touch (4th Gen) with iOS 5.1.1:
6155.22ms, std.dev: 1546.74msIt's actually not the worst result in this thread!
-
Of all the emotes that I would think couldn't possibly be screwed up, this one is one of the most surprising ones.
Yeah, kinda looks like a green poop emoji with a head popped on top. Not very snakey.
-
VoIP line you can try to plug the modem into it, it may work
Most VoIP compression is incompatible with modem sounds
-
It runs fine on my 2 year old GS3
Hmm... My 4-core/2GB S3 runs it okay, but the loading is somewhat slow and it throws you around the whole topic.
There is a visible delay between moving the selection handle and text getting selected.
Are you running stock browser? Because Dolphin very much can't fucking deal with selection. The "Quote Reply" popup overrides the selection handles, and the result is that you can only quote a single word.
-
Are you running stock browser?
Chrome. Haven't tried other browsers for Discourse yet.
On that note, is Chrome installed by default on 4.4.4 (running a slightly modified Cyanogenmod 11 here)? I just checked and I do have the old "Browser" app installed and can't figure out why it would even be there, I thought it was deprecated? Unless someone forgot to remove it from the gapps package I used.
-
On that note, is Chrome installed by default on 4.4.4 (running a slightly modified Cyanogenmod 11 here)? I just checked and I do have the old "Browser" app installed and can't figure out why it would even be there, I thought it was deprecated? Unless someone forgot to remove it from the gapps package I used.
My CM11 has Chrome on, so you probably got some old gapps or something. I've never actually used it anyway, though.
-
Hmm... My 4-core/2GB S3 runs it okay, but the loading is somewhat slow and it throws you around the whole topic.
I just tried it again in a meeting, it seems like it was worse than the last time that I used it.
(Definitely not a surprise.)
-
You can have my S2 when you pry it from my cold, dead hands (or, when the battery can't hold a charge for more than a couple hours).