evennia.server.profiling.memplot

Script that saves memory and idmapper data over time.

Data will be saved to game/logs/memoryusage.log. Note that the script will append to this file if it already exists.

Call this module directly to plot the log (requires matplotlib and numpy).

class evennia.server.profiling.memplot.Memplot(*args, **kwargs)[source]

Bases: evennia.scripts.scripts.DefaultScript

Describes a memory plotting action.

at_script_creation()[source]

Called at script creation

at_repeat()[source]

Regularly save memory statistics.

exception DoesNotExist

Bases: evennia.scripts.scripts.DefaultScript.DoesNotExist

exception MultipleObjectsReturned

Bases: evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned

path = 'evennia.server.profiling.memplot.Memplot'
typename = 'Memplot'