copyparty/scripts
ed e3e51fb83a mitigate google-chrome slow hashing
file hashing became drastically slower in recent chrome versions;

* 748 MiB/s in 131.0.6778.86
* 747 MiB/s in 132.0.6834.160
* 485 MiB/s in 133.0.6943.60
* 319 MiB/s in 134.0.6998.36

the silver lining: it looks like chrome-bug 1352210 is improving
(crypto.subtle, the native hasher, now scales with multiple cores)

* 133.0.6943.60: speed peaked at 2 threads; 341 MiB/s, 485 MiB/s
* 134.0.6998.36: peak at 7; 193, 383, 383, 408, 421, 431, 438, 438
* 137.0.7151.41: peak at 8; 210, 382, 445, 513, 573, 573, 585, 598
   MiB/s when hashing with 1, 2, ..., 7, 8 webworkers respectively
   on a ryzen7-5800x with 2x16g 2133mhz ram

characteristics of versions between v134 and v137 are unknown
(cannot find old official builds to test), but v137 is a good
cutoff for minimizing risk of hitting chrome-bugs

meanwhile, hash-wasm scales linearly up to 8 cores;
0=328 1=377 2=738 3=947 4=1090 5=1190 6=1380 7=1530 8=1810
(0 = wasm on mainthread, no webworkers)

but it looks like chrome-bug 383568268 is making a return,
so keep the limit of max 4 threads if machine has more than
4 cores (and numCores-1 otherwise)
2025-05-27 15:33:50 +00:00
..
bench misc; 2024-01-06 01:15:43 +00:00
deps-docker v1.16.19 2025-04-08 21:32:51 +00:00
docker docker: fix i386 builds 2025-05-18 23:49:41 +00:00
lics vendor foss licenses 2024-11-26 00:39:38 +00:00
py2/queue add missing polyfill 2022-08-03 19:42:42 +02:00
pyinstaller v1.16.20 2025-04-13 21:51:39 +00:00
strip_hints speedgolf 2025-04-07 20:34:55 +00:00
test pkgres: fix multiprocessing 2024-10-05 17:32:08 +00:00
copyparty-android.sh misc 2020-05-06 00:11:36 +02:00
copyparty-repack.sh rename up2k.py (client) to u2c.py 2023-05-07 15:35:56 +00:00
fusefuzz.py rename copyparty-fuse to partyfuse 2022-11-26 19:53:41 +00:00
genlic.py vendor foss licenses 2024-11-26 00:39:38 +00:00
help2html.py versus: seafile fix, filebrowser fork 2025-01-13 22:30:46 +00:00
help2txt.sh improve helptext exporters 2024-11-24 21:28:21 +00:00
install-githooks.sh run tests on commit 2021-06-01 05:49:41 +02:00
logpack.sh misc; 2024-01-06 01:15:43 +00:00
make-pypi-release.sh vendor foss licenses 2024-11-26 00:39:38 +00:00
make-pyz.sh pkgres: fix multiprocessing 2024-10-05 17:32:08 +00:00
make-sfx.sh speedgolf 2025-04-07 20:34:55 +00:00
make-tgz-release.sh vendor foss licenses 2024-11-26 00:39:38 +00:00
prep.sh adapt to new archpkg layout 2023-05-05 20:51:18 +00:00
profile.py tag-scanner perf 2022-08-03 22:33:20 +02:00
rls.sh sfx-customizer: 2024-08-28 05:53:26 +00:00
run-tests.sh fix tests on windows 2024-04-25 22:25:38 +00:00
sfx.ls list recent uploads 2024-12-18 22:17:30 +01:00
sfx.py speedgolf 2025-04-07 20:34:55 +00:00
sfx.sh add types, isort, errorhandling 2022-06-16 01:07:15 +02:00
speedtest-fs.py more python3 shebangs 2021-09-16 00:28:38 +02:00
tl.js mitigate google-chrome slow hashing 2025-05-27 15:33:50 +00:00
tl.py list recent uploads 2024-12-18 22:17:30 +01:00
tlcheck.sh small fixes; 2024-10-04 20:56:16 +00:00
toc.sh add chunksize cheat-sheet 2025-01-10 18:24:40 +00:00
uncomment.py scripts/uncomment: python 3.12 support; 2024-08-12 19:55:17 +00:00
ziploader.py pkgres: 2024-09-19 22:04:49 +00:00