react-native/React/Profiler
Tadeu Zagallo 89c1747c33 Implement asm trampoline rather forwardInvocation
Summary: public

The profiler overrides all the methods of all the BridgeModules, and in order to
`start` and `end` the profiler at the function invocation time it used `NSInvocation`,
which is slow.

Replace it with a simple assembly method based on `objc_msgSend`.

Reviewed By: jspahrsummers

Differential Revision: D2550807

fb-gh-sync-id: 88ca08f9d6bfcd3035bda9304c93566c8818b46f
2015-10-20 04:14:09 -07:00
..
RCTProfile.h Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTProfile.m Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTProfileTrampoline-arm.S Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTProfileTrampoline-arm64.S Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTProfileTrampoline-x86.S Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00
RCTProfileTrampoline-x86_64.S Implement asm trampoline rather forwardInvocation 2015-10-20 04:14:09 -07:00