-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
below: stat: Avoid intermediate split vector allocation
Summary: /proc/pid/stat is one of the more complicated files to parse, and using the iterator directly saves about 1% CPU per iteration in my tests. Reviewed By: dschatzberg Differential Revision: D58083975 fbshipit-source-id: 649ae79b5893b5010b961fa5da8aa71f927705ba
- Loading branch information
1 parent
74728f4
commit 4622b69
Showing
1 changed file
with
31 additions
and
23 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