Algorithm analyzer