performance test with storing messages, sends 2 messages if possible