Skip to content

Commit b123f4d

Browse files
committed
computers are faster these days, let's increase bench volumes.
1 parent 9fd3bc8 commit b123f4d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

intelhex/bench.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,11 @@ def get_test_data(n1, offset, n2):
129129
#
130130
return n1+n2, hexstr, ih
131131

132-
def get_base_10K():
133-
"""Base 10K"""
134-
return get_test_data(10000, 0, 0)
132+
def get_base_50K():
133+
return get_test_data(50000, 0, 0)
135134

136-
def get_100K():
137-
return get_test_data(100000, 0, 0)
135+
def get_250K():
136+
return get_test_data(250000, 0, 0)
138137

139138
def get_100K_100K():
140139
return get_test_data(100000, 1000000, 100000)
@@ -151,8 +150,8 @@ class Measure(object):
151150

152151
data_set = [
153152
# (data name, getter)
154-
('base 10K', get_base_10K), # first should be base numbers
155-
('100K', get_100K),
153+
('base 50K', get_base_50K), # first should be base numbers
154+
('250K', get_250K),
156155
('1M', get_1M),
157156
('100K+100K', get_100K_100K),
158157
('0+100K', get_0_100K),

0 commit comments

Comments
 (0)