@profile works, memoize works