forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JingleThreadWrapper: override TaskQueueBase::Post[Delayed]Task().
This change gets rid of overhead in std::map and locks (visible in http://shortn/_tSjdrNiMky) by overriding and using the internal |task_runner_| Chromium task queue directly, thus avoiding the rtc::Thread ID and MessageHandler system. The result can be seen in http://shortn/_BT1aflWMtm. Fixed: 1223058 Change-Id: I5c93fcd63d27977b47fb2da1127bdfc0618fbf57 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2982659 Commit-Queue: Markus Handell <handellm@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> Auto-Submit: Markus Handell <handellm@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Tommi <tommi@chromium.org> Cr-Commit-Position: refs/heads/master@{#895669}
- Loading branch information
Showing
2 changed files
with
61 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters