summaryrefslogtreecommitdiffstats
path: root/samples/unixbench.yaml
blob: 825fd767f968bd123bdf69b0aef633868b8157c1 (plain)
1
2
3
4
5
6

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.h
---
# Sample benchmark task config file
# measure CPU performance
# There is one sample scenario for Dhrystone
# Dhrystone (MIPS) - higher results are better, i.e. better integer performance.

schema: "yardstick:task:0.1"

scenarios:
-
  type: UnixBench
  options:
    run_mode: 'verbose'
    test_type: 'dhry2reg'
  host: Chang'e.demo

  runner:
    type: Iteration
    iterations: 1
    interval: 1

context:
  name: demo
  image: yardstick-trusty-server
  flavor: yardstick-flavor
  user: ubuntu

  servers:
    Chang'e:
      floating_ip: true

  networks:
    test:
      cidr: '10.0.1.0/24'