Comment #7 on issue 20204 by [email protected]: High CPU usage on
wired.com article.
http://code.google.com/p/chromium/issues/detail?id=20204
Hey Darin,
I just noticed while debugging this:
std::swap(incoming_queue_, work_queue_);
this is of type TaskQueue which is a std::queue. std::queue does not
define a swap
specialization. So this is implemented with a fullback temporary and full
copy.
This is really inefficient.
Should the queues move to using pointers and swap those?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---