rest) {
        if ((this.metricLatencyMs === undefined) ||
            (this.metricLatencyMs < 100)) {
          this.updateContents_();
        } else {
          this.recomputeButton_.style.background = 'red';
        }
      }
    },

    async updateContents_() {
      Polymer.dom(this.$.error).textContent = '';
      this.$.results.style.display = 'none';

      if (!this.model_) {
        Polymer.dom(this.$.error).textContent = 'Missing model';
        return;
      }

      const options = {metrics: