Disable both erc-log-write-after-(send|insert) as they slow down Emacs and scroll erc-buffers to the top.