Profiling a SCOOP application

42 views
Skip to first unread message

Christopher Watkins

unread,
Nov 11, 2015, 10:32:12 PM11/11/15
to scoop-users
How do you profile an application that makes use of the SCOOP library?

I don't seem to be able to use the usual

 python -m cProfile

approach.

Thanks

Chris

Nick Vandewiele

unread,
Jun 17, 2016, 11:07:32 AM6/17/16
to scoop-users
The following flag:

python -m scoop --profile yourapp.py

will write a cProfile output per worker.

Have a look here:
https://github.com/soravux/scoop/blob/master/scoop/launcher.py#L429

Cheers,
Nick
Reply all
Reply to author
Forward
0 new messages