Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: mdotstrange on July 08, 2019, 12:49:03 AM

Title: Action + scripts to use MasterScheduler
Post by: mdotstrange on July 08, 2019, 12:49:03 AM
Hello Playmakers  :)

I recently made a few scripts for a friend who wanted to use the asset MasterScheduler to update their fsm's- this is for performance purposes- it allows you to throttle your fsm's-

It would only be useful if you are having performance problems because you are using a lot of really heavy fsm's or hundreds/thousands of them-

The scripts + info is here https://github.com/mdotstrange/masterSchedulerScripts (https://github.com/mdotstrange/masterSchedulerScripts)
Title: Re: Action + scripts to use MasterScheduler
Post by: jeanfabre on July 08, 2019, 09:18:47 AM
Hi,

 uhm!!! very interesting.

Have you been able to run some benchmark and measure gains with the profiler?

Bye,

 Jean
Title: Re: Action + scripts to use MasterScheduler
Post by: mdotstrange on July 08, 2019, 05:45:52 PM
I've done benchmarks using the system with Behavior Designer which shows significant performance gains- haven't done any Playmaker tests yet.

From my other tests you don't really see any noticeable gains unless you are using hundreds of instances- though it will always prevent cpu spikes by limiting the number of updates run-
Title: Re: Action + scripts to use MasterScheduler
Post by: jeanfabre on July 11, 2019, 04:17:13 AM
Hi,

 Cool! Let us know when you get a chance to make some benchmark!

Bye,

 Jean