vercel / vercel/hyper

Hyper takes 20s to load on first run

Open
#3,086 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📊 Type: Performance 🖼 Platform: Windows
Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • OS version and name: Windows 10 Pro, Version 10.0.17134.48
  • Hyper.app version: 2.0
  • Link of a Gist with the contents of your .hyper.js: No idea how to do this
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): NA
  • The issue is reproducible in vanilla Hyper.app: Vanilla

Issue

I just started my hyper terminal (2.0) and it took 20s on the first try, then 8s on the next 3 tries.

I ran Hyper -v and got this output:

C:\Users\erjorge>hyper -v
running in prod mode

electron will open file://C:\Users\erjorge\AppData\Local\hyper\app-2.0.0\resources\app.asar\index.html

[26476:0614/081223.616:WARNING:keyboard_util.cc(165)] Invalid accelerator token: del
[26476:0614/081223.616:WARNING:accelerator_util.cc(62)] ctrl+del doesn't contain a valid key

[26476:0614/081223.620:WARNING:keyboard_util.cc(165)] Invalid accelerator token: del
[26476:0614/081223.620:WARNING:accelerator_util.cc(62)] ctrl+del doesn't contain a valid key

[26476:0614/081225.696:ERROR:cache_util_win.cc(20)] Unable to move the cache: 5

[26476:0614/081225.696:ERROR:cache_util.cc(134)] Unable to move cache folder C:\Users\erjorge\AppData\Roaming\Hyper\GPUCache to C:\Users\erjorge\AppData\Roaming\Hyper\old_GPUCache_000
[26476:0614/081225.696:ERROR:disk_cache.cc(132)] Unable to create cache
[26476:0614/081225.696:ERROR:shader_disk_cache.cc(604)] Shader Cache Creation failed: -2

Checking for notification messages

No matching notification messages

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the first-run and subsequent launch times on Windows 10 with Hyper 2.0 using the hyper -v entry point, and capture the reported GPU cache errors. Done means the initial launch no longer takes about 20 seconds and the cache-related startup behavior has a verified explanation or resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron
Domain
desktop, operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.