Re: P8
Christian Stein <[email protected]> Thu, 23 Oct 2014 13:21:51 +0200
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <CAJi8+g4BP9kjsXopRpKGhiNPGWuae1hP=Xk26sZqSbMpzzQFkQ@mail.gmail.com> |
--===============2233248851730010272== Content-Type: multipart/alternative; boundary=001a11c3f5d459ce1e05061545eb --001a11c3f5d459ce1e05061545eb Content-Type: text/plain; charset=UTF-8 http://i.imgur.com/uOPMbFU.png In this mirco benchmark [0] each thread tries to submit 1.000 transactions as fast as possible into a StringBuilder-based prevalent system. Here, the default implementation does not benefit from hundreds of threads. Why is that? Cheers, Christian [0] https://github.com/sormuras/compayler/blob/master/src/test/org/prevayler/contrib/p8/benchmark/BenchConcurrent.java --001a11c3f5d459ce1e05061545eb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><a href=3D"http://i.imgur.com/u= OPMbFU.png">http://i.imgur.com/uOPMbFU.png</a><br></div><div class=3D"gmail= _extra"><br></div><div class=3D"gmail_extra">In this mirco benchmark [0] ea= ch thread tries to submit 1.000 transactions as fast as possible into a Str= ingBuilder-based prevalent system.</div><div class=3D"gmail_extra"><br></di= v><div class=3D"gmail_extra">Here, the default implementation does not bene= fit from hundreds of threads. Why is that?</div><div class=3D"gmail_extra">= <br></div><div class=3D"gmail_extra">Cheers,</div><div class=3D"gmail_extra= ">Christian</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_e= xtra">[0]=C2=A0<a href=3D"https://github.com/sormuras/compayler/blob/master= /src/test/org/prevayler/contrib/p8/benchmark/BenchConcurrent.java">https://= github.com/sormuras/compayler/blob/master/src/test/org/prevayler/contrib/p8= /benchmark/BenchConcurrent.java</a></div></div> --001a11c3f5d459ce1e05061545eb-- --===============2233248851730010272== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============2233248851730010272== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org --===============2233248851730010272==--