Simple state machine performance measuring app