Benchmark to test dispatch using a string msg

This approximates what happens with dispatches to request handlers in
an HTTP server.