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,696
Issues
1,696
List
Boards
Labels
Service Desk
Milestones
Merge Requests
89
Merge Requests
89
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
131363ed
Commit
131363ed
authored
May 20, 2020
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-a/918-profiling' into 'dev'
profiling c++ Closes
#918
See merge request
!686
parents
ee695c5d
d36b4ad2
Pipeline
#146660
failed with stages
in 1 minute and 19 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
6 deletions
+37
-6
.gitlab-ci.yml
.gitlab-ci.yml
+2
-3
algo/.gitlab-ci-compilers.yml
algo/.gitlab-ci-compilers.yml
+7
-3
algo/.gitlab-ci.yml
algo/.gitlab-ci.yml
+28
-0
No files found.
.gitlab-ci.yml
View file @
131363ed
...
...
@@ -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
...
...
@@ -372,9 +373,7 @@ ff45-server-functional:
benchmark_algo
:
image
:
gcc:6.3
before_script
:
-
apt-get update
-
apt-get install -y time valgrind python3 wget tar
extends
:
.install-algo-dependencies
stage
:
benchmark
script
:
-
cd algo/tests ; python3 benchmark-releases.py -r 3 -bIc
...
...
algo/.gitlab-ci-compilers.yml
View file @
131363ed
.install-algo-dependencies
:
before_script
:
-
apt-get update
-
apt-get install -y time valgrind python3 wget tar
.testing-compilers
:
extends
:
.install-algo-dependencies
stage
:
multiple_tests
tags
:
-
cidocker
before_script
:
-
apt-get update
-
apt-get install -y time valgrind python3 wget tar
script
:
-
$CXX --version
-
make demo data germline
...
...
algo/.gitlab-ci.yml
0 → 100644
View file @
131363ed
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