janushendersonassetallocation / loman

Loman is a Python library designed to allow quantitative researchers to control complex live updating calculation processes
BSD 3-Clause "New" or "Revised" License
95 stars 13 forks source link

Profiling Nodes #17

Closed ericprez closed 7 years ago

ericprez commented 7 years ago

Would be nice if users could profile nodes to determine which part of the graph is driving total computation time.

edparcell commented 7 years ago

24314183c09557d380142788d31c440093acd6da adds code to record timing information for each node. The timing information is accessible using the get_timing method, or the tim attribute-style accessor (may change).

There should also be some method of visualizing the timing information. Probably using colors or node sizes when rendering the DAG. I've created a new issue for that. (#18)