mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Improve benchmark
This commit is contained in:
1 parent
f7e659d293
commit
f77838caca
1 file changed
+6
-2
@@ -60,8 +60,8 @@ class ParquetManifestCreation(object):
|
||||
class ParquetWriteBinary(object):
|
||||
|
||||
def setup(self):
|
||||
nuniques = 1000
|
||||
value_size = 10
|
||||
nuniques = 100000
|
||||
value_size = 50
|
||||
length = 1000000
|
||||
num_cols = 10
|
||||
|
||||
@@ -76,6 +76,10 @@ class ParquetWriteBinary(object):
|
||||
out = pa.BufferOutputStream()
|
||||
pq.write_table(self.table, out)
|
||||
|
||||
def time_write_binary_table_uncompressed(self):
|
||||
out = pa.BufferOutputStream()
|
||||
pq.write_table(self.table, out, compression='none')
|
||||
|
||||
def time_write_binary_table_no_dictionary(self):
|
||||
out = pa.BufferOutputStream()
|
||||
pq.write_table(self.table, out, use_dictionary=False)
|
||||
|
||||
Reference in new issue
Block a user