Created
February 11, 2016 14:04
-
-
Save johandahlberg/4ee7792e825f51eb8a03 to your computer and use it in GitHub Desktop.
Quick and dirty performance test of proot at Uppmax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Time in container" | |
for i in $(seq 1 5) | |
do | |
/usr/bin/time -f "time: %e" proot -S debian-sid --bind=/proj/a2009002/webexport/opendata/HiSeqX_CEPH/CEP-13-3/03-BAM/ samtools mpileup -r 22:1-23096112 /proj/a2009002/webexport/opendata/HiSeqX_CEPH/CEP-13-3/03-BAM/CEP-13-3.clean.dedup.recal.bam 2>&1 > test.pileup | grep time | |
done | |
echo "Time outside container" | |
for i in $(seq 1 5) | |
do | |
/usr/bin/time -f "time: %e" samtools mpileup -r 22:1-23096112 /proj/a2009002/webexport/opendata/HiSeqX_CEPH/CEP-13-3/03-BAM/CEP-13-3.clean.dedup.recal.bam 2>&1 > test.pileup | grep time | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Time in container | |
time: 36.84 | |
time: 38.17 | |
time: 38.46 | |
time: 38.46 | |
time: 40.20 | |
Time outside container | |
time: 31.57 | |
time: 32.23 | |
time: 31.08 | |
time: 30.54 | |
time: 29.56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment