Skip to content

Commit

Permalink
Format file
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Giaquinta <[email protected]>
  • Loading branch information
exg committed Jan 28, 2024
1 parent f0342dd commit eecd39d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions benchmarks/bench_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
import ormsgpack

DATA_TYPES = {
"int32": numpy.random.randint(
((2**31) - 1), size=(100000, 100), dtype=numpy.int32
),
"int32": numpy.random.randint(((2**31) - 1), size=(100000, 100), dtype=numpy.int32),
"float64": numpy.random.random(size=(50000, 100)),
"npbool": numpy.random.choice((True, False), size=(100000, 200)),
"int8": numpy.random.randint(((2**7) - 1), size=(100000, 100), dtype=numpy.int8),
"uint8": numpy.random.randint(
((2**8) - 1), size=(100000, 100), dtype=numpy.uint8
),
"uint8": numpy.random.randint(((2**8) - 1), size=(100000, 100), dtype=numpy.uint8),
}

PARAMETERS = tuple(DATA_TYPES.keys())
Expand Down

0 comments on commit eecd39d

Please sign in to comment.