Repository navigation
[Wasm] Improve arrange and transform performance - #594
Merged
Merged
Conversation
- Transform SetStyleArrange to ArrangeElementNative using TS Bindings - Use SetStyleDouble for opacity
dr1rrb
approved these changes
Feb 13, 2019
jeromelaban
force-pushed
the
dev/jela/arrange-perf
branch
from
February 14, 2019 03:16
2656d56 to
3c5345e
Compare
jeromelaban
added a commit
that referenced
this pull request
Feb 14, 2019
Inner rectange SVG is now clipped properly since #594, but the rectangle needs a larger clipping area.
jeromelaban
added a commit
that referenced
this pull request
Feb 14, 2019
Inner rectange SVG is now clipped properly since #594, but the rectangle needs a larger clipping area.
2 of 6 tasks
jeromelaban
added a commit
that referenced
this pull request
Feb 15, 2019
Inner rectange SVG is now clipped properly since #594, but the rectangle needs a larger clipping area.
carldebilly
reviewed
Feb 15, 2019
| ) | ||
| : ""; | ||
|
|
||
| SetStyles( |
Member
There was a problem hiding this comment.
Using this won't remove the class uno-unarranged anymore... leading to showing nothing.
Member
Author
There was a problem hiding this comment.
That's what the true below is for.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Type
What kind of change does this PR introduce?
What is the current behavior?
The current arrange implementation uses a lot of string formatting to send data to Javascript.
What is the new behavior?
The new implementation uses TSBindings to improve the performance, and here are some results for 1000 arrange calls, using the interpreter:
PR Checklist
Please check if your PR fulfills the following requirements: