fieldupdate fix-forward: tsc +0.62% instructions (polymorphic property RMW slow path)

Chiusa
#12,472 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust, typescript

Direzione di ricerca

Read the property-update PR (perf/fieldupdate) and the secret-tests scratchpad at codex-small/last-fieldupdate3.md; inspect the js_property_rmw slow path and the tsc instruction-count measurements. First make the polymorphic RMW path no more expensive than the old by-name get, numeric step, and put, then attribute the remaining roughly 60M instructions per function. Done when the benchmark regression is explained and the slow path meets that comparison.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

After the property-update PR (perf/fieldupdate), tsc runs +0.62% instructions:u (13.506G → 13.590G; trial spread ≤0.006%). About 20M of the 84M is attributed to the new polymorphic RMW slow path (js_property_rmw). The other ~60M is spread thin and not attributed. Fix-forward: make the polymorphic RMW slow path no more expensive than the old by-name get + numeric step + put, and attribute the remainder per function. Evidence: secret-tests scratchpad codex-small/last-fieldupdate3.md.

Lingua principale
Rust
Stelle
4.9k
Fork
166
Merge medio
3h 46m
PR unite (30g)
891

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PerryTS/perry

Tutte le issue di PerryTS/perry

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.