[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread 风笑雪
I don't know how to use low level api because the document is too short to understand. But as Ross says, JDO doesn't support batch operation at this moment, so I'll try to also use JPA and low level api to do this test, but I don't think anybody would like use low level api to build his app. BTW,

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread Peter Recore
I think the problem might be related to the fact that you're using JDO on the java side and the low level datastore api on the python side. The JDO implementation does not efficiently batch multiple updates/ inserts. I would guess that you will see much closer performance if the low level api is

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread 风笑雪
You can see the first compare result of adding: Java: Time of save 100 entities: 7765ms06-17 07:32AM 49.846 /add 200 7862ms 10825cpu_ms 9453api_cpu_ms 0kb java.latest.gaejava.appspot.com Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.0 (KHTML, like Gecko) Chrome/3.0.187.1 Safari

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread 'Αλκης Ευλογημένος
All the puts() are slower in Java it seems. 2009/6/17 Nick Johnson (Google) > Hi keakon, > > Where do you get your figure of '5 times slower' from? The statistics you > posted demonstrate Python being slightly slower than Java, not the other way > around (and certainly not by a factor of 5). > >

[google-appengine] Re: Datastore Performance Test: Java runs 5 times SLOWER than Python ?

2009-06-17 Thread Nick Johnson (Google)
Hi keakon, Where do you get your figure of '5 times slower' from? The statistics you posted demonstrate Python being slightly slower than Java, not the other way around (and certainly not by a factor of 5). -Nick Johnson On Wed, Jun 17, 2009 at 4:44 PM, 风笑雪 wrote: > I did a datastore performan