From 7d5f49797937b19d3a99838c2c5b09719a151998 Mon Sep 17 00:00:00 2001 From: Ery Lee Date: Mon, 19 Jan 2015 21:38:11 +0800 Subject: [PATCH] performance --- doc/pubsub.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/pubsub.md b/doc/pubsub.md index 298043b62..8978c29e3 100644 --- a/doc/pubsub.md +++ b/doc/pubsub.md @@ -17,3 +17,23 @@ PubQos | SubQos | In Message | Out Message ## Publish +## Performance + +Mac Air(11): + +Function | Time(microseconds) +-------------|-------------------- +match | 6.25086 +triples | 13.86881 +words | 3.41177 +binary:split | 3.03776 + +iMac: + +Function | Time(microseconds) +-------------|-------------------- +match | 3.2348 +triples | 6.93524 +words | 1.89616 +binary:split | 1.65243 +