Files
copyparty/scripts
ed 98ffaadf52 docker: use less RAM at runtime
compile to bytecode so cpython doesn't have to keep it in memory

ram usage reduced by:
* min: 5.4 MiB (32.6 to 27.2)
* ac/im: 5.2 MiB (39.0 to 33.8)
* dj/iv: 10.6 MiB (67.3 to 56.7)

startup time reduced from:
* min: 1.3s to 0.6s
* ac/im: 1.6s to 0.9s
* dj/iv: 2.0s to 1.1s

image size increased by 4 MiB (min), 6 MiB (ac/im/iv), 9 MiB (dj)

ram usage measured on idle with:
while true; do ps aux | grep -E 'R[S]S|no[-]crt'; read -n1; echo; done

startup time measured with:
time podman run --rm -it localhost/copyparty-min-amd64 --exit=idx
2024-08-02 22:11:23 +00:00
..
2024-01-06 01:15:43 +00:00
2024-07-15 21:16:19 +00:00
2024-08-02 22:11:23 +00:00
2022-08-03 19:42:42 +02:00
2024-06-18 12:01:48 +02:00
2020-05-06 00:11:36 +02:00
2022-11-26 19:53:41 +00:00
2022-11-28 21:38:50 +00:00
2024-07-17 23:06:01 +00:00
2021-06-01 05:49:41 +02:00
2024-01-06 01:15:43 +00:00
2024-02-15 00:00:41 +00:00
2024-04-24 23:45:01 +00:00
2024-06-17 00:09:52 +02:00
2023-05-07 18:34:39 +00:00
2023-05-05 20:51:18 +00:00
2022-08-03 22:33:20 +02:00
2024-04-24 23:45:01 +00:00
2024-04-25 22:25:38 +00:00
2022-06-16 01:07:15 +02:00
2021-09-16 00:28:38 +02:00
2023-06-25 21:50:33 +00:00