Append JS_require_ to require profile names

Reviewed By: tadeuzagallo

Differential Revision: D2717939

fb-gh-sync-id: 4648e240eebfb3a7bc1c5041d4f1fba8761264a9
This commit is contained in:
Mike Armstrong 2015-12-03 07:23:58 -08:00 committed by facebook-github-bot-2
parent c68fa4b4d8
commit 5ea0b333e7
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
// require cycles inside the factory from causing an infinite require loop.
mod.isInitialized = true;
__DEV__ && BridgeProfiling().profile(id);
__DEV__ && BridgeProfiling().profile('JS_require_' + id);
// keep args in sync with with defineModuleCode in
// packager/react-packager/src/Resolver/index.js