benchmark for quick_sort