Skip to content
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

Snapshotted modules from Extensions should require one-byte names and specifiers #18085

Closed
bartlomieju opened this issue Mar 9, 2023 · 0 comments · Fixed by #18264
Closed
Assignees
Labels
deno_core Changes in "deno_core" crate are needed perf performance related

Comments

@bartlomieju
Copy link
Member

Currently we're spending around 1.5% of startup time on deserializing snapshotted modules. Most of that time is spent v8::String and Rust's string deserialization. We should enforce using one-byte strings for Extension's name and specifier to reduce this cost.

@bartlomieju bartlomieju added the deno_core Changes in "deno_core" crate are needed label Mar 9, 2023
@bartlomieju bartlomieju self-assigned this Mar 9, 2023
@bartlomieju bartlomieju added the perf performance related label Mar 9, 2023
bartlomieju added a commit that referenced this issue Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deno_core Changes in "deno_core" crate are needed perf performance related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant