Looking for ideas for a benchmark test

JDevain

Veteran
Veteran
Joined
Oct 21, 2018
Messages
163
Reaction score
71
First Language
English
Primarily Uses
RMMV
Hey ya'll. I'm designing a series of "stress tests" in order to get an idea of how different plugins, options, scenarios, etc. affect framerate. Basically I procedurally spawn events onto a map, and then check to see at what point the framerate drops below 30, and then record that info so you can later do comparisons.

So naturally what I'm looking for are things that are hard on your framerate. Currently I have events that run a parallel process that sets a variable to a random number, and then runs a conditional branch to evaluate that variable. I always thought conditional arguments were on the expensive side, but apparently not (at least for javascript). I also have events that run an animation on themselves at random intervals, and that most definitely eats up CPU.

So my question: what else about this game is a CPU killer? What kind of commands should these events be running? Any feedback would be greatly appreciated. Thanks!
 
Last edited:

Cootadude

Noob with exp
Veteran
Joined
May 3, 2019
Messages
44
Reaction score
35
First Language
English
Primarily Uses
RMMV
There can be lag spikes on low-end pc's that even can freeze the game to the point of crashing when you load sound files especially BGM (the larger the file the more the lag.), also having the pc load large pictures can cause lag.
But once the files load the game returns to 30 or more fps.
One thing to note is that pre-loading plugins can cause less fps if you pre-load a large amount of files or pre-load large files.
 

JDevain

Veteran
Veteran
Joined
Oct 21, 2018
Messages
163
Reaction score
71
First Language
English
Primarily Uses
RMMV
@Cootadude
Alright, this is good to know. I wasn't even aware of "preloading" plugins, definitely a good thing to test. I guess commands that only run once when you enter a new map are not a big deal in most cases, but now that you've pointed out the thing with loading large BGM files, I definitely want to play with that.
 

Cootadude

Noob with exp
Veteran
Joined
May 3, 2019
Messages
44
Reaction score
35
First Language
English
Primarily Uses
RMMV
@Cootadude
Alright, this is good to know. I wasn't even aware of "preloading" plugins, definitely a good thing to test. I guess commands that only run once when you enter a new map are not a big deal in most cases, but now that you've pointed out the thing with loading large BGM files, I definitely want to play with that.
No problem, I'll let you know when I find something new.
 

Latest Threads

Latest Posts

Latest Profile Posts

Just finished v0.1 of FOSSIL. It's a plugin that lets you use MV plugins in MZ without editing them by making them use new functions.

I have about 40 plugins tested and working so far (including chrono engine and some other big ones). I hope that the community will pitch in and help improve it, so we can use all the old plugins in MZ. :)
I really lack discipline and find myself far too often giving into or at least seriously considering the temptation to start a new project rather than following through on a WIP that's no longer a shiny and new idea.

Does anyone have any strategies or tricks for making themselves follow through with things instead of doing this? Like that actually work?
I'm starting the "Switches lesson" on Learn MV today, what would you like to learn about them?

Forum statistics

Threads
110,418
Messages
1,053,164
Members
143,486
Latest member
Galbador
Top