benchmark to test pointers