Hello!
I’ve been using ModX a couple of months now and really like it a lot.
My main consern though, is that the cms
seems to be very slow.
I just ran a benchmark with ab
ab.exe -kc 10 -n 1000 http://localhost/index.php?id=1
and i only received about 18 requests / second - and the page is cached and ModX is a fresh install (with the default snippets though, but none of them is active on that specific page). That would make it impossible to use ModX on a larget site
And sure, I use an WindowsXP 2.4 Ghz machine with 1.5 gig ram (i use a debian machine too, with the same problem), but it shouldn’t be this slow.
I mean. I can do a really simple loop like this (which is NOT supposed to be an accurate result at all, it doesn’t read any database or files - I know, I know, I know....)
for($i=0; $i<10000; $i++)
echo rand(0,1000);
but i still receive about 190 req/sek on my computer.
To me, it seems as if the larger the file:
assets\cache\siteCache.idx.php is , the slower it takes to parse. I have a site where siteCache.idx.php is about 400kb, and ModX is incredible slow there.
What do you have to say? I have search around the forum and googled, but I can’t find any real benchmarks.
It can’t just be me. I find it slow also on other computers.
I mean, something must be wrong, because the stats in the bottom of ModX says:
MySQL: 0.0080 s, 4 request(s), PHP: 0.0363 s, total: 0.0443 s, document retrieved from database.
Can you please help, because I really want to contribute to ModX. But I don’t dare to use it on some larger site because of the slowdowns.
Regards / Johan from Sweden