Skip to content

Instantly share code, notes, and snippets.

@joshpeterson
Created April 21, 2013 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshpeterson/5429267 to your computer and use it in GitHub Desktop.
Save joshpeterson/5429267 to your computer and use it in GitHub Desktop.
Test the scalability of C++ and Clojure Nash solution implementations.
@echo off
set size=6
for /l %%i in (1,1,12) do call :profile %%i
:profile
if "%1"=="" goto :end
echo.
echo Nash with %1 threads
echo.
for /l %%j in (1,1,5) do call :nash %1
goto :end
:nash
rem
rem Use this line for C++ implementation
rem
rem Nash -r %size% -c %size% -t %1 -m "Nash Characterization Parallel"
rem
rem Use this line for Clojure implementation
rem
rem call lein run -r %size% -c %size% -t %1
goto :end
:end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment