cli/files-to-comparison-results.js
function mergeToMap(arrFileObj) {
	return arrFileObj.reduce(function(result, fileObj) {
		var name;
		var libData;
		for (name in fileObj) {
			libData = fileObj[name];
			obj.setObject(result, [libData.suite, libData.browser, libData.name], libData);
		}
		return result;
	}, {});
}
function mergeToMap(arrFileObj) {
	return arrFileObj.reduce(function(result, fileObj) {
		var name;
		var libData;
		for (name in fileObj) {
			libData = fileObj[name];
			obj.setObject(result, [libData.suite, libData.browser, libData.name], libData);
		}
		return result;
	}, {});
}
function mergeToMap ( arrFileObj ) { return arrFileObj . reduce ( function ( result , fileObj ) { var name ; var libData ; for ( name in fileObj ) { libData = fileObj [ name ] ; obj . setObject ( result , [ libData . suite , libData . browser , libData . name ] , libData ) ; } return result ; } , { } ) ; }
Converts the file contents generated by BenchmarkStatsProcessor to a DataSetComparisonResult array.
@param {Array} arrFileObj
@returns {Object}
Converts the file contents generated by BenchmarkStatsProcessor to a DataSetComparisonResult array .