Not fast enough for electronics.
Get an APC or Cyberpower UPS battery backup. Preferable with AVR (auyomatic voltage regulation). Spec it based on needs (wattage) and how long you want it on (run time).
For just network stuff, that shouldn't take up much poweraand something under $100 should...