The performance sensitive parts of the client are today built with -O3. However, it may be possible that -Os could give the same or even better performance. Additional advantages would be shorter build times and smaller binaries.
See also bug 3304.
*** This bug has been marked as a duplicate of bug 4793 ***