On Mon, 9 May 2011, Derek M Jones wrote:

> Guys,
> 
> I have just done some matching using Coccinelle that took
> 165 cpu minutes:
> http://shape-of-code.coding-guidelines.com/2011/05/09/unused-function-parameters/
> This time taken is not a problem for one script but over the
> coming year I will probably be writing around 100 or so scripts
> and would also like to double the amount of source I search.

You can try the -profile option to see what is taking a lot of time.

I can take a look at your semantic patch as well (I didn't see it on the 
blog page).

julia


> Trying out a new idea with something that takes 300+ hours to run is a bit
> impractical.
> 
> Does anybody have any thoughts on:
> 
>    o converting the source to some intermediate form that will
> speed up Coccinelle processing,
> 
>    o using Coccinelle in the cloud, eg Amazon,
> 
>    o speeding up Coccinelle.
> 
> -- 
> Derek M. Jones                         tel: +44 (0) 1252 520 667
> Knowledge Software Ltd                 mailto:[email protected]
> Source code analysis                   http://www.knosof.co.uk
> _______________________________________________
> Cocci mailing list
> [email protected]
> http://lists.diku.dk/mailman/listinfo/cocci
> (Web access from inside DIKUs LAN only)
> 
> 
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to