'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: '

{{ Math.random() }}

', components: { myTable: { data: function () { return { grid: gridData } }, // template: '
123{{ item.id }}
', template: '
', components: { row: { props: ['row'], template: '{{ Math.random() }}', components: { column: { template: '' + // 25 plain elements for each cell '' + '' } } } } } } }