From 5ea0b333e71c1403e0f78b1cdd5e02e396fb5b16 Mon Sep 17 00:00:00 2001 From: Mike Armstrong Date: Thu, 3 Dec 2015 07:23:58 -0800 Subject: [PATCH] Append JS_require_ to require profile names Reviewed By: tadeuzagallo Differential Revision: D2717939 fb-gh-sync-id: 4648e240eebfb3a7bc1c5041d4f1fba8761264a9 --- react-packager/src/Resolver/polyfills/require.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/src/Resolver/polyfills/require.js b/react-packager/src/Resolver/polyfills/require.js index d7550ba1..ebaa8c40 100644 --- a/react-packager/src/Resolver/polyfills/require.js +++ b/react-packager/src/Resolver/polyfills/require.js @@ -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