Comments (8)
Is that debug mode? Performance can only be judged using the App in release mode without a debugger attached.
from avalonia.
Is that debug mode? Performance can only be judged using the App in release mode without a debugger attached.
In release mode, the animation is not smooth either
from avalonia.
Needs repro or a dotTrace profiling. Nothing actionable here otherwise, as hard to tell what's exactly is slow.
from avalonia.
需要重现或 dotTrace 分析。否则,这里没有什么可操作的,因为很难说到底是什么很慢。
AvaloniaApplication1.zip
I hope you can help me solve this problem. Thank you
from avalonia.
@1324278444 thanks. Checked with dotTrace, and found two details:
- UI thread is mostly fine, render thread is choking on animation.
- It's not related to the number of controls, but more specific to text entries
- The most time (and memory) is spent on native Skia side rendering text for each tick of the each frame
from avalonia.
@1324278444 thanks. Checked with dotTrace, and found two details:
- UI thread is mostly fine, render thread is choking on animation.
- It's not related to the number of controls, but more specific to text entries
- The most time (and memory) is spent on native Skia side rendering text for each tick of the each frame
Thank you, how can I solve this problem
from avalonia.
@1324278444 apparently, it's also font related. As @MrJul noticed, Source Han Sans CN doesn't ASCII characters at all, only full width fallbacks, which makes its rendering pretty slow. If you remove this font (or use another font for ASCII text), it should be smooth.
from avalonia.
@1324278444 apparently, it's also font related. As @MrJul noticed, Source Han Sans CN doesn't ASCII characters at all, only full width fallbacks, which makes its rendering pretty slow. If you remove this font (or use another font for ASCII text), it should be smooth.
Thank you. After changing the font, the animation became smoother
from avalonia.
Related Issues (20)
- Disable text input suggestions and auto-complete
- Run Background does not correspond to text size
- The UI will not render correctly when some mouse events occur, HOT 3
- Android screen rotation causes crash HOT 3
- DataGrid DataGridTemplateColumn Button SelectedItem null if row is not selected
- Color binding on slider thumb background property in fluent theme not working properly HOT 5
- Listbox.clear does not go to the top automatically
- GlyphTypeface.Name does not represents the correct family name for extended families
- ComboBox ItemsSource does not support ObservableCollection's View HOT 4
- DrawingContext state is broken in some cases HOT 1
- System.InvalidOperationException: Could not create glyphTypeface on Linux after upgrade to version 11.1.x HOT 4
- Binding OneTime does not work HOT 1
- Incorrect Coordinates Retrieved by PointToScreen on Linux in Loaded and Activated Events HOT 5
- Unsupported IBinding implementation after migration on 11.1 HOT 8
- Can't build in release mode. Can't find SimpleTheme HOT 2
- Tooltip doesn't disapear after mouse moves away HOT 2
- updated to 11.1.2 and the browser project does not build because it does not find the namespace avalonia.browser HOT 1
- WebRTC Support with Avalonia for Android and iOs HOT 2
- Avalonia.Browser RenderWorker and some other new classes shouldn't be public HOT 3
- ToolTip's Tip fails to be passed as CommndParameter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.