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.
> 
> 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,

If you have plenty of disk space and don't plan to change the options that 
relate to C code processing over the different experiments, you can use 
the option -use_cache.  That will store the serialized AST on the disk.

julia


>    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