Skip to content

Startup snapshots #1372

@HalidOdat

Description

@HalidOdat

Because JavaScript describes so many objects creating them on every Context creation takes some time. But with snapshots we only do it once then we serialize them into a snapshot binary file and all other Context creation just deserializes this binary snapshot file.

V8 uses snapshots to speed up context creation

This will probably require a lot of changes maybe we will need to write our own garbage collector for easier serialization and deserialization.

Metadata

Metadata

Assignees

Labels

E-HardHard difficulty problemexecutionIssues or PRs related to code executionperformancePerformance related changes and issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions