Implement groupBy with for() and measure performance

about 8 times faster
This commit is contained in:
Alexander Zobnin
2017-06-25 22:51:27 +03:00
parent da6373bda7
commit 2f6da44311
11 changed files with 236 additions and 38 deletions

View File

@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var downsampleSeries = _timeseries2.default.downsample;
var groupBy = _timeseries2.default.groupBy;
var groupBy = _timeseries2.default.groupBy_perf;
var sumSeries = _timeseries2.default.sumSeries;
var delta = _timeseries2.default.delta;
var scale = function scale(factor, datapoints) {