[Mono-dev] [PATCH] Tree mover, again

Massimiliano Mantione massi at ximian.com
Mon Mar 13 10:03:38 EST 2006


This version of the patch is cleaner, and finally shows some
results:
[1] no common benchmark gets worse, and
[2] code heavily using accessors gets faster.

As an example of [2], I wrote a simple numeric benchmark, a
sort of particle simulator, which you can find here:
http://primates.ximian.com/~massi/BENCHMARKS/particles.cs

It "should" simulate the behavior of an elastic tissue, but
I never cared about its physical correctness... I just wrote
it putting accessors everywhere, which is not typical of
numeric benchmarks but should be common practice in object
oriented code.
On this benchmark treeprop gives a 25% speedup *alone* (not
counting the benefits of inline and deadce).

Ciao,
  Massi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: treeprop.patch
Type: text/x-patch
Size: 50286 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060313/16a20a29/attachment.bin 


More information about the Mono-devel-list mailing list