-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't spawn a new thread pool for every sample
Summary: below was creating and destroying a large number of very short lived threads. This was creating enough threads that just the creation of the threads was consuming 0.1% CPU and spawning ~60 threads a minute on average. Reviewed By: dschatzberg Differential Revision: D45800206 fbshipit-source-id: c56c3eb224c1ea413fbd2e44d555872aea3ef368
- Loading branch information
1 parent
7f7d0fd
commit 15db2a4
Showing
2 changed files
with
10 additions
and
5 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