benchmark expensive computation