The GNU variant was discussed recently at:
https://news.ycombinator.com/item?id=14542938
The commit that sped up GNU yes has a summary of the perf measurements: https://github.com/coreutils/coreutils/commit/3521722
yes can be used to generate arbitrary repeated data for testing or whatever, so it is useful to be fast