Merge lp:~vanvugt/compiz/fix-1095001 into lp:compiz/0.9.9
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Sam Spilsbury |
Approved revision: | 3534 |
Merged at revision: | 3533 |
Proposed branch: | lp:~vanvugt/compiz/fix-1095001 |
Merge into: | lp:compiz/0.9.9 |
Diff against target: |
85 lines (+28/-5) 3 files modified
plugins/opengl/src/paint.cpp (+12/-3) plugins/opengl/src/privates.h (+3/-0) plugins/opengl/src/screen.cpp (+13/-2) |
To merge this branch: | bzr merge lp:~vanvugt/compiz/fix-1095001 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+141551@code.launchpad.net |
Commit message
Avoid calling code that results in calls to regexec as much as possible.
Regular expression matching is too expensive to do very often and compiz
was spending 31% of its CPU time in regexec().
(LP: #1095001)
Description of the change
Before: 31%
After: 0.01%
To post a comment you must log in.
PASSED: Continuous integration, rev:3534 jenkins. qa.ubuntu. com/job/ compiz- ci/336/ jenkins. qa.ubuntu. com/job/ compiz- ci/./build= pbuilder, distribution= quantal, flavor= amd64/336/ console
http://
Executed test runs:
SUCCESS: http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ compiz- ci/336/ /rebuild/?
http://