[Typo3-dev] PHP-170 - anyone from typo3 is working on it?
Peter Niederlag
niederlag at ikd01.de
Sat Nov 12 12:19:19 CET 2005
Hi,
Dmitry Dulepov schrieb:
> Hi!
>
> Olivier Dobberkau wrote:
>
>>hey kasper,
>>
>>could you have a look at the implementation done by one of our
>>programmers as his diplom thesis?
>>
>>at the moment it is using the php-java bridge to communicate with the
>>repository.
>
>
> What about performace? How does this bridge behave in case of high load?
The bridge is pretty performant imho, It is also even possible to let it
connect to a pool of JVM's. Reflection of course needs time, There are
some examples provided in the examples of the bridge.
---snipp------------
This example creates two 200x200 excel sheets a) by calling a compiled
java class and b) by using 40000 java reflections calls from PHP.
pn at virginia:/usr/local/src/php-java-bridge/examples/bench$ ./bench.php
Created excel file workbook_java.xls via compiled java in 3792 ms.
Created excel file workbook_php.xls via interpreted PHP and java
reflection calls in 47792 ms. (12.6033755274)
Cheers,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *
More information about the TYPO3-dev
mailing list