Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,712
Issues
1,712
List
Boards
Labels
Service Desk
Milestones
Merge Requests
87
Merge Requests
87
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
d36b4ad2
Commit
d36b4ad2
authored
Apr 30, 2020
by
Mikaël Salson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitlab-ci: Add job to provide CPU/Memory profiling
Fix
#918
parent
dc338034
Pipeline
#146591
passed with stages
in 72 minutes and 55 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
algo/.gitlab-ci.yml
algo/.gitlab-ci.yml
+28
-0
No files found.
.gitlab-ci.yml
View file @
d36b4ad2
...
...
@@ -56,6 +56,7 @@ test_germlines:
include
:
-
local
:
'
/doc/.gitlab-ci.yml'
-
local
:
'
algo/.gitlab-ci-compilers.yml'
# Stage multiple_tests
-
local
:
'
algo/.gitlab-ci.yml'
# Vidjil-algo pipelines
# Algorithm
...
...
algo/.gitlab-ci.yml
0 → 100644
View file @
d36b4ad2
profiling_algo
:
stage
:
benchmark
image
:
gcc:9
before_script
:
-
apt-get update
-
apt-get install -y wget python3 tar libgoogle-perftools4 libgoogle-perftools-dev google-perftools graphviz
script
:
-
make demo data germline
-
make DEBUG="-g"
-
LIB_PROFILE=$(find /usr/lib -name libprofiler.so)
-
CPUPROFILE=vidjil.cpu LD_PRELOAD="$LIB_PROFILE" ./vidjil-algo -g germline -r 1 demo/LIL-L4.fastq.gz
-
LIB_MALLOC=$(find /usr/lib -name libtcmalloc.so)
-
HEAPPROFILE=vidjil.mem LD_PRELOAD="$LIB_MALLOC" ./vidjil-algo -g germline -r 1 demo/LIL-L4.fastq.gz
-
google-pprof --lines --text vidjil-algo vidjil.cpu
-
echo "###########################################"
-
google-pprof --lines --text vidjil-algo vidjil.mem.*
-
google-pprof --lines --pdf vidjil-algo vidjil.cpu > vidjil-cpu.pdf
-
google-pprof --lines --pdf vidjil-algo vidjil.mem.* > vidjil-mem.pdf
artifacts
:
paths
:
-
vidjil-*.pdf
-
vidjil.cpu
-
vidjil.mem.*
when
:
manual
tags
:
-
cidocker
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