added perftest for moments