Skip to content

Commit c3c98b4

Browse files
committed
Update x64 linux basic timing benchmarks
1 parent 8245e51 commit c3c98b4

File tree

1 file changed

+89
-89
lines changed

1 file changed

+89
-89
lines changed

doc/decimal/benchmarks.adoc

Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -32,38 +32,38 @@ Run using an Intel i9-11900k chipset running RHEL 9.4 and GCC 11.4.1-3
3232
|===
3333
| Type | Runtime (us) | Ratio to `double`
3434
| `float`
35-
| 35,581
35+
| 34,814
3636
| 0.604
3737
| `double`
38-
| 58,848
38+
| 57,644
3939
| 1.000
4040
| `decimal32`
41-
| 2,410,084
42-
| 40.954
41+
| 2,163,595
42+
| 37.534
4343
| `decimal64`
44-
| 4,233,175
45-
| 71.934
44+
| 2,633,923
45+
| 45.693
4646
| `decimal128`
47-
| 6,337,447
48-
| 107.692
47+
| 6,064,630
48+
| 105.208
4949
| `decimal32_fast`
50-
| 628,241
51-
| 10.676
50+
| 613,626
51+
| 10.645
5252
| `decimal64_fast`
53-
| 724,474
54-
| 12.311
53+
| 693,390
54+
| 12.029
5555
| `decimal128_fast`
56-
| 517,930
57-
| 8.801
56+
| 628,596
57+
| 10.905
5858
| GCC `_Decimal32`
5959
| 893,375
60-
| 15.181
60+
| 15.498
6161
| GCC `_Decimal64`
6262
| 496,127
63-
| 8.431
63+
| 8.607
6464
| GCC `_Decimal128`
6565
| 1,143,636
66-
| 19.434
66+
| 19.840
6767
|===
6868

6969
=== M1 macOS Results
@@ -116,155 +116,155 @@ Run using an Intel i9-11900k chipset running RHEL 9.4 and GCC 11.4.1-3
116116
|===
117117
| Type | Runtime (us) | Ratio to `double`
118118
| `float`
119-
| 54,566
120-
| 1.077
119+
| 55,811
120+
| 1.062
121121
| `double`
122-
| 50,640
122+
| 52,531
123123
| 1.000
124124
| `decimal32`
125-
| 3,639,957
126-
| 71.879
125+
| 2,653,456
126+
| 50.512
127127
| `decimal64`
128-
| 4,172,318
129-
| 82.392
128+
| 3,254,833
129+
| 61.960
130130
| `decimal128`
131-
| 10,936,595
132-
| 215.968
131+
| 10,479,050
132+
| 199.483
133133
| `decimal32_fast`
134-
| 1,148,249
135-
| 22.675
134+
| 1,371,022
135+
| 26.100
136136
| `decimal64_fast`
137-
| 1,149,203
138-
| 22.694
137+
| 1,370,192
138+
| 26.083
139139
| `decimal128_fast`
140-
| 7,424,598
141-
| 146.615
140+
| 7,197,718
141+
| 137.018
142142
| GCC `_Decimal32`
143143
| 2,997,658
144-
| 50.939
144+
| 57.065
145145
| GCC `_Decimal64`
146146
| 2,129,898
147-
| 36.193
147+
| 40.546
148148
| GCC `_Decimal128`
149149
| 3,056,979
150-
| 51.947
150+
| 58.194
151151
|===
152152

153153
==== Subtraction
154154

155155
|===
156156
| Type | Runtime (us) | Ratio to `double`
157157
| `float`
158-
| 48,654
159-
| 0.912
158+
| 53,362
159+
| 1.083
160160
| `double`
161-
| 53,348
161+
| 49,242
162162
| 1.000
163163
| `decimal32`
164-
| 2,850,709
165-
| 53.436
164+
| 2,054,535
165+
| 41.723
166166
| `decimal64`
167-
| 3,493,936
168-
| 65.493
167+
| 2,507,709
168+
| 50.926
169169
| `decimal128`
170-
| 10,492,728
171-
| 196.685
170+
| 5,554,139
171+
| 112.793
172172
| `decimal32_fast`
173-
| 1,012,199
174-
| 18.974
173+
| 1,050,225
174+
| 21.328
175175
| `decimal64_fast`
176-
| 1,055,476
177-
| 19.785
176+
| 1,048,560
177+
| 21.294
178178
| `decimal128_fast`
179-
| 2,114,185
180-
| 39.630
179+
| 2,073,580
180+
| 42.110
181181
| GCC `_Decimal32`
182182
| 2,006,964
183-
| 37.620
183+
| 40.757
184184
| GCC `_Decimal64`
185185
| 1,324,796
186-
| 24.833
186+
| 26.904
187187
| GCC `_Decimal128`
188188
| 2,783,553
189-
| 52.177
189+
| 56.528
190190
|===
191191

192192
==== Multiplication
193193

194194
|===
195195
| Type | Runtime (us) | Ratio to `double`
196196
| `float`
197-
| 53,405
198-
| 1.101
197+
| 53,469
198+
| 1.093
199199
| `double`
200-
| 48,497
200+
| 48,903
201201
| 1.000
202202
| `decimal32`
203-
| 2,708,779
204-
| 55.855
203+
| 1,993,989
204+
| 40.774
205205
| `decimal64`
206-
| 2,761,465
207-
| 56.941
206+
| 2,766,602
207+
| 56.573
208208
| `decimal128`
209-
| 8,509,678
210-
| 175.468
209+
| 4,796,346
210+
| 98.079
211211
| `decimal32_fast`
212-
| 451,679
213-
| 9.313
212+
| 1,117,727
213+
| 22.856
214214
| `decimal64_fast`
215-
| 777,927
216-
| 16.041
215+
| 1,369,834
216+
| 28.011
217217
| `decimal128_fast`
218-
| 13,970,509
219-
| 288.070
218+
| 8,139,518
219+
| 166.442
220220
| GCC `_Decimal32`
221221
| 2,507,998
222-
| 51.714
222+
| 51.285
223223
| GCC `_Decimal64`
224224
| 2,414,864
225-
| 49.794
225+
| 49.381
226226
| GCC `_Decimal128`
227227
| 6,248,956
228-
| 128.852
228+
| 127.783
229229
|===
230230

231231
==== Division
232232

233233
|===
234234
| Type | Runtime (us) | Ratio to `double`
235235
| `float`
236-
| 58,955
237-
| 0.755
236+
| 59,003
237+
| 0.756
238238
| `double`
239-
| 78,046
239+
| 78,078
240240
| 1.000
241241
| `decimal32`
242-
| 2,907,134
243-
| 37.249
242+
| 2,250,186
243+
| 28.820
244244
| `decimal64`
245-
| 3,464,841
246-
| 44.394
245+
| 2,816,014
246+
| 36.067
247247
| `decimal128`
248-
| 18,202,742
249-
| 233.231
248+
| 18,320,634
249+
| 234.645
250250
| `decimal32_fast`
251-
| 1,092,346
252-
| 13.996
251+
| 1,123,428
252+
| 14.389
253253
| `decimal64_fast`
254-
| 1,207,648
255-
| 15.474
254+
| 1,258,004
255+
| 16.112
256256
| `decimal128_fast`
257-
| 1,208,184
258-
| 15.480
257+
| 1,243,024
258+
| 15.920
259259
| GCC `_Decimal32`
260260
| 5,002,197
261-
| 64.093
261+
| 64.067
262262
| GCC `_Decimal64`
263263
| 2,961,731
264-
| 37.900
264+
| 37.933
265265
| GCC `_Decimal128`
266266
| 10,095,995
267-
| 129.360
267+
| 129.307
268268
|===
269269

270270
=== M1 macOS Results

0 commit comments

Comments
 (0)