-
Notifications
You must be signed in to change notification settings - Fork 116
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
expose the bytecode in cli #777
Comments
You already can, kind of - it's the |
|
You'll need a debug build (no |
Any chance this is moves into production build by default. Consider it's under a flag, won't drag down perf in normal mode. |
Some of the debug flags may have an impact if enabled in release builds. |
Probably not because it embiggens the library by quite a bit. One of quickjs's design goals is being able to run in constrained environments so we're mindful of size. |
Enabling all the trace/dump facilities does cause a slow down even if the flags are not enabled via a command line option or a call to |
In real cases in embedder we can always turn it off. But we need perf insight during development, which is my real case. |
Can't you use a Debug build for that? |
That's what I do for now. But I want this make it to the default build. Sometimes I want to do the diff with latest qjs binary in release page. |
We would need to separate the bytecode dumping logic from the other dump flags I guess... |
This will make debug and performance more easily
v8
MonkeyLang
The text was updated successfully, but these errors were encountered: