Permalink
Browse files

Fix Mb/s computation in local_thr perf test

  • Loading branch information...
1 parent 364d1d9 commit acee73025447f3b72dbc7bff90f495b7ac720b82 @evax evax committed Feb 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 perf/local_thr.erl
View
@@ -13,7 +13,7 @@ main([BindTo,MessageSizeStr,MessageCountStr]) ->
end,[]),
Throughput = MessageCount / Elapsed * 1000000,
- Megabits = Throughput * MessageSize * 8,
+ Megabits = Throughput * MessageSize * 8 / 1000000,
io:format("message size: ~p [B]~n"
"message count: ~p~n"

0 comments on commit acee730

Please sign in to comment.