add test performance function