small microbenchmark for pubsub performance