code: public void addPerformance(Performance performance, int folds) {
  
      m_Performances.add(performance);
      m_Cache.add(folds, performance);
      m_Trace.add(new AbstractMap.SimpleEntry<Integer, Performance>(folds, performance));
    }
docs: Adds the performance to the cache and the current list of performances.
  
  @param performance	the performance to add
  @param folds	the number of folds