improve benchmark InputTask
fix scanRight benchmark