Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put cheap check first in testingTriggerSpill() (facebookincubator#10646…
…) (#494) Summary: testingTriggerSpill() uses 1% cpu in meta internal profiling on release build. This is due to the expensive regex check it does upon entrance of this method. Move pct check up to avoid regex check to reduce the cpu consumption. Pull Request resolved: facebookincubator#10646 Reviewed By: kevinwilfong Differential Revision: D60613614 Pulled By: tanjialiang fbshipit-source-id: 23cbfc89b575343b7e7da1dd7d0eaef63a1ec705 Co-authored-by: Jialiang Tan <[email protected]>
- Loading branch information