# Kore Nordmann - PHP / Projects / Politics

- Blog
- Projects
- Portfolio

RDF | HTML | Text | Feed

## Image_3D performance

The ZendGuard offers optimization and encoding for your PHP code. I visited a friend who ownes a license of ZendGuard so that we had the idea to test it with something CPU intesinve like Image_3D . The results were quiet surprising.

Rendering times | PHP 5.1.4 | with APC | ZendOptimizer | encoded | min. optimization | max. optimization
--- | --- | --- | --- | --- | --- | ---
raytracing | 10.48s | 10.40s | 11.10s | 13.35s | 13.30s | 13.30s
projection | 0.47s | 0.47s | 0.48s | 0.56s | 0.56s | 0.56s

I was surprised that simply adding the ZendOptimizer to the php.ini caused a performance breakdown by 5%, and encoding the code, with or without optimization increased the performance loss to nearly 30%. I didn't expect a great performance improvement from a bytecode cache, because the parsing is very minor to all the calculations done while raytracing.

The improvements by APC (enabled optimization) are so minimal, that it can be caused by statistical noise. All the times are the mean value of 5 to 10 iterations - the difference was minimal, so that I didn't see the need to test it more often.

I can understand, that the optimizer does not offer any real improvements, like APC does, but I wouldn't expect such performance impact.

### David at 11. May 2006 - 23:32

We found similar results when we did Zend/ionCube benchmarking in Feb this year - http://www.olate.co.uk/development/benchmarks.php

### Comments

Author: Homepage: Comment: Submit:
Add new comment

Fields with bold names are mandatory.

## Search

Search
Search phrase

- Revision 6

  - Revision 303 by kore at Thu, 29 Nov 2007 11:56:05 +0100

    - Fixed table

  - Revision 77 by kore at Fri, 27 Jul 2007 20:26:41 +0200

    - Set ctime in svn property wcv:ctime instead of custom title

  - Revision 49 by kore at Fri, 27 Jul 2007 10:30:50 +0200

    - Added abstracts to blog postings

  - Revision 36 by kore at Thu, 26 Jul 2007 16:04:35 +0200

    - Fixed rst in blog text files

  - Revision 30 by kore at Thu, 26 Jul 2007 15:12:09 +0200

    - Some content fixes in fetched blog articles

  - Revision 25 by kore at Thu, 26 Jul 2007 00:12:06 +0200

    - Added blog contents

- By Kore Nordmann
- At Thu, 29 Nov 2007 11:56:05 +0100
- License: CC by-sa

## eZ Components

## Exploring PHP

Spam honeypot

## Amazon wishlist

## Powered by