3 ms·
I don't really know how to eliminate my own biases here, but a quick test shows that the new prompt feels very much like the old one if I add a little latency m
by majewsky 9y ago
I don't really know how to eliminate my own biases here, but a quick test shows that the new prompt feels very much like the old one if I add a little latency manually:
PROMPT="\$(prettyprompt \$?)"
PROMPT="\$(sleep 0.04; prettyprompt \$?)"
With the second one, I can always see a frame or two where the cursor is already on the next line where the prompt will go, before the prompt actually shows up.
- darawk 9y agoPresumably the test would be whether he can, in a blind experiment, reliably discriminate between them.
- alecbenzer 9y agoYeah -- seems like it'd be a bit tricky to set up, but would be super interesting to see the results. edit: Tried something out: https://github.com/AlecBenzer/terminal-latency https://github.com/AlecBenzer/terminal-latency Had 92% accuracy differentiating 10ms from 100ms out of 28 tries
- richdougherty 9y agoNice!