benchmark: add some array functions