macOS: the playing Client uses ~9 % CPU on an M2

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
macos, rust
Bereich
cli, performance

Rechercherichtung

The payload names no files, so start by locating the terminal drawing loop and the kitty graphics image upload path in the Rust source. Profile the playing client on macOS with Instruments as the first checklist item, and compare with the Linux numbers in the report. Done means a measured before-and-after CPU figure on macOS, with the Visuals looking unchanged.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

While a song plays, the Client costs about 3 % CPU on Linux (plus ~5 % for kitty), but about 9 % on an M2 MacBook Air.

To do

  • Profile on macOS (Instruments): the terminal and the image transfer path (kitty graphics)
  • A frame whose image didn't change could skip the upload
  • Measure before and after; no visible change to the Visuals
Vorherrschende Sprache
Rust
Sterne
0
Forks
0
Ø Merge
3 Std. 30 Min.
Gemergte PRs (30 T.)
25

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus publicusr/singularity

Alle Issues in publicusr/singularity

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.