It's a single operation.
And if do 100 separated operation with 1 entity each, it will take about 4
times time.

2009/4/15 Nick Johnson (Google) <[email protected]>

>
> Are these benchmarks each for a single put/get/delete with 100
> entities, or for 100 separate puts/gets/deletes with 1 entity each?
>
> -Nick Johnson
>
> On Apr 15, 4:06 pm, 风笑雪 <[email protected]> wrote:
> > I can give you some result of db operation using Python.
> > I did this test last week, but I can't find my code now...
> >
> > Someone can give a Java benchmark?
> >
> > result unit: second
> >
> > add 100 entities:
> >
> > 1.07751011848
> > 1.78107213974
> > 0.826889038086
> > 2.46827101707
> > 0.966767072678
> >
> > fetch 100 entities:
> >
> > 0.0892021656036
> > 0.108892917633
> > 0.105209112167
> > 0.0894641876221
> > 0.1026699543
> >
> > update 100 entities:
> >
> > 0.893841028214
> > 0.999007940292
> > 1.11865115166
> > 1.06479501724
> > 0.981703996658
> >
> > delete 100 entities:
> >
> > 0.81419301033
> > 0.84040594101
> > 0.949120998383
> > 0.903990030289
> > 0.863884925842
> >
> > 2009/4/15 Sylvain <[email protected]>
> >
> >
> >
> > > We need a benchmark :)
> >
> > > On 15 avr, 16:32, 风笑雪 <[email protected]> wrote:
> > > > I think right now, Python is more powerful and easier than Java in
> > > GAE.You
> > > > need much less configuration and code to do a same thing in Python.
> >
> > > > In my opinion, Python will save you 60% to 80% time of coding, but
> runs 5
> > > to
> > > > 10 times slower than Java.
> > > > However, about 80% time is cost in db operation, and there won't be
> much
> > > > difference their performance. (I haven't test it yet.)
> >
> > > > 2009/4/15 lok <[email protected]>
> >
> > > > > As my corp only use .net and Java
> > > > > My SA told me to study what is the difference between Java  and
> Python
> > > > > in terms of their functionality and performance .
> > > > > Is that everything can be done by Python  can also be done by java
> in
> > > > > Google App ?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to