Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Konsole Konsole
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Utilities
  • KonsoleKonsole
  • Merge requests
  • !555

Merged
Created Dec 14, 2021 by Waqar Ahmed@waqarDeveloper

Massive performance improvement for scrolling

  • Overview 1
  • Commits 1
  • Pipelines 2
  • Changes 1

BEFORE

CPU: AMD Ryzen 7 4700U with Radeon Graphics         
VT support: no
ManyLine: 5.8475s (0.0107gb/s)
LongLine: 1.6646s (0.0375gb/s)
FGPerChar: 0.3015s (0.0602gb/s)
FGBGPerChar: 0.6152s (0.0573gb/s)
TermMarkV2 Small: 8.4289s (0.0212gb/s)

real    0m9.222s
user    0m0.896s
sys     0m2.216s

AFTER

CPU: AMD Ryzen 7 4700U with Radeon Graphics         
VT support: no
ManyLine: 1.9642s (0.0318gb/s)
LongLine: 1.7874s (0.0350gb/s)
FGPerChar: 0.3099s (0.0585gb/s)
FGBGPerChar: 0.6400s (0.0551gb/s)
TermMarkV2 Small: 4.7015s (0.0379gb/s)

real    0m5.463s
user    0m0.951s
sys     0m1.830s

Note that we sacrifice a bit for long lines to gain a lot more for small lines. This change makes us almost as fast as alacritty in terms of scrolling performance.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/faster-clearImage