-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow on startup when enable Hermes #5
Labels
bug
Something isn't working
Comments
leegeunhyeok
changed the title
Slow on startup when NATIVE_MODULE_SETUP_START
Slow on startup when enable Hermes
Aug 15, 2023
Notes
var __esm = (fn2, res) => function __init() {
return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
// ---------------------------------------------------- ^ slow here
};
var __commonJS = (cb, mod) => function __require2() {
// ------------------------ ^ slow here
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
// ------------------------------------------- ^ slow here
}; Performance graphReason
|
Closed
Updates
Trobleshooting
Test Code
Hermes Bytecode
Test Result (on Production project)Action Items
|
leegeunhyeok
added a commit
that referenced
this issue
Sep 19, 2023
- in local scope(iife), poor performance on hermes runtime - remove iife for modules initialize on global scope - change esbuild bundle format iife to esm for remove iife close #5
leegeunhyeok
added a commit
that referenced
this issue
Sep 19, 2023
- in local scope(iife), poor performance on hermes runtime - remove iife for modules initialize on global scope - change esbuild bundle format iife to esm for remove iife close #5
leegeunhyeok
added a commit
that referenced
this issue
Sep 19, 2023
- in local scope(iife), poor performance on hermes runtime - remove iife for modules initialize on global scope - change esbuild bundle format iife to esm for remove iife close #5
github-project-automation
bot
moved this from In Progress
to Done
in react-native-esbuild
Sep 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
On debug build(Android, iOS), Slow on startup.
To reproduce
Log
References
HermesExecutorDebug
context.ProxyJavaScriptExecutor
context.enqueueNativeCall
(native: callNativeModules)callNativeSyncHook
(native: nativeCallSyncHook)The text was updated successfully, but these errors were encountered: