Performance Degradation on 0.10.0-preview2
See original GitHub issueAfter upgrading a project which uses AvaloniaEdit
from 0.9.0
to 0.10.0-preview2
things are working, well, 10 times slower. Using Ubuntu 18.04 LTS KDE, the following markup is used to instantiate and draw the editor:
<avaloniaEdit:TextEditor
FontFamily="Ubuntu Mono"
x:Name="AvaloniaEdit"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto">
<avaloniaEdit:TextEditor.Options>
<avaloniaEdit:TextEditorOptions
ConvertTabsToSpaces="True"
IndentationSize="4"
ShowTabs="True" />
</avaloniaEdit:TextEditor.Options>
</avaloniaEdit:TextEditor>
This is how it was working with 0.9.*
(absolutely fast):
This is how it works after the upgrade to 0.10.0-preview*
(almost a slideshow):
The following xml
file represents the highlighting: https://gist.github.com/worldbeater/9f85062caddeceb8cf97719c306546e4
dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.100
Commit: cd82f021f4
Runtime Environment:
OS Name: ubuntu
OS Version: 18.04
OS Platform: Linux
RID: ubuntu.18.04-x64
Base Path: /usr/share/dotnet/sdk/3.1.100/
Host (useful for support):
Version: 3.1.0
Commit: 157910edee
.NET Core SDKs installed:
2.1.802 [/usr/share/dotnet/sdk]
2.2.402 [/usr/share/dotnet/sdk]
3.1.100 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.14 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.14 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.14 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
Ping me if any further details are required.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Idle (!) performance much worse in 2020.2+ versus 2020.1 ...
I've been seeing a very significant performance regression in a DOTS project for a while (several months now, but I thought it was...
Read more >Spark Streaming - Spark 3.0.0-preview2 Documentation
Spark Streaming programming guide and tutorial for Spark 3.0.0-preview2. ... See the Performance Tuning section for more details.
Read more >Changelog | XR Interaction Toolkit | 0.10.0-preview.7
[0.10.0-preview.2] - 2020-08-26 ... Fixes minor documentation issues; Fixed passing from hand to hand of objects using direct interactors ...
Read more >Changelog | Platforms Android | 0.10.0-preview.10
Changelog. All notable changes to this package will be documented in this file. The format is based on Keep a Changelog and this...
Read more >Performance degradation : r/BrownDust2Official
So here's my question: Is there any fix for this lag & over-time performance degradation? This isn't the first mobile game to do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That issue is unrelated. Totally different text rendering stack.
@aelij just verified with
AvaloniaEdit
added as a submodule, and can confirm that https://github.com/AvaloniaUI/AvaloniaEdit/pull/110 really fixes the issue on Linux!