4 ms·
> Do you know why it's a resource hog? Is it the nature of Ruby (that appears to be what they use) vs php, or is it because it tries to be an SPA that has no p
by danielheath 4y ago
> Do you know why it's a resource hog? Is it the nature of Ruby (that appears to be what they use) vs php, or is it because it tries to be an SPA that has no pagination?
Ruby dev for 15 years here. Ruby is definitely slow, but in 2022 it's "tens of milliseconds to answer an HTTP request" slow.
They chose a javascript framework that turned out to be outrageously slow.
- Raymonf 4y agoI found that my Discourse instance consistently took ~250 milliseconds to display the forum post list (according to the little box at the top left corner). After getting annoyed with Discourse, I went back to Invision Forum and I see about ~95 ms for the same thing, including sending the response to my browser.
- danielheath 4y agoThose are both unreasonably slow in a way that has little to do with the language. Optimizing responses has diminishing returns once you're below 100ms, but 250ms is far too slow.