I put 64 file tools and an open-weight AI model in a browser tab. Nothing gets uploaded.
Описание и применение
На Android Fizzdoc долго обрабатывал PDF из‑за частых чтений файла qpdf; решение – читать файл полностью в память до 128 МБ, что ускорило работу до мгновенной.
Задача
On Android phones, Fizzdoc’s PDF split tool took six minutes due to many small file reads by qpdf, causing poor performance.
Результат
Performance on Android improved from six minutes to near‑instant split, matching laptop speed for small files, while maintaining privacy guarantees.
Рабочий процесс
- Open Fizzdoc on Android
- Select PDF file
- Choose split tool
- qpdf reads file in many small chunks via WORKERFS
- Performance suffers
- Implement copy‑up‑to‑128‑MB logic
- Read file once into memory
- qpdf processes file
- Download result
Доказательства
On a laptop the same kind of job took about a second.
What I didn’t know: qpdf doesn’t ask for a few big pieces. It asks for lots and lots of tiny ones.
On a 10 MB, 28-page test PDF, I counted 1,448 separate reads
Same test file: 1,448 reads became zero, and even on my laptop the split went from 1.4 s to 0.25 s.
- Дата записи: 2026-10-02T04:40:52.051Z