Ball and Stick: 171 ms per frame for a 5184-atom water box (CPK: 20 ms)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- c
- Domaine
- performance
Piste de recherche
Start with the tools/viewer-bench benchmark and profile its water-box Ball and Stick case using perf record; the issue notes that Xvfb is sufficient. Compare where CPU time is spent in moiv/viz versus the rasteriser, using the CPK case as a reference. Done when the profile identifies the repeated per-frame cost behind the 171 ms rendering time.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Measured with tools/viewer-bench (branch wip/viewer-bench) on an NVIDIA RTX 3050, 800×800, mean ms per frame:
| System | Ball and Stick | CPK |
|---|---|---|
| water, benzene, Cr(CO)6 | 0.5–0.8 | 0.4–0.5 |
| benzene + MO isosurface | 1.0 | – |
| water box, 5184 atoms | 171 | 20 |
Render caching AUTO vs OFF makes no difference in any case.
The same atoms draw 8.5× faster in CPK, so the cost is in the bond path of Ball and Stick. A few thousand cylinders in immediate-mode GL take a few ms on this GPU; 170 ms suggests CPU work repeated every frame (bond finding or geometry rebuilt per render) rather than GL submission. Rewriting moiv's drawing to vertex buffers would therefore probably not address it.
Next step: a CPU profile (perf record) of the benchmark's water-box Ball and Stick case; Xvfb is sufficient, as the profile separates moiv/viz time from the rasteriser. Relevant only for large systems (MD boxes, proteins); teaching-sized molecules render in under 1 ms.
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 21 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
FriendsofECCE/ECCE#336 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
FriendsofECCE/ECCE#339 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 28/100
FriendsofECCE/ECCE#338 · 2 commentaires ·
-
Basis Set Tool: periodic table cut off on the right; elements 110-118 still have placeholder namesOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 40/100
FriendsofECCE/ECCE#337 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 8/100
FriendsofECCE/ECCE#335 ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
[BUG] Small issues on iMXRT found by ClaudePeut-être pris @Sarthak-Pandey l’a pris aujourd’hui. OuverteArch: arm Area: Networking OS: Linux Type: Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour
-
area: docs eco: cpp good first issue help wanted lane: free-agent roadmap size: XS type: docs
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
arminazimi/evergreen#475 ·
Les mainteneurs répondent en général sous 1 jour
-
[Issue]: hipsparselt.h C API as shipped now requires C23 -- ONLY because of missing include or guardOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
ROCm/rocm-libraries#13736 ·
Les mainteneurs répondent en général sous 2 jours
-
libc
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
llvm/llvm-project#232380 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
level/task module/auth/enrollment platform/linux reporter/qa type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour