From 93261d1c157e50f1ed2bbc14cf68f2822553b69c Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sun, 4 Oct 2026 10:31:09 +0100 Subject: Measure how long an app changing module cannot answer, against a host restart (030) An app of a million items (a list grown by doubling) or of a thousand, in a host of apps, its store in RAM: the longest gap between two answered writes while it changes module on SIGHUP (stopped and started again from its store, 71e319b), and while the host is restarted. A thousand items: 1.59 ms against 3.05 (median of 20 and 10). A million: 150.64 ms against 149.73 (10 and 5): both are the store read again (pure_app_start, 142 ms), so changing does not answer sooner than restarting. --- .../2026-10-04-window-stop-start-1000000.jsonl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl (limited to 'research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl') diff --git a/research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl b/research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl new file mode 100644 index 0000000..03e5ee2 --- /dev/null +++ b/research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl @@ -0,0 +1,16 @@ +{"items": 1048576, "way": "changed", "gap_ms": 150.55, "reading_ms": 150.51} +{"items": 1048576, "way": "changed", "gap_ms": 151.01, "reading_ms": 151.01} +{"items": 1048576, "way": "changed", "gap_ms": 150.65, "reading_ms": 150.67} +{"items": 1048576, "way": "changed", "gap_ms": 149.57, "reading_ms": 149.55} +{"items": 1048576, "way": "changed", "gap_ms": 150.7, "reading_ms": 150.72} +{"items": 1048576, "way": "changed", "gap_ms": 151.16, "reading_ms": 151.22} +{"items": 1048576, "way": "changed", "gap_ms": 150.62, "reading_ms": 150.66} +{"items": 1048576, "way": "changed", "gap_ms": 150.63, "reading_ms": 150.6} +{"items": 1048576, "way": "changed", "gap_ms": 150.93, "reading_ms": 150.95} +{"items": 1048576, "way": "changed", "gap_ms": 150.11, "reading_ms": 150.11} +{"items": 1048576, "way": "restarted", "gap_ms": 149.9} +{"items": 1048576, "way": "restarted", "gap_ms": 148.92} +{"items": 1048576, "way": "restarted", "gap_ms": 149.04} +{"items": 1048576, "way": "restarted", "gap_ms": 149.73} +{"items": 1048576, "way": "restarted", "gap_ms": 150.4} +{"items": 1048576, "changed_median_ms": 150.64, "restarted_median_ms": 149.73, "refused": 18720, "answered": 33810} -- cgit v1.2.3