Changeset f15fe0a for Jenkinsfile


Ignore:
Timestamp:
Apr 18, 2019, 11:52:27 AM (5 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d4510ea
Parents:
b0ccd1c
Message:

Jenkins benchmarks updated to use plot plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rb0ccd1c rf15fe0a  
    153153                dir (BuildDir) {
    154154                        //Append bench results
    155                         sh "${SrcDir}/benchmark/jenkins.sh ${Settings.GitNewRef} ${Settings.Architecture} ${BuildDir}/bench.json"
     155                        sh "make --no-print-directory -C benchmark jenkins"
    156156                }
    157157        }
     
    177177
    178178                if( !Settings.Publish ) return
     179                if( !Settings.RunBenchmark ) {
     180                        echo 'No results to publish!!!'
     181                        return
     182                }
    179183
    180184                //Then publish the results
    181                 sh 'curl --silent --show-error -H \'Content-Type: application/json\' --data @${BuildDir}/bench.json https://cforall.uwaterloo.ca:8082/jenkins/publish > /dev/null || true'
     185                plot csvFileName: "cforall-${env.BRANCH_NAME}-compilation.csv",
     186                        csvSeries: [[file: "${BuildDir}/benchmark/compile.csv"]],
     187                        group: 'Compilation',
     188                        title: 'Compilation',
     189                        style: 'line'
     190
     191                plot csvFileName: 'cforall-${env.BRANCH_NAME}-ctxswitch.csv',
     192                        csvSeries: [[file: "${BuildDir}/benchmark/ctxswitch.csv"]],
     193                        group: 'Concurrency',
     194                        title: 'Context Switching',
     195                        style: 'line'
     196
     197                plot csvFileName: 'cforall-${env.BRANCH_NAME}-mutex.csv',
     198                        csvSeries: [[file: "${BuildDir}/benchmark/mutex.csv"]],
     199                        group: 'Concurrency',
     200                        title: 'Mutual Exclusion',
     201                        style: 'line'
     202
     203                plot csvFileName: 'cforall-${env.BRANCH_NAME}-signal.csv',
     204                        csvSeries: [[file: "${BuildDir}/benchmark/signal.csv"]],
     205                        group: 'Concurrency',
     206                        title: 'Internal and External Scheduling',
     207                        style: 'line'
    182208        }
    183209}
Note: See TracChangeset for help on using the changeset viewer.