On Thu, Dec 1, 2011 at 11:34 AM, Roman Haefeli reduzent@gmail.com wrote:
Hi João
On Thu, 2011-12-01 at 16:04 +0100, João Pais wrote:
would it make sense to do a general test patch, where these and more objects could be tested empirically? or, put your patches somewhere, so that other people can work on them, and have a test-repository?
I attached my test setup. It's very naive and it doesn't serve much more than to compare different classes on a specific setup (Hardware/CPU, specific Pd version, probably it's even specific to certain compile time flags).
main.pd loads many (actually 4096) instances of [gate~]. I simply edited an instance of [gate~] and compared what CPU meter displayed while main.pd was running. On different computers you probably need to add more or remove instances of [gate1024~] in order to get meaningful results.
Actually, I think you're looking at scalibility--to get a better measurement, you'd need to compare across several numbers on a single machine, e.g. 1024, 2048, 4096, etc... and do a linear regression to separate out the fixed costs and marginal costs.