Jump to content

Best way to profile Python/VEX operators?


Recommended Posts

I don't just mean the total cook time but profiling each instruction, function call to see where the bottleneck is, etc.

Is there a way to do this?

I use print statements for debugging but printing itself is slowing things down considerably to get an accurate timing.

Also is the total cook time for an operator (middle click) accurate enough to do comparisons? i.e. comparing 2 operators solely based on their cook time to see which one is faster?

Thanks :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...