[Mono-dev] SHA256 - small perf boost

Alan McGovern alan.mcgovern at gmail.com
Wed Apr 30 16:12:12 EDT 2008


Change in plan, how does a speedup of 70% sound?

Strangely enough, mono wasn't inlining the static helper methods. As each of
those helpers was only being called once, i inlined them manually and
performance went through the roof. It may be worth grabbing a JIT guy and
figuring out why mono is deciding that the methods shouldn't be inlined when
in this case the benefits are definately clear.

Alan.

On Wed, Apr 30, 2008 at 2:00 PM, Sebastien Pouliot <
sebastien.pouliot at gmail.com> wrote:

> yes, go ahead.
>
> thanks again
> Sebastien
>
> On Wed, 2008-04-30 at 02:30 +0100, Alan McGovern wrote:
> > Applying some of the ideas from the SHA1 patch to sha256 left me with
> > a 15% performance boost. Is this good to commit? It passes the nunit
> > tests.
> >
> > Alan.
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080430/4d7c3bb0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sha256.patch
Type: text/x-diff
Size: 3463 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080430/4d7c3bb0/attachment.bin 


More information about the Mono-devel-list mailing list