Skip to content

Restore batch mode compiler support for dartk and dartkp configurations #31585

Closed
@mraleph

Description

@mraleph

Currently we use kernel isolate in all dartk and non-strong dartkp modes. This allows us to compile to Kernel transparently, but leads to a lot of issues and bad performance of tests especially in simulated architectures (40x slower tests on SIMARM+dartk configuration) and precompiler mode.

Plan:

  • Restore pure batch mode support: run persistent compiler runner in background, compile to dill files on disk, pass those to the VM.
  • Switch dartkp on all architectures to this mode.
  • Switch dartk on SIM* architectures to use this mode.

Some tests that need to perform on the fly compilation (Isolate and reload tests) would continue to use --dfe for now.

Metadata

Metadata

Assignees

Labels

P0A serious issue requiring immediate resolutionarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.front-end-kernellegacy-area-front-endLegacy: Use area-dart-model instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions