Just for your education..
Laravel, out of the box, takes about 30ms of time to simply do it's internal gymnastics routine before outputting hello world.
Xenforo, on the same CPU, can boot and have a page drawn in 2-3ms. Most of that time is spent connecting to a database and grabbing data. Otherwise it's damn lean.
Here is what Laravel performance looks like versus using a minimalist PHP framework. Xenforo's may be a few milligrams heavier than Zerolith, so it's a decent comparison point.
View attachment 341001
So just by switching your backend technology, out from Xenforo's you're going 10x slower for a simple request. That's before you do any real work.
How did that work for flarum? see their support form...
https://discuss.flarum.org/?q=performance
Don't even get me started on React. And Tailwind is a very bad idea for bandwidth reasons for forum software.
Use this combination of technologies and you will end up with a forum that is not feasible to run on the public internet at scale unless it happens to be funded by a fortune 500 company.
Fair enough. It's good to see the discussion taking place what would be the best methods to refactor/modernize xenforo. The key point here is with enough consultation with a frontier AI model, large improvement could be made quickly. Failing to start using AI bring xenforo into the modern era I believe is a big problem.
Last edited: