How to benchmark events?

● ARCHIVED · READ-ONLY
Started by Tsukihime 6 posts View original ↗
  1. How do I go about benchmarking the performance of an event?
  2. Oh, that would be good to know ^_^

    Perhaps an edit to the profiler script Archeia released to only track events methods and such?
  3. Not sure how you will do it.
    But if you only want to see, how good your FPS are in game, then you can use:
    Bandicam for it.
    If you have Nvidia, then you could use ShadowPlay, because it doesn't affect the performance at all. ;)
    If you need to know, how long it needs till it execute events, seen one here uploaded. (\s/)
  4. You could log the amount of seconds in a variable via a parallel process event triggered by the event you want to log and display that in the UI.
  5. Does RPG Maker not have access to Benchmark?

    Code:
    Benchmark.measure { code }
  6. If it's just one event, I think you can using benchmark and make the code to be like this

    Code:
    alias aliased_update updatedef update  if @id == your_event_id    Benchmark.measure { aliased_update }  else    aliased_update  endend