Hi list, I don't know if this is already known, because I was absent a couple of days. We had some performance issues with qooxdoo remote requests. First I thought, it is the database or something else in my php scripts. I did some time measurements and I found out that more than 90% of the time was consumed by one call in /services/index.php - and it was in the last line:
SendReply($json->encode($ret), $scriptTransportId); The encoding of json is very slow, especially if you have a plenty of strings. As I know, since php 5.2 there is json support build in. So replaced the above line with the following call: SendReply(json_encode($ret), $scriptTransportId); I give an example: Bevor this change it took more than 25 seconds to open a treevirtual (reveiving the data from a sql database). With this little change it takes only 4 Seconds. I think the backend code should be extended. There should be performed a check, if json_encode() is available. If it is, it would be much more faster to use this. Cheers Torsten -- View this message in context: http://www.nabble.com/significant-speed-acceleration-for-remote-requests-tf4851338.html#a13880905 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
