question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance regression with maximized window on 2.0.0-canary.9

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS Sierra (10.12.6 (16G29))
  • Hyper.app version: 2.0.0-canary.9

Issue

We have a huge perf regression with xterm3 with a big/maximized window (using vi for example)

xterm2 (2.0.0-canary.8) hyper-xterm2-vi

xterm3 (2.0.0-canary.9) hyper-xterm3-vi

Performance recording with xterm3 capture d ecran 2018-01-11 a 21 41 45

Try with last 1.8.2-beta.3 Electron version and no change.

I have same performance issue with VSCode

cc @Tyriar

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:29 (22 by maintainers)

github_iconTop GitHub Comments

6reactions
bgwcommented, Feb 21, 2018

@Tyriar I need an ordered map implementation for the LRU cache, so I’m relying on the ES6 Map implementation, which guarantees insertion order iteration. We’ll either need to pull in a polyfill, or I’ll need to write a minimal ordered map implementation myself. Alternatively, we can try relying on the iteration order of objects in JS, but that’s also a fairly new addition to the spec, though every major browser does implement it.

Regarding the space characters: I use powerline, and that screenshot is from the demo page which doesn’t use the right font, so I’m guessing it’s just a couple of characters that didn’t render quite right.

The diff isn’t ready for review yet, I just wanted to let people know that I’m working on it, so that nobody else starts to work on the same thing.

3reactions
bgwcommented, Mar 18, 2018

FYI: Even with the dynamic char atlas patch set, drawing characters with a background is slower than without, since we make a new call to fillRect for each character (even when adjacent characters are the same color), which ends up being expensive (it takes up nearly half the render time for me).

I’m hoping to tackle that problem next, but you might still want to stick with the :hi Normal ctermbg=none hack for now.

EDIT: Oh, and let me know if you encounter any issues with the new atlas!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Performance regression with maximized window on 2.0.0-canary.9 ...
I'm running into this issue too. It's especially bad on my 1440p screen, to the point where I can't use hyper, since every...
Read more >
https://gitweb.gentoo.org/repo/sync/gentoo.git/pla...
... 0.6.9-r1: General-purpose console screen reader app-admin/abrt 2.10.10-r2 ... suite app-benchmarks/bonnie 2.0.6-r2: Performance Test of Filesystem I/O ...
Read more >
Failure is Always an Option - Morioh
Failure is Always an Option. This tutorial shows an insightful look at the history of systems engineering, at some of the strategies and...
Read more >
Scoop buckets by number of apps - GitHub Pages
A searchable directory of buckets for the scoop package manager for Windows.
Read more >
Altair Accelerator Software 2022.1.0
Windows Server. 2012, 2012R2, 2016, 2019 win64.tar. Note: On Windows, only the following are supported: FlowTracer, Monitor, and Accelerator (taskers only).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found