yetone
ce0960b4ab
usage: a first Requests build reads with four workers, not eight
...
A first build of the request rows runs on any upgrade that changes
internal/usage (the cache key hashes its source) and on a first install.
Each prefetchEach worker holds a whole file's calls while it reads, so
eight of them stacked up in the cold peak.
Measured on mote with a copy of the owner's real accounts and history
(HOME ~/r2278/acct, requests-v1.bin removed before each start), five
cold starts of each build alternated, physical footprint peak at 12s
(vmmap):
eight workers: 248.3 259.1 252.1 257.5 276.1 MB (mean 258.6)
four workers: 243.3 230.2 232.6 245.2 246.7 MB (mean 239.6)
Every four-worker run is below every eight-worker run. The build takes
the same time: the gctrace burst ends at 5.0/5.0/5.6/5.0/6.2s against
5.0/4.8/4.9/5.0/6.4s, and CPU in the first 12s is 6.7-7.6s for both.
The cache written is the same size (71,523,711 bytes) for both.
TestPrefetchEachMakeIsAReadersOwn counts four readers' makes now.
Run at this head (rebased on 8fe720453 ), on mote: gofmt -l clean,
go test ./internal/usage ok. go test ./internal/gui: red only in
TestCoreScriptBudget (#6116 ) and TestSettingsSaveKeepsWhatItDoesNotSend
(#6103 ), both red on main at 8fe720453 and filed; this change touches
no GUI file.
Not run: the full ./... suite.
2026-11-11 16:12:43 +08:00
..
2026-10-28 03:17:14 +08:00
2026-11-06 10:07:06 +08:00
2026-10-21 23:21:41 +08:00
2026-10-31 08:31:15 +08:00
2026-11-01 07:06:19 +08:00
2026-11-11 01:26:08 +08:00
2026-10-14 05:43:47 +08:00
2026-10-25 10:53:45 +08:00
2026-10-16 21:59:33 +08:00
2026-11-07 04:03:01 +08:00
2026-11-01 18:19:53 +08:00
2026-10-29 04:44:43 +08:00
2026-11-10 18:01:13 +08:00
2026-10-19 14:34:18 +08:00
2026-10-13 18:17:47 +08:00
2026-11-10 04:44:07 +08:00
2026-10-28 20:43:10 +08:00
2026-10-28 20:43:10 +08:00
2026-10-15 04:21:31 +08:00
2026-10-29 00:14:17 +08:00
2026-10-29 06:30:58 +08:00
2026-10-30 13:42:11 +08:00
2026-10-27 08:04:30 +08:00
2026-10-29 06:30:58 +08:00
2026-11-11 06:10:18 +08:00
2026-10-29 00:57:04 +08:00
2026-10-29 16:11:26 +08:00
2026-10-27 18:37:16 +08:00
2026-10-27 18:37:16 +08:00
2026-10-31 18:57:39 +08:00
2026-11-10 16:45:02 +08:00
2026-10-15 09:36:26 +08:00
2026-11-04 22:45:40 +08:00
2026-10-31 03:13:28 +08:00
2026-11-11 06:56:39 +08:00
2026-11-11 06:56:39 +08:00
2026-10-30 13:42:11 +08:00
2026-10-31 17:29:12 +08:00
2026-10-31 18:57:39 +08:00
2026-10-29 06:21:46 +08:00
2026-11-11 08:51:15 +08:00
2026-10-19 14:34:18 +08:00
2026-10-19 14:34:18 +08:00
2026-10-24 02:48:50 +08:00
2026-11-11 15:09:32 +08:00
2026-10-19 14:34:18 +08:00
2026-11-09 23:56:13 +08:00
2026-10-31 10:24:23 +08:00
2026-11-09 23:56:13 +08:00
2026-10-31 03:13:28 +08:00
2026-11-08 00:12:29 +08:00
2026-11-10 16:45:02 +08:00
2026-10-27 02:25:45 +08:00
2026-11-10 16:28:04 +08:00
2026-10-19 14:34:18 +08:00
2026-10-19 14:34:19 +08:00
2026-11-01 11:19:26 +08:00
2026-11-06 09:57:18 +08:00
2026-11-10 18:01:13 +08:00
2026-10-31 20:48:05 +08:00
2026-11-10 00:36:16 +08:00
2026-10-30 17:10:26 +08:00
2026-10-31 00:28:43 +08:00
2026-11-01 17:57:15 +08:00
2026-11-11 09:04:52 +08:00
2026-11-11 09:32:03 +08:00
2026-10-29 00:09:24 +08:00
2026-10-27 11:24:15 +08:00
2026-11-02 19:08:59 +08:00
2026-11-10 16:45:02 +08:00
2026-10-30 15:00:16 +08:00
2026-11-09 19:58:17 +08:00
2026-10-15 05:39:01 +08:00
2026-10-15 05:39:01 +08:00
2026-10-25 15:10:47 +08:00
2026-10-31 03:13:28 +08:00
2026-11-11 10:12:23 +08:00
2026-10-30 20:21:52 +08:00
2026-10-30 23:20:35 +08:00
2026-10-30 15:22:55 +08:00
2026-10-14 15:26:28 +08:00
2026-11-10 02:01:37 +08:00
2026-11-10 02:01:37 +08:00
2026-11-03 05:16:57 +08:00
2026-11-01 22:14:19 +08:00
2026-11-01 22:14:19 +08:00
2026-11-10 12:22:53 +08:00
2026-11-10 12:22:53 +08:00
2026-11-11 16:12:43 +08:00
2026-10-28 09:42:21 +08:00
2026-10-31 10:32:00 +08:00
2026-11-01 22:14:19 +08:00
2026-10-24 23:49:08 +08:00
2026-11-10 03:44:19 +08:00
2026-10-30 13:42:11 +08:00
2026-10-30 13:42:11 +08:00
2026-10-28 11:15:57 +08:00
2026-10-19 14:34:18 +08:00
2026-10-31 13:44:29 +08:00
2026-10-30 06:48:56 +08:00
2026-10-28 21:40:12 +08:00
2026-10-28 21:40:12 +08:00
2026-10-25 05:02:18 +08:00
2026-11-11 10:12:23 +08:00
2026-10-30 15:16:30 +08:00
2026-10-25 16:56:02 +08:00
2026-10-31 00:28:43 +08:00
2026-10-25 16:56:02 +08:00
2026-10-31 12:34:40 +08:00
2026-10-31 12:34:40 +08:00
2026-11-01 18:10:04 +08:00
2026-10-30 23:20:35 +08:00
2026-11-11 16:12:43 +08:00
2026-10-31 03:13:28 +08:00
2026-10-31 10:24:23 +08:00
2026-11-06 11:46:25 +08:00
2026-10-25 16:56:02 +08:00
2026-10-25 03:11:41 +08:00
2026-10-21 23:21:41 +08:00
2026-10-19 14:34:18 +08:00
2026-11-09 23:56:13 +08:00
2026-11-01 18:10:04 +08:00
2026-11-05 23:57:33 +08:00
2026-11-01 02:29:59 +08:00
2026-11-10 07:37:34 +08:00
2026-11-01 07:06:19 +08:00
2026-10-28 03:17:14 +08:00
2026-10-24 17:07:35 +08:00
2026-11-07 00:22:13 +08:00
2026-10-27 18:54:31 +08:00
2026-11-02 19:26:26 +08:00
2026-11-10 12:54:39 +08:00
2026-10-31 23:35:27 +08:00
2026-10-21 09:41:29 +08:00
2026-10-21 09:41:29 +08:00
2026-11-07 21:47:58 +08:00
2026-11-06 09:17:10 +08:00
2026-11-10 04:44:07 +08:00
2026-11-03 17:01:51 +08:00
2026-11-03 17:01:51 +08:00
2026-11-11 10:12:23 +08:00
2026-11-11 10:12:23 +08:00
2026-11-03 15:30:44 +08:00
2026-11-08 02:54:25 +08:00
2026-10-21 23:21:41 +08:00
2026-10-21 23:21:41 +08:00
2026-11-11 05:54:17 +08:00
2026-10-29 06:04:22 +08:00
2026-10-29 06:04:22 +08:00
2026-10-25 03:31:55 +08:00
2026-10-24 02:48:50 +08:00
2026-11-10 18:01:13 +08:00
2026-10-30 16:05:58 +08:00
2026-11-10 16:28:04 +08:00
2026-10-19 14:34:18 +08:00
2026-10-29 06:21:46 +08:00
2026-10-29 06:21:46 +08:00
2026-10-19 14:34:19 +08:00
2026-11-11 13:00:54 +08:00
2026-11-01 18:33:53 +08:00
2026-10-15 23:08:00 +08:00
2026-11-05 23:57:33 +08:00
2026-11-10 18:01:13 +08:00
2026-11-10 18:01:13 +08:00
2026-10-23 10:54:27 +08:00
2026-10-23 10:54:27 +08:00