← Back to team overview

yade-dev team mailing list archive

Re: Profile-guided optimization

 

> We should check this out:
>
> http://en.wikipedia.org/wiki/Profile-guided_optimization
>
> how to use it? Can we integrate it with scons? I wonder how much yade
> could get optimized with this.
>   
Uah uah uah! It's been in scons for at least a year. Compile with
arcs=gen to have the instrumented code, run a few simulations, recompile
with arcs=use. RTFM gcc, options -fprofile-arcs and
-fbranch-probabilities. I tried it only once, I think, but it had no
noticeable effect, though.

V.




References