@@ -16,158 +16,166 @@ touchstone::benchmark_run(
1616# Types ----------
1717
1818# bool
19- touchstone :: benchmark_run(
20- {
21- library(grumpy )
22- },
23- read_bool = read_npy(" inst/extdata/test_bool.npy" ),
24- n = 100
25- )
26-
27- # float32
28- touchstone :: benchmark_run(
29- {
30- library(grumpy )
31- },
32- read_float32 = read_npy(" inst/extdata/test_float32.npy" ),
33- n = 100
34- )
35-
36- # float64
37- touchstone :: benchmark_run(
38- {
39- library(grumpy )
40- },
41- read_float64 = read_npy(" inst/extdata/test_float64.npy" ),
42- n = 100
43- )
44-
45- # int8
46- touchstone :: benchmark_run(
47- {
48- library(grumpy )
49- },
50- read_int8 = read_npy(" inst/extdata/test_int8.npy" ),
51- n = 100
52- )
53-
54- # int16
55- touchstone :: benchmark_run(
56- {
57- library(grumpy )
58- },
59- read_int16 = read_npy(" inst/extdata/test_int16.npy" ),
60- n = 100
61- )
62-
63- # int32
64- touchstone :: benchmark_run(
65- {
66- library(grumpy )
67- },
68- read_int32 = read_npy(" inst/extdata/test_int32.npy" ),
69- n = 100
70- )
71-
72- # int64
73- touchstone :: benchmark_run(
74- {
75- library(grumpy )
76- },
77- read_int64 = read_npy(" inst/extdata/test_int64_overflowing.npy" ),
78- n = 100
79- )
80-
81- # string
82- touchstone :: benchmark_run(
83- {
84- library(grumpy )
85- },
86- read_string = read_npy(" inst/extdata/test_str_bytes.npy" ),
87- n = 100
88- )
89-
90- # unicode
91- touchstone :: benchmark_run(
92- {
93- library(grumpy )
94- },
95- read_unicode = read_npy(" inst/extdata/test_str_unicode.npy" ),
96- n = 100
97- )
98-
99- # uint8
100- touchstone :: benchmark_run(
101- {
102- library(grumpy )
103- },
104- read_uint8 = read_npy(" inst/extdata/test_uint8.npy" ),
105- n = 100
106- )
107-
108- # uint16
109- touchstone :: benchmark_run(
110- {
111- library(grumpy )
112- },
113- read_uint16 = read_npy(" inst/extdata/test_uint16.npy" ),
114- n = 100
115- )
116-
117- # uint32
118- touchstone :: benchmark_run(
119- {
120- library(grumpy )
121- },
122- read_uint32 = read_npy(" inst/extdata/test_uint32_overflowing.npy" ),
123- n = 100
124- )
125-
126- # uint64
127- touchstone :: benchmark_run(
128- {
129- library(grumpy )
130- },
131- read_uint64 = read_npy(" inst/extdata/test_uint64_overflowing.npy" ),
132- n = 100
133- )
134-
135- # More ----------
136-
137- # npz
138- touchstone :: benchmark_run(
139- {
140- library(grumpy )
141- },
142- read_npz = read_npz(" inst/extdata/test.npz" ),
143- n = 100
144- )
145-
146- # bigendian
147- touchstone :: benchmark_run(
148- {
149- library(grumpy )
150- },
151- read_bigendian = read_npy(" inst/extdata/test_bigendian.npy" ),
152- n = 100
153- )
154-
155- # empty
156- touchstone :: benchmark_run(
157- {
158- library(grumpy )
159- },
160- read_empty = read_npy(" inst/extdata/test_empty.npy" ),
161- n = 100
162- )
163-
164- # structured
165- touchstone :: benchmark_run(
166- {
167- library(grumpy )
168- },
169- read_structured = read_npy(" inst/extdata/test_structured.npy" ),
170- n = 100
171- )
19+ # touchstone::benchmark_run(
20+ # {
21+ # library(grumpy)
22+ # },
23+ # read_bool = read_npy("inst/extdata/test_bool.npy"),
24+ # n = 100
25+ # )
26+
27+ touchstone :: benchmark_run(
28+ {
29+ library(grumpy )
30+ },
31+ read_float16 = read_npy(" inst/extdata/test_float16.npy" ),
32+ n = 100
33+ )
34+
35+ # # float32
36+ # touchstone::benchmark_run(
37+ # {
38+ # library(grumpy)
39+ # },
40+ # read_float32 = read_npy("inst/extdata/test_float32.npy"),
41+ # n = 100
42+ # )
43+
44+ # # float64
45+ # touchstone::benchmark_run(
46+ # {
47+ # library(grumpy)
48+ # },
49+ # read_float64 = read_npy("inst/extdata/test_float64.npy"),
50+ # n = 100
51+ # )
52+
53+ # # int8
54+ # touchstone::benchmark_run(
55+ # {
56+ # library(grumpy)
57+ # },
58+ # read_int8 = read_npy("inst/extdata/test_int8.npy"),
59+ # n = 100
60+ # )
61+
62+ # # int16
63+ # touchstone::benchmark_run(
64+ # {
65+ # library(grumpy)
66+ # },
67+ # read_int16 = read_npy("inst/extdata/test_int16.npy"),
68+ # n = 100
69+ # )
70+
71+ # # int32
72+ # touchstone::benchmark_run(
73+ # {
74+ # library(grumpy)
75+ # },
76+ # read_int32 = read_npy("inst/extdata/test_int32.npy"),
77+ # n = 100
78+ # )
79+
80+ # # int64
81+ # touchstone::benchmark_run(
82+ # {
83+ # library(grumpy)
84+ # },
85+ # read_int64 = read_npy("inst/extdata/test_int64_overflowing.npy"),
86+ # n = 100
87+ # )
88+
89+ # # string
90+ # touchstone::benchmark_run(
91+ # {
92+ # library(grumpy)
93+ # },
94+ # read_string = read_npy("inst/extdata/test_str_bytes.npy"),
95+ # n = 100
96+ # )
97+
98+ # # unicode
99+ # touchstone::benchmark_run(
100+ # {
101+ # library(grumpy)
102+ # },
103+ # read_unicode = read_npy("inst/extdata/test_str_unicode.npy"),
104+ # n = 100
105+ # )
106+
107+ # # uint8
108+ # touchstone::benchmark_run(
109+ # {
110+ # library(grumpy)
111+ # },
112+ # read_uint8 = read_npy("inst/extdata/test_uint8.npy"),
113+ # n = 100
114+ # )
115+
116+ # # uint16
117+ # touchstone::benchmark_run(
118+ # {
119+ # library(grumpy)
120+ # },
121+ # read_uint16 = read_npy("inst/extdata/test_uint16.npy"),
122+ # n = 100
123+ # )
124+
125+ # # uint32
126+ # touchstone::benchmark_run(
127+ # {
128+ # library(grumpy)
129+ # },
130+ # read_uint32 = read_npy("inst/extdata/test_uint32_overflowing.npy"),
131+ # n = 100
132+ # )
133+
134+ # # uint64
135+ # touchstone::benchmark_run(
136+ # {
137+ # library(grumpy)
138+ # },
139+ # read_uint64 = read_npy("inst/extdata/test_uint64_overflowing.npy"),
140+ # n = 100
141+ # )
142+
143+ # # More ----------
144+
145+ # # npz
146+ # touchstone::benchmark_run(
147+ # {
148+ # library(grumpy)
149+ # },
150+ # read_npz = read_npz("inst/extdata/test.npz"),
151+ # n = 100
152+ # )
153+
154+ # # bigendian
155+ # touchstone::benchmark_run(
156+ # {
157+ # library(grumpy)
158+ # },
159+ # read_bigendian = read_npy("inst/extdata/test_bigendian.npy"),
160+ # n = 100
161+ # )
162+
163+ # # empty
164+ # touchstone::benchmark_run(
165+ # {
166+ # library(grumpy)
167+ # },
168+ # read_empty = read_npy("inst/extdata/test_empty.npy"),
169+ # n = 100
170+ # )
171+
172+ # # structured
173+ # touchstone::benchmark_run(
174+ # {
175+ # library(grumpy)
176+ # },
177+ # read_structured = read_npy("inst/extdata/test_structured.npy"),
178+ # n = 100
179+ # )
172180
173181touchstone :: benchmark_analyze()
0 commit comments