Is there a way to run a speed test on a python node to understand how long each section of code is taking to run? I have a node with around 1200 lines of code and I’d like to understand where it can be improved to speed it up. I know there’s the Profiler widget, but that only tells me the total time, not the time for each line/section
That’s likely due to the cost of inputting and outputting data (i.e. setting appropriate type hints on the inputs, and wrapping data in appropriate types on the outputs):