Numerical study of a Lyapunov functional for the complex Ginzburg-Landau equation