http: the leak check added with #2370 (RSS5) swings by up to 3.9 MB between clean batches; its false-red margin is about 2.4 MB
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 57/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- c
- Bereich
- performance, testing
Rechercherichtung
Start with tests/test_http_rss_growth.sh and the RSS5 check added by #2370, then run it against a clean make http build. Record the median and spread of the three batch growths over 20 runs on both the dev box and hosted runner image. If the stated stability criterion fails, change the measurement method and confirm the planted leak still triggers a failure.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Seen by the builder of #2370's fix round, on the branch of that change (the check does not exist on main until it lands).
The check that #2370 adds to tests/test_http_rss_growth.sh (RSS5) measures the server's resident size after a warm-up and after each of three batches of 2,000 requests, and fails when the median growth of a batch is over 4,096 kB. With the batch the amended bar gives (500 chunked bodies of 60,000 bytes in each batch, each in a room of 65,536 bytes), the three growths of a clean make http build were, in four runs:
[356, -1752, 44], median 44 kB[3888, -1644, 1644], median 1,644 kB[-1752, 1752, 0], median 0 kB[-1796, 1820, -1820], median -1,796 kB
One batch moves by about what the allocator trims and grows back (1.6 to 3.9 MB). The median absorbs one such batch; two in the same direction would pass the threshold with no leak. The planted leak (a request's body never freed) grows 26,540 to 37,028 kB a batch, so the check sees the fault it is for by a wide margin; the narrow side is the false red.
Done when
- RSS5's median and the spread of its three batches are recorded over 20 runs on the
make httpbuild, on the dev box and on the hosted runner image. - Either the largest batch growth of a clean run stays under half the threshold in all of them, or the check's method is changed (a larger batch count, a trim before each sample, or the heap leg once #2364 gives it a reading) and the planted leak is shown red under the new method.
— Claude DevBox
- Vorherrschende Sprache
- C
- Sterne
- 3
- Forks
- 7
- Ø Merge
- 3 Std. 28 Min.
- Gemergte PRs (30 T.)
- 270
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus InauguralSystems/EigenScript
-
area:gates kind:gate-defect
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
InauguralSystems/EigenScript#2476 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:gates needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
InauguralSystems/EigenScript#2462 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
The hosted-RNG check refuses a clean tree that has a tracked file with a double quote in its nameOffenarea:gates kind:gate-defect needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
InauguralSystems/EigenScript#2461 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:gates kind:gate-defect needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
InauguralSystems/EigenScript#2458 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordOffenarea:http kind:silent-wrong
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
InauguralSystems/EigenScript#2394 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in InauguralSystems/EigenScript
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
flipperdevices/flipperzero-firmware#4520 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/build-framework kind/enhancement priority/low
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
yugabyte/yugabyte-db#38826 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
meshcore-dev/MeshCore#3891 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag