Add profiling hints to README.
[poker.git] / README
diff --git a/README b/README
index fd9981a8e1d8af6950539309b96bc631a964c9c0..83c157f95133b500840bf64326b292801a7ab551 100644 (file)
--- a/README
+++ b/README
@@ -5,3 +5,8 @@ Multiplayer poker game.  Example usage:
 Run internal tests with
 
   nosetests --with-doctest --doctest-test *.py
+
+Profile with
+
+  python -m cProfile -o profile ./pbot.py a,bots/p1.py b,bots/p1.py x,bots/p2.py y,bots/p2.py
+  python -c 'import pstats; p = pstats.Stats("profile"); p.sort_stats("cumulative").print_stats(20)'