mutation updatePerformance(
  $performanceInput: PerformanceIn!
  $apply: Boolean!
) {
  bosminer {
    config {
      updatePerformance(apply: $apply, input: $performanceInput) {
        ... on PerformanceOut {
          __typename
        }
        ... on PerformanceError {
          globalFrequency
          globalVoltage
          message
          hashChains {
            frequency
            voltage
            name
          }
        }
        ... on AttributeError {
          __typename
          message
        }
      }
    }
  }
}
