Measure Python List API performance