forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable allocator stats collection by default
Summary: Allocator stats collection was designed to be a debugging tool and can be expensive as allocation happens on the hotpath and stats collection can add a non-trivial amount to it. Therefore we are disabling it by default. Additionally this change improves the toString() API for the struct that accounts for these stats but adding the number of allocations to it. Reviewed By: xiaoxmeng Differential Revision: D56658835 fbshipit-source-id: 3cf55087e441000e7acce179f911afd37965ca2f
- Loading branch information
1 parent
85fd5c6
commit d86b1f2
Showing
3 changed files
with
41 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
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