Please ask in the new DocList group: http://groups.google.com/group/google-documents-list-api
<http://groups.google.com/group/google-documents-list-api>Thx, Eric On Fri, Aug 28, 2009 at 3:32 AM, Sally <wangqia...@gmail.com> wrote: > > Hi there...I am new to Google Data APIs as well as the group. I am > wondering if anyone can help me with the performance issue that I am > experiencing. > > Development Environment: > GWT 1.7.0 + GData 1.3.4 + App Engine SDK 1.2.2 + Windows XP > > I have a simple application that creats multiple Google word > documents. It is working but slow..really slow..takes average 2-3 > seconds to create a document that is only 9k. > > Here is the code: > > url = new URL("http://docs.google.com/feeds/documents/ > private/full"); > DocumentEntry entry = new DocumentEntry(); > entry.setTitle(new PlainTextConstruct("Sample Document ")); > InputStream is = new ByteArrayInputStream(output.toString > ().getBytes("UTF-8")); > > MediaStreamSource mss = new MediaStreamSource(is, "text/html"); > > entry.setCanEdit(true); > entry.setMediaSource(mss); > > //can't understand why this line takes 2-3 seconds to > execute!!!! > docsservice.insert(url, entry); > > > The application will create 5 documents each run, so it takes about > 15-20 seconds to finish. > > Any help or suggestions would be appreciated! > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---