Slow stretched-exponential and fast compressed-exponential relaxation from local event dynamics