https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124463

            Bug ID: 124463
           Summary: Big (10x) performance regression for
                    std::vector<unsigned char>
           Product: gcc
           Version: 15.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: agriff at tin dot it
  Target Milestone: ---

Created attachment 63907
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63907&action=edit
Program that check speed of a std::deque<unsigned char> used as a dynamically
sized ring buffer

While doing some performance check for more complex code I bumped into a big
performance regression of -O3 code with std::deque<unsigned char>

Attached code with 14.3 ~ 170 ms
Attached code with 15.1 ~ 1300 ms

same problem persists in newer versions available in godbolt

Reply via email to