diff options
| author | UENISHI Kota <kuenishi+github@gmail.com> | 2010-07-08 23:39:47 +0900 |
|---|---|---|
| committer | UENISHI Kota <kuenishi+github@gmail.com> | 2010-07-08 23:39:47 +0900 |
| commit | 485915c27a3ddf12e4ba4c9c0e27769869bb945c (patch) | |
| tree | 72e91723424b6a9c3b6e0508f9b1a78ced76afcf | |
| parent | 45fb482ab42c7f47bf65313ade6808d0cfe3bca5 (diff) | |
| download | msgpack-python-485915c27a3ddf12e4ba4c9c0e27769869bb945c.tar.gz | |
erlang: added simple performance test description.
| -rw-r--r-- | erlang/msgpack.erl | 3 |
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. |
