Forums > MaxMSP

Finding bottlenecks in MSP code


TFF
November 26, 2010 | 5:21 am

It’s easy enough to pull out a section of a regular max patch, and run it 100k times in succession as a benchmark. But I’m not sure how to do this kind of thing with MSP patches. Is there a more useful way to judge the system usage of bits of MSP patches than just looking at the CPU meter?

Best,
-Zach


November 26, 2010 | 7:12 am

Hello TFF,

use a profiler as Shark on mac ?


November 26, 2010 | 7:58 am

Typically you could stick a portion into a poly patch and load it 200 times. Change one object and see the difference in cpu load. Still it’s the cpu, but you get a better idea of the average load.

_
johan



TFF
November 26, 2010 | 5:49 pm

jvkr: Thanks, that does help.

I would like to try using a profiler…Any suggestions for a good one for Windows? I’m about to give Microsoft’s Xperf a go.


Viewing 4 posts - 1 through 4 (of 4 total)