Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use timer type as Systrace identifier
Summary: Removes the use of `parseErrorStack` in `_allocateCallback`, which was used to determine which timer API was allocating the callback (for Systrace purposes). Instead, we now use the already-existing `type` argument, which achieves the exact same thing but is much faster than parsing the stack trace. Changelog: [General] [Fixed] - Reduce overhead of setting up timers in DEV Reviewed By: yinghuitan Differential Revision: D18233182 fbshipit-source-id: 190c0ffad8734cd889b790248e5a77cfb147454b
- Loading branch information