TL;DR: if presto WiFi is bad try network.WLAN(network.STA_IF).config(pm=network.WLAN.PM_NONE) after the connect statement.
I’ve been building something with Presto and suffering from significant crankiness of the WiFi. In particular, it periodically downloads 30 to 35 files in succession each somewhere between 7kB and 35kB and it occasionally serves a 450kB file via http. The upload was sometimes hanging bad enough that I got bored and gave up. The 30kB files typically took something between 3 and 12 seconds each (from a remote web server that consistently delivers the same file to a pi in under a second). Just occasionally a single file of the batch would appear in under a second. Particularly oddly the time to download a given file was apparently random - in testing the identical file might take 12 seconds one time and 0.6 the next.
The 30 file batch download and write to SD card was routinely over 5 minutes and I never noticed a sub-three-minute run.
After many false paths and dead ends, with much tearing of hair and gnashing of teeth, I added import network and then immediately after the presto.connect() statement
network.WLAN(network.STA_IF).config(pm=network.WLAN.PM_NONE)
Hurrah! All files are now regularly under 1 second each for the actual download and a full 35 file batch download and write completes in under a minute pretty much every time.
I believe this incantation has disabled entirely WiFi power management.
Posting in case that helps someone keep their hair and teeth.