Skip to content

Allow use of V8 Liftoff compiler #323

@mpwarres

Description

@mpwarres

Currently the V8 integration explicitly disables the Liftoff compiler. AIUI this is to force V8 to only use TurboFan for code generation, so that in uses such as Envoy where there are N separate thread-local VMs, we incur the cost of eager TurboFan code generation only once, prior to cloning each of the thread-local VMs.

However, Liftoff offers significant benefits for use cases requiring quick plugin startup time--in some benchmarks we have seen it consume <5% of the CPU time of TurboFan. For those use cases it would be useful to have the option to enable Liftoff for V8.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions