5 ms·
I got excited at first because I thought it was a standalone script that benchmarked a server. Does anybody know of a script that will score a server based on c
by maratd 14y ago
I got excited at first because I thought it was a standalone script that benchmarked a server. Does anybody know of a script that will score a server based on cpu/io/memory/etc? Would be a great way to see if a server is properly configured or what kind of performance to expect from a cloud solution.
- ihsw 14y agoThe difference between php-5.2 (the version used), php-5.3, and php-5.4 is quite vast for each version, especially since php-5.4 basically cut memory usage/execution time by a third at worst (or directly by half at best) when compared to php-5.3. This is purely anecdotal but I use PHP for large scripts doing lots of inserts/deletes (>100,000) from databases and relatively simple logic.
- thejosh 14y agoNice, I'll have to give 5.4 a try. Currently using 5.3, and finding it memory hogging when doing a lot of database operations in a row (300k+).
- ihsw 14y agoDepending on the ORM (or otherwise) it may have some level of caching, so the best performance would be using the PHP functions/classes directly (eg: PDO/MongoCollection/Redis). In addition to the above, PHP extensions would be extremely preferable to pure-PHP libraries for database interaction simply because the extensions will be written in C and lack the overhead of the language.
- nolok 14y agoSadly, PHP 5.4 stills fails badly with APC in several cases, so I do not consider it ready for production yet
- RobAley 14y agoDo you have any links to the bugs? We use 5.4 in production and haven't had any issues with APC, so I'm curious if we're missing anything relevant to our use case.
- maratd 14y ago> Sadly, PHP 5.4 stills fails badly with APC in several cases, so I do not consider it ready for production yet You're using outdated APC code. Update to the latest, it resolves issues with the 5.4 line. We use it in production, zero issues.