'use strict' const self = (global || root) // eslint-disable-line self.performance = { now: function () { var hrtime = process.hrtime() return ((hrtime[0] * 1000000 + hrtime[1] / 1000) / 1000) } } function generateGrid (rowCount, columnCount) { var grid = [] for (var r = 0; r < rowCount; r++) { var row = { id: r, items: [] } for (var c = 0; c < columnCount; c++) { row.items.push({ id: (r + '-' + c) }) } grid.push(row) } return grid } const gridData = generateGrid(1000, 10) module.exports = { template: '
123 | {{ item.id }} |
---|