-
Notifications
You must be signed in to change notification settings - Fork 334
Evaluate visualizations in parallel using reactive observers #13219
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
Closed
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
cf7f98e
Minor refactorings
hubertp fc02674
Add rxjava dep
hubertp 9c08817
Fix bug in sync expressions/visualizations
hubertp 9c565a6
Modify ExecutionService API to return futures
hubertp afb5c75
Implement regular visualizations via observables
hubertp 0665f32
Increase parallelism
hubertp ecd3800
HostClassLoader was not thread-safe
hubertp b986efa
Fixed (again) potential deadlock in HostClassLoader
hubertp 54b5925
Merge branch 'develop' into wip/hubert/10525-reactive-cache
hubertp 2791af4
fmt
hubertp 4bd95b4
Optional execution in PushContext request
hubertp 4fa1abe
adapt tests
hubertp ffb2296
More efficient visualization upsert via retries
hubertp 1f10246
fix build for tests
hubertp 5683fc2
fix NI build
hubertp b2eb8ae
drop unused parameter
hubertp 1becf4e
fix typo
hubertp cb4c1e9
Make sure observers/visualizations can be modified
hubertp 9a414a6
Infer diagnostics in Truffle context
hubertp 6f55c7b
Ensure visualization upsert triggers execution when necessary
hubertp ac1172d
Adapt tests to new implementation
hubertp 5470610
Merge branch 'develop' into wip/hubert/10525-reactive-cache
hubertp ba17734
Fix remaining tests
hubertp 99e8d94
Reply to `AttachVisualization` request immediately
hubertp ed1bc79
Evaluate vis expression only once
hubertp c9cbb9d
Partial revert of evaluate-once change
hubertp faf3712
Workaround notorious starvation issues in Truffle
hubertp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -319,6 +319,10 @@ class MainModule(serverConfig: LanguageServerConfig, logLevel: Level) { | |
| RuntimeOptions.JOB_PARALLELISM, | ||
| Runtime.getRuntime.availableProcessors().toString | ||
| ) | ||
| extraOptions.put( | ||
| RuntimeOptions.GUEST_PARALLELISM, | ||
| 3.toString | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Incremental Integration of Fixes
Pool of One Must be Enough
|
||
| ) | ||
|
|
||
| if (HostEnsoUtils.isAot()) { | ||
| log.info("Running Language Server in AOT mode") | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rxjavaref,computed,watchEffect, etc.