https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119108
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I tried looking into snappy sources but it is not obvious where the slow down would happen here. Especially for BM_UIOVecSource. Unless it is also benchmarking the setup part: ``` for (int i = 0; i < kNumEntries; ++i) { iov[i].iov_base = const_cast<char*>(contents.data()) + used_so_far; if (used_so_far == contents.size()) { iov[i].iov_len = 0; continue; } if (i == kNumEntries - 1) { iov[i].iov_len = contents.size() - used_so_far; } else { iov[i].iov_len = contents.size() / kNumEntries; } used_so_far += iov[i].iov_len; } ```