added perf test for moments