MCPcopy
hub / github.com/exceljs/exceljs / addRow

Function addRow

test/testBigBookOut.js:88–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86let iCount = 0;
87
88function addRow() {
89 sw.start();
90 const row = ws.addRow({
91 key: iCount,
92 name: utils.randomName(5),
93 age: utils.randomNum(100),
94 addr1: utils.randomName(16),
95 addr2: utils.randomName(10),
96 num1: utils.randomNum(10000),
97 num2: utils.randomNum(100000),
98 num3: utils.randomNum(1000000),
99 date: new Date(today + (iCount * 86400000)),
100 num4: utils.randomNum(1000),
101 });
102 const lap = sw.span;
103 colCount.add(row);
104 row.commit();
105 const end = sw.span;
106
107 t1 += lap;
108 t2 += end - lap;
109}
110
111function scheduleRow(callback) {
112 if (iCount++ < count) {

Callers 1

scheduleRowFunction · 0.85

Calls 3

addRowMethod · 0.65
addMethod · 0.65
commitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…