benchmark for ArrayQuery class