Files
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
..
2024-01-06 01:15:43 +00:00
2025-04-08 21:32:51 +00:00
2025-05-18 23:49:41 +00:00
2024-11-26 00:39:38 +00:00
2022-08-03 19:42:42 +02:00
2025-04-13 21:51:39 +00:00
2025-04-07 20:34:55 +00:00
2024-10-05 17:32:08 +00:00
2020-05-06 00:11:36 +02:00
2022-11-26 19:53:41 +00:00
2024-11-26 00:39:38 +00:00
2024-11-24 21:28:21 +00:00
2021-06-01 05:49:41 +02:00
2024-01-06 01:15:43 +00:00
2024-11-26 00:39:38 +00:00
2024-10-05 17:32:08 +00:00
2025-04-07 20:34:55 +00:00
2024-11-26 00:39:38 +00:00
2023-05-05 20:51:18 +00:00
2022-08-03 22:33:20 +02:00
2024-08-28 05:53:26 +00:00
2024-04-25 22:25:38 +00:00
2024-12-18 22:17:30 +01:00
2025-04-07 20:34:55 +00:00
2022-06-16 01:07:15 +02:00
2021-09-16 00:28:38 +02:00
2025-05-27 15:33:50 +00:00
2024-12-18 22:17:30 +01:00
2024-10-04 20:56:16 +00:00
2025-01-10 18:24:40 +00:00
2024-09-19 22:04:49 +00:00