 }
 
 
+/// Play games at random to see
+///
+/// Note: this benchmark is dominated by the overheads of random number generation
+/// and constructing collection manipulations (specifically around chance nodes, as
+/// there are a lot more cards than player actions, so these tend to dominate the
+/// runtime).
 func playRandomGame() {
   let game = TexasHoldem(playerCount: 2)
   var state = game.initialState

  }
}

print("About to start playing random games...")
time("Random 2-player Texas Hold'em games", playRandomGame)
print("Done!")

/// This file executes repeated random play over the Texas Hold'em game.
///
/// It is used for profiling and benchmarking purposes.
///
/// On saeta@'s desktop machine, performance numbers are as follows (be sure to
/// build with optimizations on!):
///   - Random games: 115 +/- 51 usec per game
///   - Fixed games:  8.4 +/- 0.5 usec per game

import Dispatch
import Foundation
