Bugs item #2568604, was opened at 2009-02-05 16:04 Message generated for change (Comment added) made by henryju You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2568604&group_id=61302
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core API Group: Release 2.2 >Status: Closed >Resolution: Fixed Priority: 7 Private: No Submitted By: Umkhulubaas (umk) Assigned to: Julien HENRY (henryju) Summary: WebTester.saveAs method performs poorly Initial Comment: We make extensive use of the WebTester.saveAs(File) method and have noticed how slowly it writes data to disk. A 10MB PDF takes 4-5 minutes to complete the saveAs operation. There is no network activity between the JWebUnit client and the remote server while waiting for this method to complete so I know that network I/O is not the bottleneck. After a little digging, I think I see why: WebTester.saveAs is not buffering the FileOutputStream. Could the fix be as simple as wrapping FileOutputStream with a BufferedOutputStream? Thank you for a useful testing tool! ---------------------------------------------------------------------- >Comment By: Julien HENRY (henryju) Date: 2009-02-05 17:38 Message: Fixed in trunk. Will be in JWebUnit 2.2 ---------------------------------------------------------------------- Comment By: Julien HENRY (henryju) Date: 2009-02-05 17:33 Message: Thanks for reporting, I'll try to fix it. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=2568604&group_id=61302 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ JWebUnit-development mailing list JWebUnit-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-development