[GLES] compiz spends 12% of its time in std::vector<float>::reserve from GLVertexBuffer::addTexCoords

Bug #1028768 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
High
Daniel van Vugt

Bug Description

callgrind shows that compiz spends 12% of its time in std::vector<float>::reserve from GLVertexBuffer::addTexCoords

Tags: gles
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

And apparently all the time in std::vector<float>::reserve is occupied by memmove.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry, the above comment is wrong. It's divided between new, delete and memmove.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed to gles2 at revision 3292.

Changed in compiz:
status: Triaged → Fix Committed
Changed in compiz:
milestone: 0.9.8.0 → none
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.