What included in cpu time?
-
As I understand, basically the process of each step is:
- Memory = JSON.parse(memoryData)
- Game = prepareGameObject
- invokeUserScript
- memoryData = JSON.stringify(Memory)
- applyCommands
What exactly included in cpu time? Specifically I'm wondering if complex memory structure will result in performance penalty? Or only #3 is counted and I can do anything with Memory as long as it feets in 2MB?