microbenchmarks logging to file vs UDP socket vs TCP socket