Use promise in busy wait benchmarks