Forum


Replies: 10   Views: 3840
Speed issue
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by i-cre8  · 28-09-2015 - 11:54

ok, so using an app called charles I have benchmarked the time taken to produce 17 docx files using the same data and template file using ver3.3 Corporate and Ver 5 Corporate Ver5 Corporate Response Times URL http://new.************.com/_plugins/ajax/print-tags.php Status Complete Response Code 200 OK Protocol HTTP/1.1 Method POST Kept Alive No Content-Type text/html Client Address /127.0.0.1 Remote Address new.************.com/216.**.***.*** Timing Request Start Time 28/09/15 12:44:16 Request End Time 28/09/15 12:44:16 Response Start Time 28/09/15 12:44:17 Response End Time 28/09/15 12:44:24 Duration 8.55 sec DNS - Connect 105 ms SSL Handshake - Request 0 ms Response 6.99 sec Latency 1.46 sec Speed 2.71 KB/s Response Speed 0.28 KB/s Size Request Header 1.05 KB (1076 bytes) Response Header 325 bytes Request 20.15 KB (20629 bytes) Response 1.65 KB (1694 bytes) Total 23.17 KB (23724 bytes) Ver3.3 Corporate Response Times URL http://development.************.com/_plugins/ajax/print-tags.php Status Complete Response Code 200 OK Protocol HTTP/1.1 Method POST Kept Alive No Content-Type text/html Client Address /127.0.0.1 Remote Address development.************.com/216.**.***.*** Timing Request Start Time 28/09/15 12:40:16 Request End Time 28/09/15 12:40:16 Response Start Time 28/09/15 12:40:19 Response End Time 28/09/15 12:40:42 Duration 25.37 sec DNS - Connect 99 ms SSL Handshake - Request 0 ms Response 22.64 sec Latency 2.63 sec Speed 0.91 KB/s Response Speed 0.09 KB/s Size Request Header 1.01 KB (1033 bytes) Response Header 325 bytes Request 20.15 KB (20629 bytes) Response 1.65 KB (1694 bytes) Total 23.13 KB (23681 bytes) As you will see the old code takes about a third of the time to complete compared to the new code. I am happy to send you the files privately so you can compare but this cannot be right surely ?