PEAR Cache_Lite vs the Alternative PHP Cache (APC) Results
To test PEAR Cache_Lite vs the Alternate PHP Cache (APC) we benchmarked the cache write and cache read speed of both products.
Using the source HTML of three websites* we ran 10 sets of 100 cache writes/reads.
Test 1
Test 4
Test 5
Test 6
Test 7
Test 8
Test 9
Test 10
* Yahoo, Yahoo Developer > PHP : Cache Yahoo! Web Service REST Calls and Google
Using the source HTML of three websites* we ran 10 sets of 100 cache writes/reads.
Test 1
Test 2
PCL Read: 0.51184113 PCL Write: 0.51111087 APC Read: 0.51217119 APC Write: 0.51131264 APC faster: 0.00053183 s difference
Test 3
l Read: 0.51026285 PCL Write: 0.50957098 APC Read: 0.51036641 APC Write: 0.5097728 APC faster: 0.00030538 s difference
PCL Read: 0.51477005 PCL Write: 0.51409317 APC Read: 0.5148693 APC Write: 0.51429797 APC faster: 0.00030405 s difference
Test 4
PCL Read: 0.50122613 PCL Write: 0.50274539 APC Read: 0.49866188 APC Write: 0.50025306 PCL faster: 0.00505658 s difference
Test 5
PCL Read: 0.47731436 PCL Write: 0.47628684 APC Read: 0.47765029 APC Write: 0.47654489 APC faster: 0.00059398 s difference
Test 6
PCL Read: 0.50689836 PCL Write: 0.50544806 APC Read: 0.50700731 APC Write: 0.50639346 APC faster: 0.00105435 s difference
Test 7
PCL Read: 0.46756809 PCL Write: 0.47349056 APC Read: 0.46769236 APC Write: 0.47035543 PCL faster: 0.00301086 s difference
Test 8
PCL Read: 0.66712422 PCL Write: 0.66926864 APC Read: 0.66803365 APC Write: 0.66968434 APC faster: 0.00132513 s difference
Test 9
PCL Read: 0.52493462 PCL Write: 0.52408631 APC Read: 0.52521311 APC Write: 0.52435288 APC faster: 0.00054506 s difference
Test 10
PCL Read: 0.42504285 PCL Write: 0.42412659 APC Read: 0.42514227 APC Write: 0.42456178 APC faster: 0.00053461 s difference
* Yahoo, Yahoo Developer > PHP : Cache Yahoo! Web Service REST Calls and Google
0 Comments:
Post a Comment
<< Home