aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-10-04 10:31:09 +0100
committereunhhu <[email protected]>2026-10-04 10:31:09 +0100
commit93261d1c157e50f1ed2bbc14cf68f2822553b69c (patch)
treea7f520cce249cb22425460371a8e73b461aebbd5 /research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl
parent71e319b63edfbe7e0c54f75e4cafa849d9ced28d (diff)
downloadpure-93261d1c157e50f1ed2bbc14cf68f2822553b69c.tar.gz
pure-93261d1c157e50f1ed2bbc14cf68f2822553b69c.zip
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.
Diffstat (limited to 'research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl')
-rw-r--r--research/experiments/030-app-lifecycle/2026-10-04-window-stop-start-1000000.jsonl16
1 files changed, 16 insertions, 0 deletions
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}