Skip to content

Commit

Permalink
no need to import if we will use defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
esc committed Apr 15, 2014
1 parent b261674 commit 0d5c854
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bench/compression_time_vs_chunk_size.py
Expand Up @@ -15,11 +15,9 @@

import bloscpack.testutil as bpt
from bloscpack.sysutil import drop_caches, sync
from bloscpack.args import BloscArgs
from bloscpack import pack_file, unpack_file
from bloscpack.pretty import pretty_size

blosc_args = BloscArgs()

with bpt.create_tmp_files() as (tdir, in_file, out_file, dcmp_file):

Expand All @@ -33,8 +31,7 @@
for _ in range(repeats):
drop_caches()
tic = time.time()
pack_file(in_file, out_file, chunk_size=chunk_size,
blosc_args=blosc_args)
pack_file(in_file, out_file, chunk_size=chunk_size)
sync()
toc = time.time()
cmp_times.append(toc-tic)
Expand Down

0 comments on commit 0d5c854

Please sign in to comment.