Skip to content

Comments

Use the engine to load plugins#899

Draft
iwahbe wants to merge 1 commit intomainfrom
iwahbe/engine-based-plugin-loading
Draft

Use the engine to load plugins#899
iwahbe wants to merge 1 commit intomainfrom
iwahbe/engine-based-plugin-loading

Conversation

@iwahbe
Copy link
Member

@iwahbe iwahbe commented Dec 3, 2025

We already had this capability in the engine, and we use it for language tests (conformance tests). We should use the same capability during normal operation.

Fixes #301

@iwahbe iwahbe requested a review from a team as a code owner December 3, 2025 11:43
We already had this capability in the engine, and we use it for language
tests (conformance tests). We should use the same capability during normal operation.

Fixes #301
@iwahbe iwahbe force-pushed the iwahbe/engine-based-plugin-loading branch from 7d8a7e4 to 903cce8 Compare December 3, 2025 11:50
Copy link
Contributor

@tgummerer tgummerer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+19 −60

🩸

@@ -0,0 +1,6 @@
component: runtime
kind: Improvements
body: Use the engine for plugin loading, instead of loading another copy of a plugin for type checking.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
body: Use the engine for plugin loading, instead of loading another copy of a plugin for type checking.
body: Use the engine for plugin loading, instead of loading another copy of a plugin for type checking

@Frassle
Copy link
Member

Frassle commented Dec 3, 2025

I'd put off doing this because of the perf cost

@iwahbe
Copy link
Member Author

iwahbe commented Dec 3, 2025

I'd put off doing this because of the perf cost

Did we ever measure the perf cost involved?

@Frassle
Copy link
Member

Frassle commented Dec 3, 2025

I did a quick test with some small aws programs and it was a few seconds slower.

@iwahbe iwahbe marked this pull request as draft December 3, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Defer schema loading to engine and remove redundant plugin loads during execution

3 participants