Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-orbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Katerina Roukounaki
cloud-orbit
Commits
87c50149
Commit
87c50149
authored
Nov 24, 2014
by
Yiannis Tsiouris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change benchmark to match BenchErl's versrion
parent
82041c2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Bench.hs
Bench.hs
+3
-3
No files found.
Bench.hs
View file @
87c50149
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment