Commit 87c50149 authored by Yiannis Tsiouris's avatar Yiannis Tsiouris

Change benchmark to match BenchErl's versrion

parent 82041c2d
...@@ -65,15 +65,15 @@ main :: IO () ...@@ -65,15 +65,15 @@ main :: IO ()
main = do main = do
Right t1 <- createTransport "127.0.0.1" "5050" defaultTCPParameters Right t1 <- createTransport "127.0.0.1" "5050" defaultTCPParameters
node1 <- newLocalNode t1 rtable node1 <- newLocalNode t1 rtable
{-
Right t2 <- createTransport "127.0.0.1" "5051" defaultTCPParameters Right t2 <- createTransport "127.0.0.1" "5051" defaultTCPParameters
node2 <- newLocalNode t2 rtable node2 <- newLocalNode t2 rtable
Right t3 <- createTransport "127.0.0.1" "5052" defaultTCPParameters Right t3 <- createTransport "127.0.0.1" "5052" defaultTCPParameters
node3 <- newLocalNode t3 rtable node3 <- newLocalNode t3 rtable
-}
runProcess node1 $ do runProcess node1 $ do
res <- dist gg13 11 2 [localNodeId node1, localNodeId node2, localNodeId node3] res <- par_seq gg1245 2512 32 --[localNodeId node1, localNodeId node2, localNodeId node3]
liftIO $ print res liftIO $ print res
where rtable :: RemoteTable where rtable :: RemoteTable
rtable = MasterWorker.__remoteTable initRemoteTable rtable = MasterWorker.__remoteTable initRemoteTable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment