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
7aaa8847
Commit
7aaa8847
authored
Jan 09, 2015
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add make options for memory profiling and update README to reflect those additions
parent
7501394e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
1 deletion
+42
-1
.gitignore
.gitignore
+5
-0
Makefile
Makefile
+9
-1
README.md
README.md
+28
-0
No files found.
.gitignore
View file @
7aaa8847
...
@@ -4,5 +4,10 @@
...
@@ -4,5 +4,10 @@
*.hi
*.hi
*.dyn_o
*.dyn_o
*.dyn_hi
*.dyn_hi
*.p_o
*.aux
*.hp
*.prof
*.ps
orbit
orbit
OrbitTests
OrbitTests
Makefile
View file @
7aaa8847
...
@@ -8,8 +8,16 @@ orbit: FORCE
...
@@ -8,8 +8,16 @@ orbit: FORCE
tests
:
tests
:
ghc
$(COMPILE_OPTS)
Tests.hs
-o
OrbitTests
ghc
$(COMPILE_OPTS)
Tests.hs
-o
OrbitTests
prof
:
distclean
ghc
$(COMPILE_OPTS)
--make
Bench.hs
-main-is
Bench
-o
orbit
&&
\
ghc
$(COMPILE_OPTS)
--make
Bench.hs
-main-is
Bench
-o
orbit
-prof
-osuf
p_o
prof-results
:
hp2ps
-e8in
-c
orbit
&&
\
echo
"The memory profiling graph is in orbit.ps"
clean
:
clean
:
$(RM)
*
.swp
*
~
*
.hi
*
.o
*
.dyn_hi
*
.dyn_o
$(RM)
*
.swp
*
~
*
.hi
*
.o
*
.dyn_hi
*
.dyn_o
*
.p_o
*
.aux
*
.hp
*
.prof
distclean
:
clean
distclean
:
clean
$(RM)
orbit OrbitTests
$(RM)
orbit OrbitTests
README.md
View file @
7aaa8847
...
@@ -15,6 +15,34 @@ Required Haskell packages
...
@@ -15,6 +15,34 @@ Required Haskell packages
-
[
network-transport-tcp
](
https://hackage.haskell.org/package/network-transport-tcp
)
-
[
network-transport-tcp
](
https://hackage.haskell.org/package/network-transport-tcp
)
-
[
distributed-process-simplelocalnet
](
https://hackage.haskell.org/package/distributed-process-simplelocalnet
)
-
[
distributed-process-simplelocalnet
](
https://hackage.haskell.org/package/distributed-process-simplelocalnet
)
Execution
---------
-
Sequential Orbit
```bash
./orbit seq short|intermediate|long host port
# Example: executing the 'long' benchmark
./orbit seq long 127.0.0.1 1555
```
Memory Profiling
----------------
-
Compile with enabled profiling
```bash
make prof
```
-
Run the proper RTS options
```bash
# Example: executing the 'long' benchmark
./orbit +RTS -hd -p -RTS seq long 127.0.0.1 1555
```
-
Prepare the report
```bash
make prof-results
```
Credits
Credits
-------
-------
...
...
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