Skip to content

Commit

Permalink
Merge pull request numpy#13181 from qwhelan/bench_savez
Browse files Browse the repository at this point in the history
BENCH, BUG: fix Savez suite, previously was actually calling pickle.dump()
  • Loading branch information
mattip authored Mar 25, 2019
2 parents 03c664f + 289d804 commit 6c75254
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/benchmarks/bench_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def setup(self):
self.squares = get_squares()

def time_vb_savez_squares(self):
np.savez('tmp.npz', self.squares)
np.savez('tmp.npz', **self.squares)


class LoadtxtCSVComments(Benchmark):
# benchmarks for np.loadtxt comment handling
Expand Down

0 comments on commit 6c75254

Please sign in to comment.