This repository was archived by the owner on Mar 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Perf optimization #18
Open
wpc009
wants to merge
17
commits into
JetBrains:master
Choose a base branch
from
wpc009:perf-optimization
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e60b161
perf improvement
wpc009 a5d580e
Merge branch 'master' of https://github.com/JetBrains/projector-client
wpc009 4872a4e
Performance tuning
wpc009 252148f
revert wire protocol version assertion
wpc009 01ec80e
revert codestyle config
wpc009 bde7a74
revert unnecessary changes
wpc009 8f35f4b
clean code
wpc009 b72134d
passing checks
wpc009 0dba75d
fix tests
wpc009 921bd1e
Adding extra v8 flags
wpc009 cd6c602
Adding usefull Electron Menu items
wpc009 cbff8dd
[Optimization]
wpc009 aacd44d
Merge branch 'master' into perf-optimization
wpc009 b9881ce
Merge
wpc009 5750e47
Merge branch 'master' of https://github.com/JetBrains/projector-clien…
wpc009 004fda9
revert ClientState changes
wpc009 9541c50
fix merge typo
wpc009 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
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
I will update Kotlin and dependencies to 1.4.30 on the next week, it seems there are some performance improvements.
By the way, there is a relatively new mode of compilation called IR. It can give more performant code too. I will try it later, but if you have some time, you can try it yourself. Just add
(IR)
tobuild.gradle(.kts)
files of JS and multiplatform modules like this:At least many
Kotlin.isType
are replaced with JSinstanceof
in IR.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.
I will try that.
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.
just add IR in projector-client-web will cause :
dceTask configuration is useless with IR compiler. Use @JsExport on declarations instead.
FAILURE: Build failed with an exception.
Task 'browserProductionWebpack' not found in project ':projector-client-web'.
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.
projector-client-web is already some time with IR enabled and that problem solved:
projector-client/projector-client-web/build.gradle.kts
Line 63 in 2811e60
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.
thanks ,I merger the pr to my 1.6.0 version and it shows ok . I found you have released it to 1.7.0 , I will use the latest version after PRJ-857 fix