Created
April 28, 2015 01:22
-
-
Save jairojunior/071a5256abeb1d39e54a to your computer and use it in GitHub Desktop.
archive benchmark
This file contains hidden or 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
| #HTTP checksum 12s in the second run | |
| archive { '/tmp/hawtio-web-1.4.36.war': | |
| ensure => present, | |
| extract => false, | |
| extract_path => '/tmp', | |
| source => 'https://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war&r=releases', | |
| checksum_url => 'http://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war.md5&r=releases', | |
| checksum_type => 'md5', | |
| } | |
| #HTTPS checksum 6s in the second run | |
| archive { '/tmp/hawtio-web-1.4.36.war': | |
| ensure => present, | |
| extract => false, | |
| extract_path => '/tmp', | |
| source => 'https://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war&r=releases', | |
| checksum_url => 'https://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war.md5&r=releases', | |
| checksum_type => 'md5', | |
| } | |
| #Hardcoded checksum 0.4s | |
| archive { '/tmp/hawtio-web-1.4.36.war': | |
| ensure => present, | |
| extract => false, | |
| extract_path => '/tmp', | |
| source => 'https://oss.sonatype.org/service/local/artifact/maven/content?g=io.hawt&a=hawtio-web&v=1.4.36&p=war&r=releases', | |
| checksum => 'ee9bb866260ff1ce7ae55f71e7de4f70', | |
| checksum_type => 'md5', | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment