Hi, I was integrating rexpect into a project and found that the sleeps are longer than what we needed. Specifically the sleep in read_until is 100ms, and I found that decreasing this to 5ms sped up some of our tests that are using rexpect.
|
thread::sleep(time::Duration::from_millis(100)); |
Of course I wouldn't suggest everyone using 5ms, so maybe there's room for configurability? For now I have a fork with that small change.
Hi, I was integrating
rexpectinto a project and found that the sleeps are longer than what we needed. Specifically thesleepinread_untilis 100ms, and I found that decreasing this to 5ms sped up some of our tests that are usingrexpect.rexpect/src/reader.rs
Line 287 in be7f1ab
Of course I wouldn't suggest everyone using 5ms, so maybe there's room for configurability? For now I have a fork with that small change.