generative modeling for Rhino
Permalink Reply by fernando molas garcia on April 24, 2012 at 8:46pm which is a profiler?
Permalink Reply by Giulio Piacentino on April 27, 2012 at 4:00pm Hi Marshall
you could use the Grasshopper standard profiler widget. Does that work?
Thanks,
- Giulio
_______________
giulio@mcneel.com
Permalink Reply by marshall prado on April 28, 2012 at 3:38pm It works well enough for the whole component but I have several classes and functions running inside the component, I was going to use it to test which parts were the slowest.
Permalink Reply by Giulio Piacentino on April 30, 2012 at 6:09am Ah I see, then I would suggest to use either Python's time module (time.clock() should have higher accuracy), in a way similar to this:
import time
start = time.clock()
#... repeat the operation several times
total_ms = time.clock() - start
Otherwise, you could use .Net's standard profiling services, such as Stopwatch.
I hope this helps,
- Giulio
________________
giulio@mcneel.com
Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by