IsaacZ 发表于 2012-5-12 21:52:05

PHP缓存优化:APC 与 eAccelerator 性能比较(APC and eAccelerator Benchmarks)



APC and eAccelerator Benchmarks

By Tim Dorr on September 26, 2005 4:38 PM | 4 Comments | No TrackBacks

Well, here are the raw results: http://kate.asmallorange.com/benchmarks/

               APC    eAccelZend   None

VB3.5 Index    98.7298.93   38.0338.31
VB Forum       26.4725.82   19.3718.93
VB Topic       37.2635.27   21.0120.79
IPB 2.1 Index116.51 113.7335.6   35.66
IPB Forum      51.1   52.45   24.9124.43
IPB Topic      42.0141.83   19.3419.02

And a nice pretty graph:



As you can see, APC is only marginally faster when working with forums. And the Zend Optimizer appears to be almost useless at doing anything. So, it appears APC is the way to go. The only question is why APC isn't included in the default PHP build. Let's hope it is soon...

I'll have to do some testing with the optimizer in APC enabled, but I'm already sick of this stuff, so I'll leave that for another day.

页: [1]
查看完整版本: PHP缓存优化:APC 与 eAccelerator 性能比较(APC and eAccelerator Benchmarks)