(self, num_cols)
| 107 | params = [100, 1000, 10000] |
| 108 | |
| 109 | def setup(self, num_cols): |
| 110 | num_rows = self.total_cells // num_cols |
| 111 | self.table = pa.table({'c' + str(i): np.random.randn(num_rows) |
| 112 | for i in range(num_cols)}) |
| 113 | |
| 114 | out = pa.BufferOutputStream() |
| 115 | pq.write_table(self.table, out) |
| 116 | self.buf = out.getvalue() |
| 117 | |
| 118 | def time_write(self, num_cols): |
| 119 | out = pa.BufferOutputStream() |
nothing calls this directly
no test coverage detected