<div class="gmail_quote">On Fri, Dec 16, 2011 at 10:39 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok, the patches are now in git/CVS. Using the code below, compiled, these are the benchmark figures of FPRINT/PRETTY for different commits. The greatest improvement was the use of special dispatch functions.<div><br></div>
<div>I have been doing some intensive checks of the functions, but please, should you find any problem, report it ASAP and I will try to fix it. </div><div><br></div><div>Now, back to the cave for some more optimizations...<br>
</div></blockquote><div><br></div><div>Here is one more (well, actually it is a fix for an optimizer bug!). 1.178 / 3.445 ~ 34%</div><div><br></div><div><div>Fixed TYPEP optimizer</div><div>;;; Loading "/Users/jjgarcia/tmp/foo.fas"</div>
<div>real time : 1.214 secs</div><div>run time : 1.178 secs</div><div>gc count : 1 times</div><div>consed : 14342976 bytes</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>Starting point</div><div><div>;;; Loading "/Users/jjgarcia/tmp/foo.fas"</div><div>real time : 3.534 secs</div><div>run time : 3.445 secs</div><div>gc count : 2 times</div><div>consed : 20413056 bytes</div>
<div><br></div><div>SETF functions stored in compiled code</div><div>;;; Loading "/Users/jjgarcia/tmp/foo.fas"</div><div>real time : 3.449 secs</div><div>run time : 3.250 secs</div><div>gc count : 2 times</div>
<div>consed : 20410992 bytes</div><div><br></div><div>New dispatch for slot accessors</div><div>;;; Loading "/Users/jjgarcia/tmp/foo.fas"</div><div>real time : 1.873 secs</div><div>run time : 1.836 secs</div>
<div>gc count : 2 times</div><div>consed : 20410896 bytes</div></div></div></blockquote></div><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>