summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUENISHI Kota <kuenishi+github@gmail.com>2010-07-08 23:39:47 +0900
committerUENISHI Kota <kuenishi+github@gmail.com>2010-07-08 23:39:47 +0900
commit485915c27a3ddf12e4ba4c9c0e27769869bb945c (patch)
tree72e91723424b6a9c3b6e0508f9b1a78ced76afcf
parent45fb482ab42c7f47bf65313ade6808d0cfe3bca5 (diff)
downloadmsgpack-python-485915c27a3ddf12e4ba4c9c0e27769869bb945c.tar.gz
erlang: added simple performance test description.
-rw-r--r--erlang/msgpack.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/erlang/msgpack.erl b/erlang/msgpack.erl
index ee99311..94fed86 100644
--- a/erlang/msgpack.erl
+++ b/erlang/msgpack.erl
@@ -362,6 +362,7 @@ other_test()->
benchmark_test()->
Data=[test_data() || _ <- lists:seq(0, 10000)],
S=?debugTime(" serialize", msgpack:pack(Data)),
- {Data,<<>>}=?debugTime("deserialize", msgpack:unpack(S)).
+ {Data,<<>>}=?debugTime("deserialize", msgpack:unpack(S)),
+ ?debugFmt("for ~p KB test data.", [byte_size(S) div 1024]).
-endif.