diff --git a/test-result-summary-client/src/PerfCompare/lib/PerffarmRunJSON.js b/test-result-summary-client/src/PerfCompare/lib/PerffarmRunJSON.js index 07eaa8d7..d554f3c9 100644 --- a/test-result-summary-client/src/PerfCompare/lib/PerffarmRunJSON.js +++ b/test-result-summary-client/src/PerfCompare/lib/PerffarmRunJSON.js @@ -13,15 +13,15 @@ export default class PerffarmRunJSON { let indexOfMean = null; let indexOfCI = null; - // Find the indexes of the variant seperators + // Find the indexes of the variant separators for (let j = 0; j < this.parsedCSV.length; j++) { - // Each variant is seperated by a 1 element array + // Each variant is separated by a 1 element array if (this.parsedCSV[j].length === 1) { variantIndex.push(j); - // The excel file is seperated into two portions, the upper showing the detailed + // The excel file is separated into two portions, the upper showing the detailed // benchmark results (which is needed) and the bottom showing a comparison if any. - // The seperation point is either: + // The separation point is either: // two back to back arrays with length 1 OR // an array of length 1 followed by an array of length 2 if ( @@ -133,11 +133,11 @@ export default class PerffarmRunJSON { curMetricObject = { value: {} }; curMetricObject['name'] = this.parsedCSV[variantIndex[k] + 1][m]; - // Mean is always 6 indices above the next variant seperator + // Mean is always 6 indices above the next variant separator curMetricObject['value']['mean'] = this.parsedCSV[indexOfMean][m]; - // Confidence Interval is always 4 indices above the next variant seperator + // Confidence Interval is always 4 indices above the next variant separator try { curMetricObject['value']['CI'] = this.parsedCSV[indexOfCI][m];