]>
Commit | Line | Data |
---|---|---|
1 | <html> | |
2 | <head> | |
3 | <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> | |
4 | <title>Floating-Point Real World Tests</title> | |
5 | <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> | |
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.77.1"> | |
7 | <link rel="home" href="../../index.html" title="Chapter 1. Boost.Multiprecision"> | |
8 | <link rel="up" href="../perf.html" title="Performance Comparison"> | |
9 | <link rel="prev" href="overhead.html" title="The Overhead in the Number Class Wrapper"> | |
10 | <link rel="next" href="int_real_world.html" title="Integer Real World Tests"> | |
11 | </head> | |
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> | |
13 | <table cellpadding="2" width="100%"><tr> | |
14 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td> | |
15 | <td align="center"><a href="../../../../../../index.html">Home</a></td> | |
16 | <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td> | |
17 | <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> | |
18 | <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> | |
19 | <td align="center"><a href="../../../../../../more/index.htm">More</a></td> | |
20 | </tr></table> | |
21 | <hr> | |
22 | <div class="spirit-nav"> | |
23 | <a accesskey="p" href="overhead.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../perf.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="int_real_world.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> | |
24 | </div> | |
25 | <div class="section"> | |
26 | <div class="titlepage"><div><div><h3 class="title"> | |
27 | <a name="boost_multiprecision.perf.realworld"></a><a class="link" href="realworld.html" title="Floating-Point Real World Tests">Floating-Point Real | |
28 | World Tests</a> | |
29 | </h3></div></div></div> | |
30 | <p> | |
31 | These tests test the total time taken to execute all of Boost.Math's test | |
32 | cases for these functions. In each case the best performing library gets | |
33 | a relative score of 1, with the total execution time given in brackets. The | |
34 | first three libraries listed are the various floating-point types provided | |
35 | by this library, while for comparison, two popular C++ front-ends to <a href="http://www.mpfr.org" target="_top">MPFR</a> ( <a href="http://math.berkeley.edu/~wilken/code/gmpfrxx/" target="_top">mpfr_class</a> | |
36 | and <a href="http://www.holoborodko.com/pavel/mpfr/" target="_top">mpreal</a>) are | |
37 | also shown. | |
38 | </p> | |
39 | <div class="table"> | |
40 | <a name="boost_multiprecision.perf.realworld.bessel_function_performance"></a><p class="title"><b>Table 1.12. Bessel Function Performance</b></p> | |
41 | <div class="table-contents"><table class="table" summary="Bessel Function Performance"> | |
42 | <colgroup> | |
43 | <col> | |
44 | <col> | |
45 | <col> | |
46 | </colgroup> | |
47 | <thead><tr> | |
48 | <th> | |
49 | <p> | |
50 | Library | |
51 | </p> | |
52 | </th> | |
53 | <th> | |
54 | <p> | |
55 | 50 Decimal Digits | |
56 | </p> | |
57 | </th> | |
58 | <th> | |
59 | <p> | |
60 | 100 Decimal Digits | |
61 | </p> | |
62 | </th> | |
63 | </tr></thead> | |
64 | <tbody> | |
65 | <tr> | |
66 | <td> | |
67 | <p> | |
68 | mpfr_float | |
69 | </p> | |
70 | </td> | |
71 | <td> | |
72 | <p> | |
73 | 1.2 (5.78s) | |
74 | </p> | |
75 | </td> | |
76 | <td> | |
77 | <p> | |
78 | 1.2 (9.56s) | |
79 | </p> | |
80 | </td> | |
81 | </tr> | |
82 | <tr> | |
83 | <td> | |
84 | <p> | |
85 | static_mpfr_float | |
86 | </p> | |
87 | </td> | |
88 | <td> | |
89 | <p> | |
90 | 1.1 (5.47s) | |
91 | </p> | |
92 | </td> | |
93 | <td> | |
94 | <p> | |
95 | 1.1 (9.09s) | |
96 | </p> | |
97 | </td> | |
98 | </tr> | |
99 | <tr> | |
100 | <td> | |
101 | <p> | |
102 | mpf_float | |
103 | </p> | |
104 | </td> | |
105 | <td> | |
106 | <p> | |
107 | <span class="bold"><strong>1.0</strong></span> (4.82s) | |
108 | </p> | |
109 | </td> | |
110 | <td> | |
111 | <p> | |
112 | <span class="bold"><strong>1.0</strong></span>(8.07s) | |
113 | </p> | |
114 | </td> | |
115 | </tr> | |
116 | <tr> | |
117 | <td> | |
118 | <p> | |
119 | cpp_dec_float | |
120 | </p> | |
121 | </td> | |
122 | <td> | |
123 | <p> | |
124 | 1.8 (8.54s) | |
125 | </p> | |
126 | </td> | |
127 | <td> | |
128 | <p> | |
129 | 2.6 (20.66s) | |
130 | </p> | |
131 | </td> | |
132 | </tr> | |
133 | <tr> | |
134 | <td> | |
135 | <p> | |
136 | <a href="http://math.berkeley.edu/~wilken/code/gmpfrxx/" target="_top">mpfr_class</a> | |
137 | </p> | |
138 | </td> | |
139 | <td> | |
140 | <p> | |
141 | 1.3 (6.28s) | |
142 | </p> | |
143 | </td> | |
144 | <td> | |
145 | <p> | |
146 | 1.2(10.06s) | |
147 | </p> | |
148 | </td> | |
149 | </tr> | |
150 | <tr> | |
151 | <td> | |
152 | <p> | |
153 | <a href="http://www.holoborodko.com/pavel/mpfr/" target="_top">mpreal</a> | |
154 | </p> | |
155 | </td> | |
156 | <td> | |
157 | <p> | |
158 | 2.0 (9.54s) | |
159 | </p> | |
160 | </td> | |
161 | <td> | |
162 | <p> | |
163 | 1.7 (14.08s) | |
164 | </p> | |
165 | </td> | |
166 | </tr> | |
167 | </tbody> | |
168 | </table></div> | |
169 | </div> | |
170 | <br class="table-break"><div class="table"> | |
171 | <a name="boost_multiprecision.perf.realworld.non_central_t_distribution_perfo"></a><p class="title"><b>Table 1.13. Non-Central T Distribution Performance</b></p> | |
172 | <div class="table-contents"><table class="table" summary="Non-Central T Distribution Performance"> | |
173 | <colgroup> | |
174 | <col> | |
175 | <col> | |
176 | </colgroup> | |
177 | <thead><tr> | |
178 | <th> | |
179 | <p> | |
180 | Library | |
181 | </p> | |
182 | </th> | |
183 | <th> | |
184 | <p> | |
185 | 50 Decimal Digits | |
186 | </p> | |
187 | </th> | |
188 | </tr></thead> | |
189 | <tbody> | |
190 | <tr> | |
191 | <td> | |
192 | <p> | |
193 | mpfr_float | |
194 | </p> | |
195 | </td> | |
196 | <td> | |
197 | <p> | |
198 | 1.3 (263.27s) | |
199 | </p> | |
200 | </td> | |
201 | </tr> | |
202 | <tr> | |
203 | <td> | |
204 | <p> | |
205 | static_mpfr_float | |
206 | </p> | |
207 | </td> | |
208 | <td> | |
209 | <p> | |
210 | 1.2 (232.88s) | |
211 | </p> | |
212 | </td> | |
213 | </tr> | |
214 | <tr> | |
215 | <td> | |
216 | <p> | |
217 | mpf_float | |
218 | </p> | |
219 | </td> | |
220 | <td> | |
221 | <p> | |
222 | <span class="bold"><strong>1.0</strong></span> (195.73s) | |
223 | </p> | |
224 | </td> | |
225 | </tr> | |
226 | <tr> | |
227 | <td> | |
228 | <p> | |
229 | cpp_dec_float | |
230 | </p> | |
231 | </td> | |
232 | <td> | |
233 | <p> | |
234 | 1.9 (366.38s) | |
235 | </p> | |
236 | </td> | |
237 | </tr> | |
238 | <tr> | |
239 | <td> | |
240 | <p> | |
241 | <a href="http://math.berkeley.edu/~wilken/code/gmpfrxx/" target="_top">mpfr_class</a> | |
242 | </p> | |
243 | </td> | |
244 | <td> | |
245 | <p> | |
246 | 1.5 (286.94s) | |
247 | </p> | |
248 | </td> | |
249 | </tr> | |
250 | <tr> | |
251 | <td> | |
252 | <p> | |
253 | <a href="http://www.holoborodko.com/pavel/mpfr/" target="_top">mpreal</a> | |
254 | </p> | |
255 | </td> | |
256 | <td> | |
257 | <p> | |
258 | 2.0 (388.70s) | |
259 | </p> | |
260 | </td> | |
261 | </tr> | |
262 | </tbody> | |
263 | </table></div> | |
264 | </div> | |
265 | <br class="table-break"><p> | |
266 | Test code was compiled with Microsoft Visual Studio 2010 with all optimisations | |
267 | turned on (/Ox), and used MPIR-2.3.0 and <a href="http://www.mpfr.org" target="_top">MPFR</a>-3.0.0. | |
268 | The tests were run on 32-bit Windows Vista machine. | |
269 | </p> | |
270 | </div> | |
271 | <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> | |
272 | <td align="left"></td> | |
273 | <td align="right"><div class="copyright-footer">Copyright © 2002-2013 John Maddock and Christopher Kormanyos<p> | |
274 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
275 | file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) | |
276 | </p> | |
277 | </div></td> | |
278 | </tr></table> | |
279 | <hr> | |
280 | <div class="spirit-nav"> | |
281 | <a accesskey="p" href="overhead.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../perf.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="int_real_world.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a> | |
282 | </div> | |
283 | </body> | |
284 | </html> |