Mpmath benchmarks

Main mpmath website

Benchmark information

Benchmark source code

Date: 2008-10-24 15:17

mpmath version: 0.10-svn

System information:

In order to give an idea of the variation, three timings from separate runs (sorted from best to worst) are printed in each cell. For low-level benchmarks (such as addition), the difference between best and worst time is mainly due to different paths taken during rounding. Rounding is done to nearest; with rounding to floor or ceiling, both best and worst times would be slightly better. Exceptions: constant computations are only timed once.

The input arguments x and y are full precision pseudo-random numbers (actually non-exact quotients of small integers) close to unity (circa 0.5-2.0). Complex numbers w and z = x+y*i are used in complex benchmarks. Each of three runs is performed with a separate x, y (or w, z) pair.

Benchmarks marked with (*) involve precomputation of some table of numbers (e.g. series coefficients or quadrature weights). Such tables are cached by mpmath for subsequent uses. In these cases, the "worst time" will be the time with the precomputation included (the first call) and the "best time" will be roughly equal to the average time for subsequent calls.

Times marked mpf include the overhead of typechecking and instance creation. Times marked lib measure the computational performance more directly. The difference is primarily significant for basic arithmetic at low precision.

Benchmarks marked psyco are run with the Psyco JIT compiler enabled. This also primarily improves speed at low precision. Some timings with psyco may be inflated disproportionately due to initial compilation time.

For times marked gmpy, GMPY is used. This tends to slow things down slightly at low precision, while being much faster at high precision.

Each benchmark is run with a precision (dps) up to a maximum of 106 digits. Each benchmark is stopped as soon as the time for the next run is expected to exceed 10 seconds (based on linear interpolation from the two previous precision levels). Benchmarks with lib and psyco are not repeated above 10000 digits, since the difference becomes insignificant.

Section 1: Mathematical constants

Pi* (+pi)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.116495 ms (8580/s) - - - 0.113702 ms (8790/s) - - -
30 0.123759 ms (8080/s) - - - 0.121524 ms (8220/s) - - -
100 0.206451 ms (4840/s) - - - 0.177676 ms (5620/s) - - -
300 0.754006 ms (1320/s) - - - 0.358984 ms (2780/s) - - -
1000 2.386337 ms (419/s) - - - 0.904026 ms (1100/s) - - -
3000 14.870326 ms (67/s) - - - 3.275277 ms (305/s) - - -
10000 0.132535 s - - - 16.378339 ms (61/s) - - -
30000 1.189890 s - - - 80.674499 ms (12/s) - - -
100000 - - - - 0.419414 s - - -
300000 - - - - 1.744497 s - - -
1000000 - - - - 7.787918 s - - -

E* (+e)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.143314 ms (6970/s) - - - 0.152533 ms (6550/s) - - -
30 0.173765 ms (5750/s) - - - 0.190527 ms (5240/s) - - -
100 0.279644 ms (3570/s) - - - 0.275454 ms (3630/s) - - -
300 0.579124 ms (1720/s) - - - 0.519898 ms (1920/s) - - -
1000 1.884876 ms (530/s) - - - 1.256584 ms (795/s) - - -
3000 8.256636 ms (121/s) - - - 3.398756 ms (294/s) - - -
10000 62.702662 ms (15/s) - - - 11.829995 ms (84/s) - - -
30000 0.483446 s - - - 44.755409 ms (22/s) - - -
100000 5.388258 s - - - 0.212131 s - - -
300000 - - - - 0.717538 s - - -
1000000 - - - - 3.252386 s - - -

Golden ratio* (+phi)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.068724 ms (14500/s) - - - 0.069003 ms (14400/s) - - -
30 0.079340 ms (12600/s) - - - 0.067327 ms (14800/s) - - -
100 0.099454 ms (10000/s) - - - 0.075149 ms (13300/s) - - -
300 0.148622 ms (6720/s) - - - 0.077105 ms (12900/s) - - -
1000 0.420724 ms (2370/s) - - - 0.116495 ms (8580/s) - - -
3000 2.753702 ms (363/s) - - - 0.258692 ms (3860/s) - - -
10000 8.379557 ms (119/s) - - - 1.275860 ms (783/s) - - -
30000 39.216716 ms (25/s) - - - 6.372877 ms (156/s) - - -
100000 0.230623 s - - - 38.520818 ms (25/s) - - -
300000 1.224008 s - - - 0.176236 s - - -
1000000 7.494411 s - - - 0.865145 s - - -

Log(2)* (+ln2)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.081575 ms (12200/s) - - - 0.080178 ms (12400/s) - - -
30 0.101410 ms (9860/s) - - - 0.100292 ms (9970/s) - - -
100 0.236622 ms (4220/s) - - - 0.166781 ms (5990/s) - - -
300 0.921626 ms (1080/s) - - - 0.411225 ms (2430/s) - - -
1000 7.686452 ms (130/s) - - - 2.040203 ms (490/s) - - -
3000 60.942382 ms (16/s) - - - 11.536103 ms (86/s) - - -
10000 0.640028 s - - - 0.103563 s - - -
30000 5.762920 s - - - 0.890607 s - - -
100000 - - - - 9.748597 s - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Log(10)* (+ln10)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.086044 ms (11600/s) - - - 0.094705 ms (10500/s) - - -
30 0.107276 ms (9320/s) - - - 0.110070 ms (9080/s) - - -
100 0.254502 ms (3920/s) - - - 0.209803 ms (4760/s) - - -
300 1.020241 ms (980/s) - - - 0.556216 ms (1790/s) - - -
1000 8.335417 ms (119/s) - - - 2.646984 ms (377/s) - - -
3000 65.358027 ms (15/s) - - - 15.470402 ms (64/s) - - -
10000 0.689424 s - - - 0.144393 s - - -
30000 6.229341 s - - - 1.240917 s - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Apery's constant* (+apery)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.084089 ms (11800/s) - - - 0.101130 ms (9880/s) - - -
30 0.124317 ms (8040/s) - - - 0.141638 ms (7060/s) - - -
100 0.308978 ms (3230/s) - - - 0.315683 ms (3160/s) - - -
300 1.374476 ms (727/s) - - - 1.176127 ms (850/s) - - -
1000 8.708090 ms (114/s) - - - 5.041982 ms (198/s) - - -
3000 59.906496 ms (16/s) - - - 22.701768 ms (44/s) - - -
10000 0.621123 s - - - 0.168683 s - - -
30000 5.909515 s - - - 1.373931 s - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Catalan's constant* (+catalan)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.363175 ms (2750/s) - - - 0.288025 ms (3470/s) - - -
30 0.497270 ms (2010/s) - - - 0.462908 ms (2160/s) - - -
100 1.697422 ms (589/s) - - - 1.433702 ms (697/s) - - -
300 7.241423 ms (138/s) - - - 4.883582 ms (204/s) - - -
1000 54.567829 ms (18/s) - - - 23.986009 ms (41/s) - - -
3000 0.417214 s - - - 0.131640 s - - -
10000 4.311076 s - - - 0.998520 s - - -
30000 - - - - 8.569324 s - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Euler's constant* (+euler)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.602870 ms (1650/s) - - - 0.669359 ms (1490/s) - - -
30 0.716013 ms (1390/s) - - - 0.749257 ms (1330/s) - - -
100 4.181258 ms (239/s) - - - 2.640000 ms (378/s) - - -
300 18.107050 ms (55/s) - - - 6.938312 ms (144/s) - - -
1000 0.223685 s - - - 46.851206 ms (21/s) - - -
3000 1.233484 s - - - 0.204211 s - - -
10000 16.446197 s - - - 2.380939 s - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Glaisher's constant* (+glaisher)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 2.953169 ms (338/s) - - - 3.297626 ms (303/s) - - -
30 4.631594 ms (215/s) - - - 4.920458 ms (203/s) - - -
100 22.732777 ms (43/s) - - - 18.721094 ms (53/s) - - -
300 0.192493 s - - - 98.109397 ms (10/s) - - -
1000 4.337484 s - - - 1.182139 s - - -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Khinchin's constant* (+khinchin)

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 6.589664 ms (151/s) - - - 7.125487 ms (140/s) - - -
30 13.065906 ms (76/s) - - - 13.872434 ms (72/s) - - -
100 79.950943 ms (12/s) - - - 70.361736 ms (14/s) - - -
300 1.001072 s - - - 0.561111 s - - -
1000 - - - - 10.179711 s - - -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Section 2: Basic operations

Convert to integer (int(x), to_int(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.002769 ms (361000/s)
0.002775 ms (360000/s)
0.002789 ms (358000/s)
0.001984 ms (503000/s)
0.001986 ms (503000/s)
0.007228 ms (138000/s)
0.000899 ms (1110000/s)
0.000908 ms (1100000/s)
0.000911 ms (1090000/s)
0.000183 ms (5450000/s)
0.000185 ms (5400000/s)
0.002881 ms (347000/s)
0.003033 ms (329000/s)
0.003038 ms (329000/s)
0.003053 ms (327000/s)
0.002167 ms (461000/s)
0.002177 ms (459000/s)
0.008716 ms (114000/s)
0.000992 ms (1000000/s)
0.001003 ms (996000/s)
0.001010 ms (989000/s)
0.000248 ms (4020000/s)
0.000373 ms (2680000/s)
0.003619 ms (276000/s)
30 0.002800 ms (357000/s)
0.002810 ms (355000/s)
0.002823 ms (354000/s)
0.002009 ms (497000/s)
0.002011 ms (497000/s)
0.007271 ms (137000/s)
0.000907 ms (1100000/s)
0.000914 ms (1090000/s)
0.000929 ms (1070000/s)
0.000182 ms (5480000/s)
0.000184 ms (5420000/s)
0.003153 ms (317000/s)
0.003029 ms (330000/s)
0.003032 ms (329000/s)
0.003066 ms (326000/s)
0.002146 ms (466000/s)
0.002323 ms (430000/s)
0.008698 ms (114000/s)
0.000961 ms (1040000/s)
0.000976 ms (1020000/s)
0.000992 ms (1000000/s)
0.000248 ms (4020000/s)
0.000362 ms (2760000/s)
0.003112 ms (321000/s)
100 0.002788 ms (358000/s)
0.002791 ms (358000/s)
0.002801 ms (357000/s)
0.002027 ms (493000/s)
0.002139 ms (467000/s)
0.007315 ms (136000/s)
0.000903 ms (1100000/s)
0.000903 ms (1100000/s)
0.000926 ms (1080000/s)
0.000201 ms (4970000/s)
0.000217 ms (4600000/s)
0.003427 ms (291000/s)
0.003017 ms (331000/s)
0.003024 ms (330000/s)
0.003048 ms (328000/s)
0.002224 ms (449000/s)
0.002370 ms (422000/s)
0.010431 ms (95800/s)
0.000963 ms (1030000/s)
0.000971 ms (1030000/s)
0.000984 ms (1010000/s)
0.000275 ms (3630000/s)
0.000276 ms (3620000/s)
0.002719 ms (367000/s)
300 0.002779 ms (359000/s)
0.002801 ms (357000/s)
0.002853 ms (350000/s)
0.001949 ms (513000/s)
0.001957 ms (511000/s)
0.008274 ms (120000/s)
0.000908 ms (1100000/s)
0.000923 ms (1080000/s)
0.000941 ms (1060000/s)
0.000198 ms (5040000/s)
0.000199 ms (5010000/s)
0.003101 ms (322000/s)
0.003008 ms (332000/s)
0.003022 ms (330000/s)
0.003029 ms (330000/s)
0.002196 ms (455000/s)
0.002211 ms (452000/s)
0.008833 ms (113000/s)
0.000973 ms (1020000/s)
0.000981 ms (1010000/s)
0.001048 ms (954000/s)
0.000260 ms (3840000/s)
0.000266 ms (3750000/s)
0.002652 ms (377000/s)
1000 0.002792 ms (358000/s)
0.002794 ms (357000/s)
0.002915 ms (343000/s)
0.002018 ms (495000/s)
0.002027 ms (493000/s)
0.008544 ms (117000/s)
0.000903 ms (1100000/s)
0.000906 ms (1100000/s)
0.000927 ms (1070000/s)
0.000199 ms (5010000/s)
0.000219 ms (4560000/s)
0.002850 ms (350000/s)
0.003013 ms (331000/s)
0.003035 ms (329000/s)
0.003042 ms (328000/s)
0.002179 ms (458000/s)
0.002206 ms (453000/s)
0.008693 ms (115000/s)
0.000980 ms (1020000/s)
0.001025 ms (976000/s)
0.001039 ms (962000/s)
0.000247 ms (4040000/s)
0.000268 ms (3730000/s)
0.002706 ms (369000/s)
3000 0.002776 ms (360000/s)
0.002804 ms (356000/s)
0.002902 ms (344000/s)
0.001986 ms (503000/s)
0.002147 ms (465000/s)
0.008316 ms (120000/s)
0.000903 ms (1100000/s)
0.000933 ms (1070000/s)
0.001062 ms (941000/s)
0.000202 ms (4940000/s)
0.000206 ms (4840000/s)
0.002905 ms (344000/s)
0.003025 ms (330000/s)
0.003050 ms (327000/s)
0.003081 ms (324000/s)
0.002225 ms (449000/s)
0.002248 ms (444000/s)
0.010281 ms (97200/s)
0.000975 ms (1020000/s)
0.000975 ms (1020000/s)
0.001037 ms (964000/s)
0.000244 ms (4100000/s)
0.000251 ms (3980000/s)
0.002710 ms (369000/s)
10000 0.002809 ms (356000/s)
0.002815 ms (355000/s)
0.002997 ms (333000/s)
0.001999 ms (500000/s)
0.002035 ms (491000/s)
0.007431 ms (134000/s)
0.000914 ms (1090000/s)
0.000918 ms (1080000/s)
0.000935 ms (1060000/s)
0.000203 ms (4930000/s)
0.000204 ms (4890000/s)
0.002893 ms (345000/s)
0.003029 ms (330000/s)
0.003031 ms (329000/s)
0.003145 ms (317000/s)
0.002202 ms (454000/s)
0.002223 ms (449000/s)
0.008847 ms (113000/s)
0.000960 ms (1040000/s)
0.000979 ms (1020000/s)
0.001060 ms (943000/s)
0.000274 ms (3650000/s)
0.000276 ms (3620000/s)
0.002639 ms (378000/s)
30000 0.002814 ms (355000/s)
0.002825 ms (354000/s)
0.002840 ms (352000/s)
- - - 0.003030 ms (330000/s)
0.003034 ms (329000/s)
0.003268 ms (306000/s)
- - -
100000 0.002825 ms (353000/s)
0.002859 ms (349000/s)
0.002872 ms (348000/s)
- - - 0.003032 ms (329000/s)
0.003033 ms (329000/s)
0.003043 ms (328000/s)
- - -
300000 0.002900 ms (344000/s)
0.002917 ms (342000/s)
0.003118 ms (320000/s)
- - - 0.003061 ms (326000/s)
0.003073 ms (325000/s)
0.003101 ms (322000/s)
- - -
1000000 0.002885 ms (346000/s)
0.002892 ms (345000/s)
0.003050 ms (327000/s)
- - - 0.003142 ms (318000/s)
0.003177 ms (314000/s)
0.003230 ms (309000/s)
- - -

Convert to float (float(x), to_float(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.003004 ms (332000/s)
0.003026 ms (330000/s)
0.003051 ms (327000/s)
0.002471 ms (404000/s)
0.002585 ms (386000/s)
0.009266 ms (107000/s)
0.001749 ms (571000/s)
0.001757 ms (569000/s)
0.001760 ms (568000/s)
0.000793 ms (1260000/s)
0.000827 ms (1200000/s)
0.004738 ms (211000/s)
0.002818 ms (354000/s)
0.002842 ms (351000/s)
0.002868 ms (348000/s)
0.002021 ms (494000/s)
0.002042 ms (489000/s)
0.010376 ms (96300/s)
0.001563 ms (639000/s)
0.001569 ms (637000/s)
0.001585 ms (630000/s)
0.000632 ms (1580000/s)
0.000634 ms (1570000/s)
0.004957 ms (201000/s)
30 0.002996 ms (333000/s)
0.003507 ms (285000/s)
0.003529 ms (283000/s)
0.002559 ms (390000/s)
0.002854 ms (350000/s)
0.011778 ms (84900/s)
0.001761 ms (567000/s)
0.002188 ms (457000/s)
0.002191 ms (456000/s)
0.000902 ms (1100000/s)
0.000975 ms (1020000/s)
0.008790 ms (113000/s)
0.002974 ms (336000/s)
0.003565 ms (280000/s)
0.003613 ms (276000/s)
0.002245 ms (445000/s)
0.002616 ms (382000/s)
0.011543 ms (86600/s)
0.001572 ms (636000/s)
0.002062 ms (485000/s)
0.002104 ms (475000/s)
0.000726 ms (1370000/s)
0.000866 ms (1150000/s)
0.006725 ms (148000/s)
100 0.003498 ms (285000/s)
0.003504 ms (285000/s)
0.003517 ms (284000/s)
0.002751 ms (363000/s)
0.002793 ms (357000/s)
0.011432 ms (87400/s)
0.002175 ms (459000/s)
0.002226 ms (449000/s)
0.002247 ms (445000/s)
0.001013 ms (987000/s)
0.001070 ms (934000/s)
0.007407 ms (135000/s)
0.003569 ms (280000/s)
0.003570 ms (280000/s)
0.003590 ms (278000/s)
0.002509 ms (398000/s)
0.002520 ms (396000/s)
0.011001 ms (90800/s)
0.002103 ms (475000/s)
0.002110 ms (474000/s)
0.002114 ms (472000/s)
0.000872 ms (1140000/s)
0.000877 ms (1140000/s)
0.005933 ms (168000/s)
300 0.003528 ms (283000/s)
0.003537 ms (282000/s)
0.003714 ms (269000/s)
0.002690 ms (371000/s)
0.002706 ms (369000/s)
0.011264 ms (88700/s)
0.002159 ms (463000/s)
0.002167 ms (461000/s)
0.002247 ms (445000/s)
0.001001 ms (999000/s)
0.001011 ms (989000/s)
0.007335 ms (136000/s)
0.003544 ms (282000/s)
0.003559 ms (280000/s)
0.003613 ms (276000/s)
0.002505 ms (399000/s)
0.002657 ms (376000/s)
0.011203 ms (89200/s)
0.002090 ms (478000/s)
0.002100 ms (476000/s)
0.002128 ms (470000/s)
0.000875 ms (1140000/s)
0.001122 ms (891000/s)
0.006157 ms (162000/s)
1000 0.003515 ms (284000/s)
0.003552 ms (281000/s)
0.003766 ms (265000/s)
0.002716 ms (368000/s)
0.002732 ms (366000/s)
0.011633 ms (85900/s)
0.002172 ms (460000/s)
0.002182 ms (458000/s)
0.002234 ms (447000/s)
0.000998 ms (1000000/s)
0.001013 ms (987000/s)
0.007563 ms (132000/s)
0.003545 ms (282000/s)
0.003546 ms (282000/s)
0.003566 ms (280000/s)
0.002452 ms (407000/s)
0.002478 ms (403000/s)
0.013759 ms (72600/s)
0.002109 ms (474000/s)
0.002125 ms (470000/s)
0.002127 ms (470000/s)
0.000872 ms (1140000/s)
0.000874 ms (1140000/s)
0.006191 ms (161000/s)
3000 0.003527 ms (283000/s)
0.003546 ms (282000/s)
0.003548 ms (281000/s)
0.002717 ms (367000/s)
0.002732 ms (366000/s)
0.011152 ms (89600/s)
0.002198 ms (455000/s)
0.002211 ms (452000/s)
0.002232 ms (448000/s)
0.000997 ms (1000000/s)
0.001027 ms (974000/s)
0.007407 ms (135000/s)
0.003559 ms (281000/s)
0.003561 ms (280000/s)
0.003562 ms (280000/s)
0.002493 ms (401000/s)
0.002499 ms (400000/s)
0.013640 ms (73300/s)
0.002076 ms (481000/s)
0.002117 ms (472000/s)
0.002132 ms (469000/s)
0.000877 ms (1130000/s)
0.000879 ms (1130000/s)
0.005476 ms (182000/s)
10000 0.003499 ms (285000/s)
0.003599 ms (277000/s)
0.003926 ms (254000/s)
0.002700 ms (370000/s)
0.002723 ms (367000/s)
0.011096 ms (90100/s)
0.002162 ms (462000/s)
0.002166 ms (461000/s)
0.002185 ms (457000/s)
0.001006 ms (993000/s)
0.001011 ms (989000/s)
0.007347 ms (136000/s)
0.003574 ms (279000/s)
0.003611 ms (276000/s)
0.003798 ms (263000/s)
0.002562 ms (390000/s)
0.003020 ms (331000/s)
0.010990 ms (90900/s)
0.002106 ms (474000/s)
0.002111 ms (473000/s)
0.002356 ms (424000/s)
0.000873 ms (1140000/s)
0.001050 ms (952000/s)
0.005891 ms (169000/s)
30000 0.003535 ms (282000/s)
0.003553 ms (281000/s)
0.003564 ms (280000/s)
- - - 0.003569 ms (280000/s)
0.003575 ms (279000/s)
0.003617 ms (276000/s)
- - -
100000 0.003614 ms (276000/s)
0.003654 ms (273000/s)
0.003676 ms (272000/s)
- - - 0.003515 ms (284000/s)
0.003567 ms (280000/s)
0.003631 ms (275000/s)
- - -
300000 0.003614 ms (276000/s)
0.003656 ms (273000/s)
0.003667 ms (272000/s)
- - - 0.003642 ms (274000/s)
0.003675 ms (272000/s)
0.003695 ms (270000/s)
- - -
1000000 0.003675 ms (272000/s)
0.003705 ms (269000/s)
0.003820 ms (261000/s)
- - - 0.003747 ms (266000/s)
0.003784 ms (264000/s)
0.003802 ms (263000/s)
- - -

Convert to string (str(x), to_str(x,dps))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.030140 ms (33100/s)
0.030305 ms (32900/s)
0.030652 ms (32600/s)
0.020092 ms (49700/s)
0.022063 ms (45300/s)
0.161361 ms (6190/s)
0.026673 ms (37400/s)
0.026675 ms (37400/s)
0.027072 ms (36900/s)
0.016623 ms (60100/s)
0.017241 ms (58000/s)
0.147393 ms (6780/s)
0.029950 ms (33300/s)
0.030237 ms (33000/s)
0.030885 ms (32300/s)
0.019988 ms (50000/s)
0.020276 ms (49300/s)
0.182453 ms (5480/s)
0.026591 ms (37600/s)
0.026643 ms (37500/s)
0.027022 ms (37000/s)
0.016395 ms (60900/s)
0.016419 ms (60900/s)
0.150578 ms (6640/s)
30 0.032540 ms (30700/s)
0.032815 ms (30400/s)
0.033041 ms (30200/s)
0.022413 ms (44600/s)
0.022461 ms (44500/s)
0.165161 ms (6050/s)
0.028988 ms (34400/s)
0.029066 ms (34400/s)
0.029434 ms (33900/s)
0.018856 ms (53000/s)
0.019455 ms (51400/s)
0.149935 ms (6660/s)
0.031708 ms (31500/s)
0.031775 ms (31400/s)
0.032622 ms (30600/s)
0.021474 ms (46500/s)
0.021664 ms (46100/s)
0.184297 ms (5420/s)
0.027906 ms (35800/s)
0.028365 ms (35200/s)
0.028670 ms (34800/s)
0.017603 ms (56800/s)
0.017736 ms (56300/s)
0.152841 ms (6540/s)
100 0.039406 ms (25300/s)
0.040487 ms (24600/s)
0.055206 ms (18100/s)
0.029972 ms (33300/s)
0.031888 ms (31300/s)
0.187035 ms (5340/s)
0.035966 ms (27800/s)
0.036245 ms (27500/s)
0.051182 ms (19500/s)
0.026171 ms (38200/s)
0.028116 ms (35500/s)
0.176643 ms (5660/s)
0.028742 ms (34700/s)
0.029049 ms (34400/s)
0.047194 ms (21100/s)
0.019569 ms (51100/s)
0.021663 ms (46100/s)
0.197735 ms (5050/s)
0.025027 ms (39900/s)
0.025145 ms (39700/s)
0.041480 ms (24100/s)
0.015291 ms (65300/s)
0.017636 ms (56700/s)
0.161976 ms (6170/s)
300 0.201520 ms (4960/s)
0.202135 ms (4940/s)
0.202819 ms (4930/s)
0.186487 ms (5360/s)
0.187063 ms (5340/s)
0.364599 ms (2740/s)
0.197853 ms (5050/s)
0.197909 ms (5050/s)
0.199467 ms (5010/s)
0.182129 ms (5490/s)
0.186828 ms (5350/s)
0.354319 ms (2820/s)
0.136207 ms (7340/s)
0.138856 ms (7200/s)
0.144017 ms (6940/s)
0.121975 ms (8190/s)
0.125172 ms (7980/s)
0.295177 ms (3380/s)
0.129721 ms (7700/s)
0.129977 ms (7690/s)
0.132402 ms (7550/s)
0.117477 ms (8510/s)
0.117697 ms (8490/s)
0.293557 ms (3400/s)
1000 0.629214 ms (1580/s)
0.630583 ms (1580/s)
0.637008 ms (1560/s)
0.593511 ms (1680/s)
0.600467 ms (1660/s)
0.766103 ms (1300/s)
0.624744 ms (1600/s)
0.627622 ms (1590/s)
0.628236 ms (1590/s)
0.590159 ms (1690/s)
0.590885 ms (1690/s)
0.752358 ms (1320/s)
0.116212 ms (8600/s)
0.117904 ms (8480/s)
0.118641 ms (8420/s)
0.108450 ms (9220/s)
0.108705 ms (9190/s)
0.279505 ms (3570/s)
0.111631 ms (8950/s)
0.113143 ms (8830/s)
0.113506 ms (8810/s)
0.099889 ms (10000/s)
0.100895 ms (9910/s)
0.243578 ms (4100/s)
3000 3.780257 ms (264/s)
3.783945 ms (264/s)
3.845098 ms (260/s)
3.679350 ms (271/s)
3.713321 ms (269/s)
3.877113 ms (257/s)
3.761344 ms (265/s)
3.790566 ms (263/s)
3.806992 ms (262/s)
3.712148 ms (269/s)
3.739721 ms (267/s)
3.871609 ms (258/s)
0.498108 ms (2000/s)
0.532805 ms (1870/s)
0.541326 ms (1840/s)
0.489294 ms (2040/s)
0.495189 ms (2010/s)
0.678243 ms (1470/s)
0.495161 ms (2010/s)
0.503276 ms (1980/s)
0.528168 ms (1890/s)
0.480662 ms (2080/s)
0.487059 ms (2050/s)
0.675533 ms (1480/s)
10000 28.763153 ms (34/s)
28.786061 ms (34/s)
28.839140 ms (34/s)
28.607546 ms (34/s)
28.640232 ms (34/s)
30.297985 ms (33/s)
28.674315 ms (34/s)
28.781870 ms (34/s)
29.122416 ms (34/s)
28.764550 ms (34/s)
28.997261 ms (34/s)
30.452753 ms (32/s)
3.227980 ms (309/s)
3.229070 ms (309/s)
3.255553 ms (307/s)
3.258599 ms (306/s)
3.277037 ms (305/s)
3.386967 ms (295/s)
3.229712 ms (309/s)
3.236892 ms (308/s)
3.248430 ms (307/s)
3.217923 ms (310/s)
3.268069 ms (305/s)
3.348498 ms (298/s)
30000 0.222091 s
0.222470 s
0.222782 s
- - - 14.925640 ms (66/s)
14.951342 ms (66/s)
15.064764 ms (66/s)
- - -
100000 2.217048 s
2.229645 s
2.230062 s
- - - 85.382919 ms (11/s)
85.429014 ms (11/s)
86.351198 ms (11/s)
- - -
300000 - - - - 0.433332 s
0.433584 s
0.434700 s
- - -
1000000 - - - - 2.051674 s
2.059855 s
2.101302 s
- - -

Comparison (x < y, mpf_cmp(x,y))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.003996 ms (250000/s)
0.014688 ms (68000/s)
0.015253 ms (65500/s)
0.029166 ms (34200/s)
0.059170 ms (16900/s)
0.081770 ms (12200/s)
0.001030 ms (970000/s)
0.011265 ms (88700/s)
0.011752 ms (85000/s)
0.009694 ms (103000/s)
0.057829 ms (17200/s)
0.076881 ms (13000/s)
0.003952 ms (253000/s)
0.015749 ms (63400/s)
0.016496 ms (60600/s)
0.061488 ms (16200/s)
0.072970 ms (13700/s)
0.083363 ms (11900/s)
0.001065 ms (939000/s)
0.011437 ms (87400/s)
0.011748 ms (85100/s)
0.011519 ms (86800/s)
0.058164 ms (17100/s)
0.079759 ms (12500/s)
30 0.004010 ms (249000/s)
0.014475 ms (69000/s)
0.015471 ms (64600/s)
0.028579 ms (34900/s)
0.032043 ms (31200/s)
0.085234 ms (11700/s)
0.001026 ms (974000/s)
0.010951 ms (91300/s)
0.012158 ms (82200/s)
0.009878 ms (101000/s)
0.028467 ms (35100/s)
0.081267 ms (12300/s)
0.003963 ms (252000/s)
0.015570 ms (64200/s)
0.016329 ms (61200/s)
0.059337 ms (16800/s)
0.074395 ms (13400/s)
0.086268 ms (11500/s)
0.001073 ms (932000/s)
0.011442 ms (87300/s)
0.012178 ms (82100/s)
0.013588 ms (73500/s)
0.029263 ms (34100/s)
0.082022 ms (12100/s)
100 0.017544 ms (56900/s)
0.018219 ms (54800/s)
0.019487 ms (51300/s)
0.011612 ms (86100/s)
0.032169 ms (31000/s)
0.138984 ms (7190/s)
0.013728 ms (72800/s)
0.014478 ms (69000/s)
0.015576 ms (64200/s)
0.008753 ms (114000/s)
0.066349 ms (15000/s)
0.129905 ms (7690/s)
0.013851 ms (72100/s)
0.015613 ms (64000/s)
0.016187 ms (61700/s)
0.008049 ms (124000/s)
0.030367 ms (32900/s)
0.156333 ms (6390/s)
0.009988 ms (100000/s)
0.011466 ms (87200/s)
0.012048 ms (83000/s)
0.004858 ms (205000/s)
0.026260 ms (38000/s)
0.143454 ms (6970/s)
300 0.003957 ms (252000/s)
0.003992 ms (250000/s)
0.018703 ms (53400/s)
0.001604 ms (623000/s)
0.027909 ms (35800/s)
0.094984 ms (10500/s)
0.001039 ms (962000/s)
0.001065 ms (939000/s)
0.014751 ms (67700/s)
0.000192 ms (5210000/s)
0.009722 ms (102000/s)
0.090905 ms (11000/s)
0.003746 ms (266000/s)
0.003901 ms (256000/s)
0.015777 ms (63300/s)
0.001638 ms (610000/s)
0.075792 ms (13100/s)
0.087721 ms (11300/s)
0.001077 ms (928000/s)
0.001082 ms (924000/s)
0.011648 ms (85800/s)
0.000197 ms (5060000/s)
0.010974 ms (91100/s)
0.083111 ms (12000/s)
1000 0.004430 ms (225000/s)
0.022534 ms (44300/s)
0.023972 ms (41700/s)
0.028914 ms (34500/s)
0.065288 ms (15300/s)
0.097582 ms (10200/s)
0.001034 ms (966000/s)
0.016783 ms (59500/s)
0.020074 ms (49800/s)
0.010001 ms (99900/s)
0.035465 ms (28100/s)
0.092861 ms (10700/s)
0.004042 ms (247000/s)
0.016058 ms (62200/s)
0.016753 ms (59600/s)
0.059449 ms (16800/s)
0.074451 ms (13400/s)
0.105684 ms (9460/s)
0.001077 ms (928000/s)
0.011892 ms (84000/s)
0.013389 ms (74600/s)
0.011272 ms (88700/s)
0.029669 ms (33700/s)
0.083446 ms (11900/s)
3000 0.003975 ms (251000/s)
0.029992 ms (33300/s)
0.031892 ms (31300/s)
0.001728 ms (578000/s)
0.043330 ms (23000/s)
0.152617 ms (6550/s)
0.001042 ms (959000/s)
0.026408 ms (37800/s)
0.027579 ms (36200/s)
0.000273 ms (3660000/s)
0.040019 ms (24900/s)
0.155578 ms (6420/s)
0.003901 ms (256000/s)
0.015163 ms (65900/s)
0.017668 ms (56500/s)
0.001776 ms (563000/s)
0.027378 ms (36500/s)
0.156444 ms (6390/s)
0.001102 ms (907000/s)
0.011458 ms (87200/s)
0.013470 ms (74200/s)
0.000361 ms (2760000/s)
0.023606 ms (42300/s)
0.146695 ms (6810/s)
10000 0.003909 ms (255000/s)
0.037139 ms (26900/s)
0.055286 ms (18000/s)
0.028411 ms (35100/s)
0.063891 ms (15600/s)
0.114931 ms (8700/s)
0.001037 ms (964000/s)
0.033049 ms (30200/s)
0.050846 ms (19600/s)
0.007873 ms (127000/s)
0.058373 ms (17100/s)
0.109232 ms (9150/s)
0.003987 ms (250000/s)
0.019668 ms (50800/s)
0.020890 ms (47800/s)
0.022684 ms (44000/s)
0.091855 ms (10800/s)
0.103365 ms (9670/s)
0.001071 ms (933000/s)
0.015358 ms (65100/s)
0.016490 ms (60600/s)
0.011081 ms (90200/s)
0.018801 ms (53100/s)
0.085011 ms (11700/s)
30000 0.003917 ms (255000/s)
0.074817 ms (13300/s)
0.122581 ms (8150/s)
- - - 0.003923 ms (254000/s)
0.025914 ms (38500/s)
0.029995 ms (33300/s)
- - -
100000 0.003856 ms (259000/s)
0.003908 ms (255000/s)
0.575827 ms (1730/s)
- - - 0.003847 ms (259000/s)
0.003849 ms (259000/s)
0.064640 ms (15400/s)
- - -
300000 0.884610 ms (1130/s)
1.855515 ms (538/s)
1.888955 ms (529/s)
- - - 0.125589 ms (7960/s)
0.176568 ms (5660/s)
0.199383 ms (5010/s)
- - -
1000000 0.004003 ms (249000/s)
2.884473 ms (346/s)
6.300633 ms (158/s)
- - - 0.004500 ms (222000/s)
1.258288 ms (794/s)
1.810901 ms (552/s)
- - -

Addition (x+y, mpf_add(x,y,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.010703 ms (93400/s)
0.011733 ms (85200/s)
0.012016 ms (83200/s)
0.006935 ms (144000/s)
0.024682 ms (40500/s)
0.096716 ms (10300/s)
0.007418 ms (134000/s)
0.008328 ms (120000/s)
0.008611 ms (116000/s)
0.003346 ms (298000/s)
0.020547 ms (48600/s)
0.042226 ms (23600/s)
0.011332 ms (88200/s)
0.012750 ms (78400/s)
0.013018 ms (76800/s)
0.007208 ms (138000/s)
0.028830 ms (34600/s)
0.117417 ms (8510/s)
0.007988 ms (125000/s)
0.009386 ms (106000/s)
0.009528 ms (104000/s)
0.004092 ms (244000/s)
0.042422 ms (23500/s)
0.074563 ms (13400/s)
30 0.006560 ms (152000/s)
0.010759 ms (92900/s)
0.011746 ms (85100/s)
0.006627 ms (150000/s)
0.011272 ms (88700/s)
0.098001 ms (10200/s)
0.003850 ms (259000/s)
0.007445 ms (134000/s)
0.008549 ms (116000/s)
0.003920 ms (255000/s)
0.007615 ms (131000/s)
0.044475 ms (22400/s)
0.007138 ms (140000/s)
0.011504 ms (86900/s)
0.012743 ms (78400/s)
0.007845 ms (127000/s)
0.013088 ms (76400/s)
0.116691 ms (8560/s)
0.004059 ms (246000/s)
0.007976 ms (125000/s)
0.009216 ms (108000/s)
0.005448 ms (183000/s)
0.009561 ms (104000/s)
0.044154 ms (22600/s)
100 0.006845 ms (146000/s)
0.012668 ms (78900/s)
0.012698 ms (78700/s)
0.003394 ms (294000/s)
0.005887 ms (169000/s)
0.100599 ms (9940/s)
0.003821 ms (261000/s)
0.009448 ms (105000/s)
0.009969 ms (100000/s)
0.001392 ms (718000/s)
0.003521 ms (284000/s)
0.088112 ms (11300/s)
0.007251 ms (137000/s)
0.013289 ms (75200/s)
0.013315 ms (75100/s)
0.004221 ms (236000/s)
0.006517 ms (153000/s)
0.125184 ms (7980/s)
0.003796 ms (263000/s)
0.009759 ms (102000/s)
0.009937 ms (100000/s)
0.001227 ms (815000/s)
0.003569 ms (280000/s)
0.091408 ms (10900/s)
300 0.010202 ms (98000/s)
0.010238 ms (97600/s)
0.014007 ms (71300/s)
0.009303 ms (107000/s)
0.028467 ms (35100/s)
0.091995 ms (10800/s)
0.006906 ms (144000/s)
0.007042 ms (142000/s)
0.010478 ms (95400/s)
0.005666 ms (176000/s)
0.024375 ms (41000/s)
0.039670 ms (25200/s)
0.009343 ms (107000/s)
0.009747 ms (102000/s)
0.013419 ms (74500/s)
0.012283 ms (81400/s)
0.030297 ms (33000/s)
0.109064 ms (9160/s)
0.006180 ms (161000/s)
0.006346 ms (157000/s)
0.009521 ms (105000/s)
0.005192 ms (192000/s)
0.025730 ms (38800/s)
0.039013 ms (25600/s)
1000 0.010414 ms (96000/s)
0.017132 ms (58300/s)
0.019413 ms (51500/s)
0.010979 ms (91000/s)
0.022219 ms (45000/s)
0.104902 ms (9530/s)
0.007292 ms (137000/s)
0.014048 ms (71100/s)
0.015565 ms (64200/s)
0.008297 ms (120000/s)
0.016175 ms (61800/s)
0.049252 ms (20300/s)
0.007525 ms (132000/s)
0.011753 ms (85000/s)
0.014114 ms (70800/s)
0.007979 ms (125000/s)
0.017153 ms (58200/s)
0.119876 ms (8340/s)
0.004101 ms (243000/s)
0.008503 ms (117000/s)
0.010092 ms (99000/s)
0.006900 ms (144000/s)
0.013037 ms (76700/s)
0.043064 ms (23200/s)
3000 0.021185 ms (47200/s)
0.032089 ms (31100/s)
0.038276 ms (26100/s)
0.026677 ms (37400/s)
0.036373 ms (27400/s)
0.120909 ms (8270/s)
0.017631 ms (56700/s)
0.027886 ms (35800/s)
0.035355 ms (28200/s)
0.022868 ms (43700/s)
0.032085 ms (31100/s)
0.070107 ms (14200/s)
0.010651 ms (93800/s)
0.015058 ms (66400/s)
0.015301 ms (65300/s)
0.008768 ms (114000/s)
0.023690 ms (42200/s)
0.126552 ms (7900/s)
0.006919 ms (144000/s)
0.010946 ms (91300/s)
0.010980 ms (91000/s)
0.005677 ms (176000/s)
0.014006 ms (71400/s)
0.048693 ms (20500/s)
10000 0.040742 ms (24500/s)
0.066672 ms (14900/s)
0.094702 ms (10500/s)
0.041525 ms (24000/s)
0.097899 ms (10200/s)
0.153120 ms (6530/s)
0.036863 ms (27100/s)
0.063252 ms (15800/s)
0.090797 ms (11000/s)
0.038239 ms (26100/s)
0.093820 ms (10600/s)
0.147170 ms (6790/s)
0.010213 ms (97900/s)
0.016445 ms (60800/s)
0.020373 ms (49000/s)
0.010750 ms (93000/s)
0.023234 ms (43000/s)
0.132224 ms (7560/s)
0.007077 ms (141000/s)
0.012471 ms (80100/s)
0.016754 ms (59600/s)
0.007956 ms (125000/s)
0.015882 ms (62900/s)
0.047590 ms (21000/s)
30000 0.112783 ms (8860/s)
0.178347 ms (5600/s)
0.313662 ms (3180/s)
- - - 0.017107 ms (58400/s)
0.026138 ms (38200/s)
0.034889 ms (28600/s)
- - -
100000 0.484712 ms (2060/s)
0.499728 ms (2000/s)
0.905031 ms (1100/s)
- - - 0.040914 ms (24400/s)
0.043677 ms (22800/s)
0.072429 ms (13800/s)
- - -
300000 1.407078 ms (710/s)
2.677240 ms (373/s)
2.740376 ms (364/s)
- - - 0.117855 ms (8480/s)
0.199709 ms (5000/s)
0.229065 ms (4360/s)
- - -
1000000 4.649110 ms (215/s)
4.650787 ms (215/s)
7.937545 ms (125/s)
- - - 0.995937 ms (1000/s)
1.025745 ms (974/s)
1.475271 ms (677/s)
- - -

Subtraction (x-y, mpf_sub(x,y,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.008743 ms (114000/s)
0.008931 ms (111000/s)
0.011860 ms (84300/s)
0.009897 ms (101000/s)
0.010036 ms (99600/s)
0.103058 ms (9700/s)
0.005570 ms (179000/s)
0.005597 ms (178000/s)
0.007897 ms (126000/s)
0.005872 ms (170000/s)
0.007766 ms (128000/s)
0.100935 ms (9900/s)
0.008944 ms (111000/s)
0.008975 ms (111000/s)
0.011996 ms (83300/s)
0.008850 ms (112000/s)
0.011070 ms (90300/s)
0.150131 ms (6660/s)
0.005474 ms (182000/s)
0.005688 ms (175000/s)
0.008251 ms (121000/s)
0.005598 ms (178000/s)
0.007536 ms (132000/s)
0.120267 ms (8310/s)
30 0.008900 ms (112000/s)
0.009100 ms (109000/s)
0.011706 ms (85400/s)
0.007282 ms (137000/s)
0.013410 ms (74500/s)
0.104147 ms (9600/s)
0.005351 ms (186000/s)
0.005641 ms (177000/s)
0.008291 ms (120000/s)
0.004558 ms (219000/s)
0.010867 ms (92000/s)
0.100264 ms (9970/s)
0.008869 ms (112000/s)
0.009140 ms (109000/s)
0.012048 ms (83000/s)
0.007794 ms (128000/s)
0.014387 ms (69500/s)
0.120937 ms (8260/s)
0.005026 ms (198000/s)
0.005372 ms (186000/s)
0.008197 ms (121000/s)
0.004883 ms (204000/s)
0.011137 ms (89700/s)
0.121803 ms (8200/s)
100 0.012687 ms (78800/s)
0.012974 ms (77000/s)
0.013177 ms (75800/s)
0.006814 ms (146000/s)
0.015998 ms (62500/s)
0.094900 ms (10500/s)
0.008411 ms (118000/s)
0.008790 ms (113000/s)
0.009229 ms (108000/s)
0.003495 ms (286000/s)
0.012627 ms (79100/s)
0.088782 ms (11200/s)
0.008977 ms (111000/s)
0.009214 ms (108000/s)
0.009420 ms (106000/s)
0.004474 ms (223000/s)
0.013354 ms (74800/s)
0.107723 ms (9280/s)
0.005199 ms (192000/s)
0.005589 ms (178000/s)
0.006230 ms (160000/s)
0.001457 ms (686000/s)
0.010355 ms (96500/s)
0.098867 ms (10100/s)
300 0.012880 ms (77600/s)
0.016002 ms (62400/s)
0.016310 ms (61300/s)
0.008706 ms (114000/s)
0.010309 ms (97000/s)
0.120155 ms (8320/s)
0.008848 ms (113000/s)
0.011709 ms (85400/s)
0.011795 ms (84700/s)
0.005113 ms (195000/s)
0.006528 ms (153000/s)
0.109763 ms (9110/s)
0.009144 ms (109000/s)
0.012385 ms (80700/s)
0.012405 ms (80600/s)
0.006413 ms (155000/s)
0.008459 ms (118000/s)
0.127279 ms (7850/s)
0.005099 ms (196000/s)
0.008171 ms (122000/s)
0.008187 ms (122000/s)
0.002678 ms (373000/s)
0.005146 ms (194000/s)
0.117361 ms (8520/s)
1000 0.015103 ms (66200/s)
0.015716 ms (63600/s)
0.018728 ms (53300/s)
0.013007 ms (76800/s)
0.019956 ms (50100/s)
0.117082 ms (8540/s)
0.010757 ms (92900/s)
0.011461 ms (87200/s)
0.014475 ms (69000/s)
0.008428 ms (118000/s)
0.015561 ms (64200/s)
0.111383 ms (8970/s)
0.009358 ms (106000/s)
0.009711 ms (102000/s)
0.013283 ms (75200/s)
0.008286 ms (120000/s)
0.014844 ms (67300/s)
0.123284 ms (8110/s)
0.005940 ms (168000/s)
0.006035 ms (165000/s)
0.008571 ms (116000/s)
0.005420 ms (184000/s)
0.011659 ms (85700/s)
0.120378 ms (8300/s)
3000 0.020323 ms (49200/s)
0.020826 ms (48000/s)
0.022880 ms (43700/s)
0.019388 ms (51500/s)
0.037589 ms (26600/s)
0.103840 ms (9630/s)
0.015956 ms (62600/s)
0.016202 ms (61700/s)
0.018288 ms (54600/s)
0.014315 ms (69800/s)
0.032350 ms (30900/s)
0.099370 ms (10000/s)
0.010247 ms (97500/s)
0.010466 ms (95500/s)
0.012975 ms (77000/s)
0.008739 ms (114000/s)
0.026288 ms (38000/s)
0.107500 ms (9300/s)
0.006383 ms (156000/s)
0.006563 ms (152000/s)
0.009026 ms (110000/s)
0.005285 ms (189000/s)
0.022740 ms (43900/s)
0.104287 ms (9580/s)
10000 0.030804 ms (32400/s)
0.034550 ms (28900/s)
0.041596 ms (24000/s)
0.029423 ms (33900/s)
0.030569 ms (32700/s)
0.139878 ms (7140/s)
0.026508 ms (37700/s)
0.029987 ms (33300/s)
0.038265 ms (26100/s)
0.024891 ms (40100/s)
0.025739 ms (38800/s)
0.138034 ms (7240/s)
0.012258 ms (81500/s)
0.013278 ms (75300/s)
0.016445 ms (60800/s)
0.009188 ms (108000/s)
0.018103 ms (55200/s)
0.130799 ms (7640/s)
0.008348 ms (119000/s)
0.009417 ms (106000/s)
0.012800 ms (78100/s)
0.005677 ms (176000/s)
0.007772 ms (128000/s)
0.120686 ms (8280/s)
30000 0.068713 ms (14500/s)
0.075225 ms (13200/s)
0.088338 ms (11300/s)
- - - 0.018817 ms (53100/s)
0.021069 ms (47400/s)
0.024437 ms (40900/s)
- - -
100000 0.321242 ms (3110/s)
0.369195 ms (2700/s)
0.373707 ms (2670/s)
- - - 0.045792 ms (21800/s)
0.050569 ms (19700/s)
0.050849 ms (19600/s)
- - -
300000 0.902545 ms (1100/s)
1.125925 ms (888/s)
1.207667 ms (828/s)
- - - 0.113702 ms (8790/s)
0.130058 ms (7680/s)
0.166390 ms (6000/s)
- - -
1000000 2.906012 ms (344/s)
3.819200 ms (261/s)
4.177263 ms (239/s)
- - - 1.036109 ms (965/s)
1.149364 ms (870/s)
1.442837 ms (693/s)
- - -

Multiplication (x*y, mpf_mul(x,y,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.010083 ms (99100/s)
0.010260 ms (97400/s)
0.010741 ms (93000/s)
0.004568 ms (218000/s)
0.005066 ms (197000/s)
0.081044 ms (12300/s)
0.006886 ms (145000/s)
0.006923 ms (144000/s)
0.007534 ms (132000/s)
0.002478 ms (403000/s)
0.002920 ms (342000/s)
0.040089 ms (24900/s)
0.010848 ms (92100/s)
0.011013 ms (90800/s)
0.011840 ms (84400/s)
0.005473 ms (182000/s)
0.006675 ms (149000/s)
0.106885 ms (9350/s)
0.007561 ms (132000/s)
0.007745 ms (129000/s)
0.008420 ms (118000/s)
0.003011 ms (332000/s)
0.003918 ms (255000/s)
0.055775 ms (17900/s)
30 0.008489 ms (117000/s)
0.010046 ms (99500/s)
0.011457 ms (87200/s)
0.004409 ms (226000/s)
0.007583 ms (131000/s)
0.078027 ms (12800/s)
0.005652 ms (176000/s)
0.006860 ms (145000/s)
0.007680 ms (130000/s)
0.002321 ms (430000/s)
0.005264 ms (189000/s)
0.037798 ms (26400/s)
0.008900 ms (112000/s)
0.010545 ms (94800/s)
0.011859 ms (84300/s)
0.005135 ms (194000/s)
0.008116 ms (123000/s)
0.106662 ms (9370/s)
0.005790 ms (172000/s)
0.007198 ms (138000/s)
0.008459 ms (118000/s)
0.002760 ms (362000/s)
0.005252 ms (190000/s)
0.040801 ms (24500/s)
100 0.013015 ms (76800/s)
0.013098 ms (76300/s)
0.013110 ms (76200/s)
0.007000 ms (142000/s)
0.007143 ms (139000/s)
0.085234 ms (11700/s)
0.009773 ms (102000/s)
0.009776 ms (102000/s)
0.009805 ms (101000/s)
0.004836 ms (206000/s)
0.004948 ms (202000/s)
0.041989 ms (23800/s)
0.012510 ms (79900/s)
0.012983 ms (77000/s)
0.013960 ms (71600/s)
0.006684 ms (149000/s)
0.006764 ms (147000/s)
0.106159 ms (9410/s)
0.008947 ms (111000/s)
0.009005 ms (111000/s)
0.009126 ms (109000/s)
0.003927 ms (254000/s)
0.003942 ms (253000/s)
0.043316 ms (23000/s)
300 0.023770 ms (42000/s)
0.028420 ms (35100/s)
0.028506 ms (35000/s)
0.023531 ms (42400/s)
0.025582 ms (39000/s)
0.091269 ms (10900/s)
0.020375 ms (49000/s)
0.024841 ms (40200/s)
0.024922 ms (40100/s)
0.021745 ms (45900/s)
0.022052 ms (45300/s)
0.051152 ms (19500/s)
0.012932 ms (77300/s)
0.016570 ms (60300/s)
0.016647 ms (60000/s)
0.011610 ms (86100/s)
0.015488 ms (64500/s)
0.099510 ms (10000/s)
0.008981 ms (111000/s)
0.012745 ms (78400/s)
0.012761 ms (78300/s)
0.008441 ms (118000/s)
0.012532 ms (79700/s)
0.041709 ms (23900/s)
1000 0.132659 ms (7530/s)
0.134077 ms (7450/s)
0.137625 ms (7260/s)
0.127247 ms (7850/s)
0.135669 ms (7370/s)
0.217933 ms (4580/s)
0.129254 ms (7730/s)
0.130036 ms (7690/s)
0.133159 ms (7500/s)
0.125730 ms (7950/s)
0.133481 ms (7490/s)
0.213463 ms (4680/s)
0.035845 ms (27800/s)
0.035868 ms (27800/s)
0.038813 ms (25700/s)
0.030089 ms (33200/s)
0.035577 ms (28100/s)
0.172564 ms (5790/s)
0.031687 ms (31500/s)
0.031693 ms (31500/s)
0.033124 ms (30100/s)
0.027320 ms (36600/s)
0.031554 ms (31600/s)
0.114037 ms (8760/s)
3000 0.832536 ms (1200/s)
0.852064 ms (1170/s)
0.853879 ms (1170/s)
0.833514 ms (1190/s)
0.857120 ms (1160/s)
0.937773 ms (1060/s)
0.832648 ms (1200/s)
0.848767 ms (1170/s)
0.850890 ms (1170/s)
0.831279 ms (1200/s)
0.860137 ms (1160/s)
0.948417 ms (1050/s)
0.135848 ms (7360/s)
0.137075 ms (7290/s)
0.138868 ms (7200/s)
0.131043 ms (7630/s)
0.141917 ms (7040/s)
0.270984 ms (3690/s)
0.128492 ms (7780/s)
0.132554 ms (7540/s)
0.134347 ms (7440/s)
0.126950 ms (7870/s)
0.136740 ms (7310/s)
0.217458 ms (4590/s)
10000 5.890693 ms (169/s)
5.947292 ms (168/s)
5.957629 ms (167/s)
5.894855 ms (169/s)
5.931480 ms (168/s)
6.090411 ms (164/s)
5.882005 ms (170/s)
5.946733 ms (168/s)
5.951455 ms (168/s)
5.876585 ms (170/s)
5.955980 ms (167/s)
6.032107 ms (165/s)
0.823904 ms (1210/s)
0.841923 ms (1180/s)
0.844353 ms (1180/s)
0.829044 ms (1200/s)
0.830385 ms (1200/s)
0.956714 ms (1040/s)
0.829798 ms (1200/s)
0.848767 ms (1170/s)
0.849046 ms (1170/s)
0.818652 ms (1220/s)
0.824798 ms (1210/s)
0.905841 ms (1100/s)
30000 30.372017 ms (32/s)
30.375928 ms (32/s)
30.674848 ms (32/s)
- - - 4.172541 ms (239/s)
4.190197 ms (238/s)
4.207602 ms (237/s)
- - -
100000 0.146754 s
0.209808 s
0.210743 s
- - - 14.343722 ms (69/s)
14.468599 ms (69/s)
14.557995 ms (68/s)
- - -
300000 0.727050 s
1.242440 s
1.290370 s
- - - 54.658902 ms (18/s)
54.717010 ms (18/s)
54.989950 ms (18/s)
- - -
1000000 7.919089 s
7.920678 s
7.982036 s
- - - 0.213945 s
0.215249 s
0.217178 s
- - -

Division (x/y, mpf_div(x,y,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.012106 ms (82600/s)
0.012107 ms (82500/s)
0.012290 ms (81300/s)
0.005821 ms (171000/s)
0.005838 ms (171000/s)
0.007768 ms (128000/s)
0.008567 ms (116000/s)
0.008597 ms (116000/s)
0.008652 ms (115000/s)
0.003305 ms (302000/s)
0.003329 ms (300000/s)
0.045159 ms (22100/s)
0.012935 ms (77300/s)
0.012960 ms (77100/s)
0.012968 ms (77100/s)
0.006502 ms (153000/s)
0.006507 ms (153000/s)
0.009090 ms (110000/s)
0.009173 ms (109000/s)
0.009184 ms (108000/s)
0.009234 ms (108000/s)
0.003618 ms (276000/s)
0.003636 ms (275000/s)
0.093559 ms (10600/s)
30 0.014489 ms (69000/s)
0.015605 ms (64000/s)
0.015678 ms (63700/s)
0.007913 ms (126000/s)
0.008391 ms (119000/s)
0.011168 ms (89500/s)
0.010589 ms (94400/s)
0.011842 ms (84400/s)
0.011910 ms (83900/s)
0.005098 ms (196000/s)
0.005451 ms (183000/s)
0.047324 ms (21100/s)
0.014815 ms (67400/s)
0.016141 ms (61900/s)
0.016327 ms (61200/s)
0.008160 ms (122000/s)
0.008249 ms (121000/s)
0.013110 ms (76200/s)
0.010823 ms (92300/s)
0.011916 ms (83900/s)
0.012506 ms (79900/s)
0.005016 ms (199000/s)
0.005242 ms (190000/s)
0.102723 ms (9730/s)
100 0.018954 ms (52700/s)
0.019290 ms (51800/s)
0.021586 ms (46300/s)
0.012834 ms (77900/s)
0.013962 ms (71600/s)
0.015502 ms (64500/s)
0.015970 ms (62600/s)
0.016169 ms (61800/s)
0.017783 ms (56200/s)
0.010293 ms (97100/s)
0.011061 ms (90400/s)
0.096437 ms (10300/s)
0.014118 ms (70800/s)
0.014214 ms (70300/s)
0.016695 ms (59800/s)
0.007755 ms (128000/s)
0.008687 ms (115000/s)
0.011917 ms (83900/s)
0.010328 ms (96800/s)
0.010420 ms (95900/s)
0.012024 ms (83100/s)
0.004596 ms (217000/s)
0.005568 ms (179000/s)
0.095850 ms (10400/s)
300 0.061183 ms (16300/s)
0.062641 ms (15900/s)
0.064789 ms (15400/s)
0.053176 ms (18800/s)
0.053903 ms (18500/s)
0.056272 ms (17700/s)
0.057858 ms (17200/s)
0.058475 ms (17100/s)
0.060048 ms (16600/s)
0.049162 ms (20300/s)
0.050776 ms (19600/s)
0.140604 ms (7110/s)
0.020082 ms (49700/s)
0.021319 ms (46900/s)
0.021609 ms (46200/s)
0.012745 ms (78400/s)
0.013689 ms (73000/s)
0.016501 ms (60600/s)
0.015602 ms (64000/s)
0.017080 ms (58500/s)
0.017172 ms (58200/s)
0.009435 ms (105000/s)
0.010365 ms (96400/s)
0.101410 ms (9860/s)
1000 0.441578 ms (2260/s)
0.449750 ms (2220/s)
0.452488 ms (2210/s)
0.435460 ms (2290/s)
0.444274 ms (2250/s)
0.485453 ms (2050/s)
0.445699 ms (2240/s)
0.455253 ms (2190/s)
0.458983 ms (2170/s)
0.460519 ms (2170/s)
0.466344 ms (2140/s)
0.572084 ms (1740/s)
0.052821 ms (18900/s)
0.056322 ms (17700/s)
0.056790 ms (17600/s)
0.048571 ms (20500/s)
0.050154 ms (19900/s)
0.053820 ms (18500/s)
0.048277 ms (20700/s)
0.051244 ms (19500/s)
0.051710 ms (19300/s)
0.042961 ms (23200/s)
0.046245 ms (21600/s)
0.141303 ms (7070/s)
3000 3.939355 ms (253/s)
3.943015 ms (253/s)
3.951675 ms (253/s)
3.833839 ms (260/s)
3.977656 ms (251/s)
3.980003 ms (251/s)
3.877532 ms (257/s)
3.878258 ms (257/s)
3.908011 ms (255/s)
3.841941 ms (260/s)
3.951424 ms (253/s)
3.951620 ms (253/s)
0.259018 ms (3860/s)
0.262464 ms (3810/s)
0.269168 ms (3710/s)
0.250367 ms (3990/s)
0.252295 ms (3960/s)
0.273443 ms (3650/s)
0.255135 ms (3910/s)
0.255703 ms (3910/s)
0.264810 ms (3770/s)
0.245534 ms (4070/s)
0.247441 ms (4040/s)
0.403068 ms (2480/s)
10000 38.288945 ms (26/s)
38.372475 ms (26/s)
38.409351 ms (26/s)
38.459637 ms (26/s)
38.480310 ms (25/s)
38.568310 ms (25/s)
38.336437 ms (26/s)
38.342862 ms (26/s)
38.346214 ms (26/s)
38.347891 ms (26/s)
38.692348 ms (25/s)
38.714976 ms (25/s)
1.766761 ms (566/s)
1.777991 ms (562/s)
1.902253 ms (525/s)
1.758911 ms (568/s)
1.782852 ms (560/s)
1.954494 ms (511/s)
1.773745 ms (563/s)
1.794474 ms (557/s)
1.894263 ms (527/s)
1.763241 ms (567/s)
1.773801 ms (563/s)
1.975866 ms (506/s)
30000 0.342486 s
0.342619 s
0.343444 s
- - - 9.593761 ms (104/s)
9.613205 ms (104/s)
9.824573 ms (101/s)
- - -
100000 3.814403 s
3.837418 s
3.844546 s
- - - 52.359448 ms (19/s)
52.460299 ms (19/s)
52.486000 ms (19/s)
- - -
300000 - - - - 0.224774 s
0.225436 s
0.227425 s
- - -
1000000 - - - - 1.059703 s
1.080868 s
1.082923 s
- - -

Integer power (x**5, mpf_pow_int(x,5,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.015606 ms (64000/s)
0.017372 ms (57500/s)
0.018019 ms (55400/s)
0.010130 ms (98700/s)
0.010465 ms (95500/s)
0.104622 ms (9550/s)
0.010150 ms (98500/s)
0.011666 ms (85700/s)
0.011796 ms (84700/s)
0.006107 ms (163000/s)
0.006252 ms (159000/s)
0.048721 ms (20500/s)
0.013815 ms (72300/s)
0.015889 ms (62900/s)
0.016277 ms (61400/s)
0.009047 ms (110000/s)
0.009706 ms (103000/s)
0.126217 ms (7920/s)
0.007542 ms (132000/s)
0.009390 ms (106000/s)
0.009580 ms (104000/s)
0.003163 ms (316000/s)
0.004072 ms (245000/s)
0.089788 ms (11100/s)
30 0.020492 ms (48700/s)
0.022387 ms (44600/s)
0.022888 ms (43600/s)
0.014281 ms (70000/s)
0.016836 ms (59300/s)
0.109818 ms (9100/s)
0.014089 ms (70900/s)
0.015837 ms (63100/s)
0.015917 ms (62800/s)
0.009835 ms (101000/s)
0.010875 ms (91900/s)
0.050439 ms (19800/s)
0.014476 ms (69000/s)
0.016288 ms (61300/s)
0.016296 ms (61300/s)
0.009830 ms (101000/s)
0.011147 ms (89700/s)
0.120490 ms (8290/s)
0.007959 ms (125000/s)
0.009843 ms (101000/s)
0.009918 ms (100000/s)
0.004212 ms (237000/s)
0.005547 ms (180000/s)
0.044447 ms (22400/s)
100 0.028380 ms (35200/s)
0.030485 ms (32800/s)
0.030487 ms (32800/s)
0.016362 ms (61100/s)
0.016997 ms (58800/s)
0.173374 ms (5760/s)
0.022744 ms (43900/s)
0.024239 ms (41200/s)
0.024261 ms (41200/s)
0.011564 ms (86400/s)
0.012537 ms (79700/s)
0.155970 ms (6410/s)
0.026550 ms (37600/s)
0.028395 ms (35200/s)
0.028448 ms (35100/s)
0.013621 ms (73400/s)
0.014384 ms (69500/s)
0.208351 ms (4790/s)
0.019531 ms (51200/s)
0.021118 ms (47300/s)
0.021346 ms (46800/s)
0.007694 ms (129000/s)
0.008309 ms (120000/s)
0.186700 ms (5350/s)
300 0.059427 ms (16800/s)
0.059835 ms (16700/s)
0.060158 ms (16600/s)
0.046225 ms (21600/s)
0.047618 ms (21000/s)
0.211479 ms (4720/s)
0.051829 ms (19200/s)
0.053265 ms (18700/s)
0.053846 ms (18500/s)
0.042398 ms (23500/s)
0.042738 ms (23300/s)
0.193153 ms (5170/s)
0.034779 ms (28700/s)
0.036459 ms (27400/s)
0.036547 ms (27300/s)
0.022013 ms (45400/s)
0.023483 ms (42500/s)
0.219106 ms (4560/s)
0.027899 ms (35800/s)
0.029534 ms (33800/s)
0.029613 ms (33700/s)
0.015669 ms (63800/s)
0.017432 ms (57300/s)
0.175050 ms (5710/s)
1000 0.296397 ms (3370/s)
0.300895 ms (3320/s)
0.301258 ms (3310/s)
0.284599 ms (3510/s)
0.286545 ms (3480/s)
0.469026 ms (2130/s)
0.288519 ms (3460/s)
0.293873 ms (3400/s)
0.306678 ms (3260/s)
0.279970 ms (3570/s)
0.288724 ms (3460/s)
0.446258 ms (2240/s)
0.084952 ms (11700/s)
0.087073 ms (11400/s)
0.087825 ms (11300/s)
0.072731 ms (13700/s)
0.074546 ms (13400/s)
0.263385 ms (3790/s)
0.077745 ms (12800/s)
0.079761 ms (12500/s)
0.080572 ms (12400/s)
0.065225 ms (15300/s)
0.065479 ms (15200/s)
0.230281 ms (4340/s)
3000 1.904544 ms (525/s)
1.906723 ms (524/s)
1.918819 ms (521/s)
1.894906 ms (527/s)
1.933123 ms (517/s)
2.043472 ms (489/s)
1.899348 ms (526/s)
1.909097 ms (523/s)
1.925971 ms (519/s)
1.903734 ms (525/s)
1.913092 ms (522/s)
2.049143 ms (488/s)
0.356400 ms (2800/s)
0.357015 ms (2800/s)
0.366024 ms (2730/s)
0.335350 ms (2980/s)
0.348005 ms (2870/s)
0.552025 ms (1810/s)
0.347810 ms (2870/s)
0.350687 ms (2850/s)
0.354458 ms (2820/s)
0.328617 ms (3040/s)
0.339750 ms (2940/s)
0.511629 ms (1950/s)
10000 11.996497 ms (83/s)
12.091760 ms (82/s)
12.263011 ms (81/s)
12.074719 ms (82/s)
12.216357 ms (81/s)
13.526859 ms (73/s)
11.992586 ms (83/s)
12.005436 ms (83/s)
12.060471 ms (82/s)
11.997335 ms (83/s)
12.144840 ms (82/s)
13.227938 ms (75/s)
2.083645 ms (479/s)
2.111916 ms (473/s)
2.112531 ms (473/s)
2.068168 ms (483/s)
2.135327 ms (468/s)
2.266852 ms (441/s)
2.064927 ms (484/s)
2.081549 ms (480/s)
2.104010 ms (475/s)
2.054200 ms (486/s)
2.073979 ms (482/s)
2.246487 ms (445/s)
30000 69.540402 ms (14/s)
69.591806 ms (14/s)
69.691260 ms (14/s)
- - - 10.488651 ms (95/s)
10.509576 ms (95/s)
10.536926 ms (94/s)
- - -
100000 0.388745 s
0.481358 s
0.483093 s
- - - 36.623928 ms (27/s)
36.627560 ms (27/s)
37.366760 ms (26/s)
- - -
300000 2.308087 s
2.784469 s
2.786506 s
- - - 0.135186 s
0.136230 s
0.170014 s
- - -
1000000 - - - - 0.537057 s
0.538761 s
0.548181 s
- - -

Square root (sqrt(x), mpf_sqrt(x,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.024086 ms (41500/s)
0.024955 ms (40000/s)
0.026739 ms (37300/s)
0.013816 ms (72300/s)
0.016171 ms (61800/s)
0.133732 ms (7470/s)
0.018791 ms (53200/s)
0.020336 ms (49100/s)
0.032174 ms (31000/s)
0.007272 ms (137000/s)
0.009292 ms (107000/s)
0.122725 ms (8140/s)
0.018238 ms (54800/s)
0.019992 ms (50000/s)
0.024433 ms (40900/s)
0.010710 ms (93300/s)
0.011447 ms (87300/s)
0.145605 ms (6860/s)
0.014225 ms (70200/s)
0.015516 ms (64400/s)
0.017920 ms (55800/s)
0.004707 ms (212000/s)
0.005282 ms (189000/s)
0.129486 ms (7720/s)
30 0.028634 ms (34900/s)
0.029786 ms (33500/s)
0.031602 ms (31600/s)
0.017063 ms (58600/s)
0.018641 ms (53600/s)
0.146024 ms (6840/s)
0.023970 ms (41700/s)
0.025465 ms (39200/s)
0.025496 ms (39200/s)
0.010842 ms (92200/s)
0.011594 ms (86200/s)
0.135380 ms (7380/s)
0.020297 ms (49200/s)
0.022057 ms (45300/s)
0.022276 ms (44800/s)
0.012700 ms (78700/s)
0.013115 ms (76200/s)
0.139180 ms (7180/s)
0.015917 ms (62800/s)
0.017883 ms (55900/s)
0.018198 ms (54900/s)
0.006888 ms (145000/s)
0.007171 ms (139000/s)
0.124513 ms (8030/s)
100 0.045082 ms (22100/s)
0.045464 ms (21900/s)
0.046476 ms (21500/s)
0.029055 ms (34400/s)
0.039893 ms (25000/s)
0.183319 ms (5450/s)
0.039576 ms (25200/s)
0.040111 ms (24900/s)
0.041148 ms (24300/s)
0.021102 ms (47300/s)
0.030143 ms (33100/s)
0.188599 ms (5300/s)
0.022322 ms (44700/s)
0.023140 ms (43200/s)
0.024111 ms (41400/s)
0.014253 ms (70100/s)
0.025990 ms (38400/s)
0.143314 ms (6970/s)
0.018674 ms (53500/s)
0.018798 ms (53100/s)
0.019736 ms (50600/s)
0.007519 ms (132000/s)
0.013822 ms (72300/s)
0.126301 ms (7910/s)
300 0.086899 ms (11500/s)
0.087584 ms (11400/s)
0.088283 ms (11300/s)
0.065541 ms (15200/s)
0.088000 ms (11300/s)
0.229079 ms (4360/s)
0.082259 ms (12100/s)
0.082413 ms (12100/s)
0.084932 ms (11700/s)
0.058918 ms (16900/s)
0.078641 ms (12700/s)
0.217151 ms (4600/s)
0.026253 ms (38000/s)
0.027435 ms (36400/s)
0.028050 ms (35600/s)
0.018723 ms (53400/s)
0.028551 ms (35000/s)
0.141694 ms (7050/s)
0.021761 ms (45900/s)
0.023121 ms (43200/s)
0.023432 ms (42600/s)
0.013092 ms (76300/s)
0.016573 ms (60300/s)
0.127977 ms (7810/s)
1000 0.390888 ms (2550/s)
0.392480 ms (2540/s)
0.394701 ms (2530/s)
0.376710 ms (2650/s)
0.377744 ms (2640/s)
0.608038 ms (1640/s)
0.380579 ms (2620/s)
0.383959 ms (2600/s)
0.384588 ms (2600/s)
0.357224 ms (2790/s)
0.357923 ms (2790/s)
0.537303 ms (1860/s)
0.051789 ms (19300/s)
0.052409 ms (19000/s)
0.056422 ms (17700/s)
0.043784 ms (22800/s)
0.045171 ms (22100/s)
0.165831 ms (6030/s)
0.046718 ms (21400/s)
0.047637 ms (20900/s)
0.052711 ms (18900/s)
0.036313 ms (27500/s)
0.037877 ms (26400/s)
0.150634 ms (6630/s)
3000 2.776889 ms (360/s)
2.778230 ms (359/s)
2.865336 ms (348/s)
2.801976 ms (356/s)
2.846172 ms (351/s)
2.924757 ms (341/s)
2.764821 ms (361/s)
2.782700 ms (359/s)
2.806167 ms (356/s)
2.764877 ms (361/s)
2.769654 ms (361/s)
2.967500 ms (336/s)
0.192119 ms (5200/s)
0.196990 ms (5070/s)
0.198049 ms (5040/s)
0.183118 ms (5460/s)
0.203420 ms (4910/s)
0.326354 ms (3060/s)
0.186163 ms (5370/s)
0.187398 ms (5330/s)
0.191596 ms (5210/s)
0.175391 ms (5700/s)
0.191393 ms (5220/s)
0.306519 ms (3260/s)
10000 19.270606 ms (51/s)
19.624002 ms (50/s)
21.834898 ms (45/s)
19.493260 ms (51/s)
21.164701 ms (47/s)
21.594085 ms (46/s)
19.299660 ms (51/s)
19.353856 ms (51/s)
21.254657 ms (47/s)
19.553044 ms (51/s)
20.982276 ms (47/s)
21.108269 ms (47/s)
1.253372 ms (797/s)
1.258233 ms (794/s)
1.263596 ms (791/s)
1.257897 ms (794/s)
1.265496 ms (790/s)
1.368163 ms (730/s)
1.245047 ms (803/s)
1.252589 ms (798/s)
1.253036 ms (798/s)
1.248734 ms (800/s)
1.249265 ms (800/s)
1.369029 ms (730/s)
30000 96.375377 ms (10/s)
0.103729 s
0.114479 s
- - - 6.809525 ms (146/s)
6.830282 ms (146/s)
6.855229 ms (145/s)
- - -
100000 0.564704 s
0.742337 s
0.824952 s
- - - 38.367726 ms (26/s)
38.389795 ms (26/s)
38.713580 ms (25/s)
- - -
300000 3.948471 s
4.188190 s
4.722467 s
- - - 0.176821 s
0.176975 s
0.177749 s
- - -
1000000 - - - - 0.865313 s
0.866032 s
0.877918 s
- - -

Cube root (cbrt(x), mpf_cbrt(x,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.033643 ms (29700/s)
0.034420 ms (29000/s)
0.035944 ms (27800/s)
0.017433 ms (57300/s)
0.018284 ms (54600/s)
0.176782 ms (5650/s)
0.028837 ms (34600/s)
0.029436 ms (33900/s)
0.029584 ms (33800/s)
0.010191 ms (98100/s)
0.010676 ms (93600/s)
0.144935 ms (6890/s)
0.033646 ms (29700/s)
0.034476 ms (29000/s)
0.035002 ms (28500/s)
0.017142 ms (58300/s)
0.018794 ms (53200/s)
0.205920 ms (4850/s)
0.028911 ms (34500/s)
0.029991 ms (33300/s)
0.030030 ms (33300/s)
0.009417 ms (106000/s)
0.010832 ms (92300/s)
0.185331 ms (5390/s)
30 0.042121 ms (23700/s)
0.042506 ms (23500/s)
0.043353 ms (23000/s)
0.021499 ms (46500/s)
0.022691 ms (44000/s)
0.198321 ms (5040/s)
0.037266 ms (26800/s)
0.037462 ms (26600/s)
0.038288 ms (26100/s)
0.014101 ms (70900/s)
0.015011 ms (66600/s)
0.171977 ms (5810/s)
0.040599 ms (24600/s)
0.041035 ms (24300/s)
0.044020 ms (22700/s)
0.019454 ms (51400/s)
0.021463 ms (46500/s)
0.239500 ms (4170/s)
0.035509 ms (28100/s)
0.035724 ms (27900/s)
0.037389 ms (26700/s)
0.011577 ms (86300/s)
0.013847 ms (72200/s)
0.197735 ms (5050/s)
100 0.065625 ms (15200/s)
0.066289 ms (15000/s)
0.066501 ms (15000/s)
0.038119 ms (26200/s)
0.039091 ms (25500/s)
0.225420 ms (4430/s)
0.060117 ms (16600/s)
0.060730 ms (16400/s)
0.061119 ms (16300/s)
0.030367 ms (32900/s)
0.032508 ms (30700/s)
0.204691 ms (4880/s)
0.052439 ms (19000/s)
0.053037 ms (18800/s)
0.053467 ms (18700/s)
0.024676 ms (40500/s)
0.026099 ms (38300/s)
0.270537 ms (3690/s)
0.046217 ms (21600/s)
0.048084 ms (20700/s)
0.048113 ms (20700/s)
0.016377 ms (61000/s)
0.017819 ms (56100/s)
0.202232 ms (4940/s)
300 0.142434 ms (7020/s)
0.142444 ms (7020/s)
0.154321 ms (6470/s)
0.107674 ms (9280/s)
0.108575 ms (9210/s)
0.311464 ms (3210/s)
0.135580 ms (7370/s)
0.136446 ms (7320/s)
0.139800 ms (7150/s)
0.096480 ms (10300/s)
0.098744 ms (10100/s)
0.305793 ms (3270/s)
0.075450 ms (13200/s)
0.077158 ms (12900/s)
0.078518 ms (12700/s)
0.037854 ms (26400/s)
0.039336 ms (25400/s)
0.303251 ms (3290/s)
0.069203 ms (14400/s)
0.071308 ms (14000/s)
0.073178 ms (13600/s)
0.031246 ms (32000/s)
0.031548 ms (31600/s)
0.234276 ms (4260/s)
1000 0.811053 ms (1230/s)
0.813316 ms (1220/s)
0.815523 ms (1220/s)
0.715733 ms (1390/s)
0.726601 ms (1370/s)
0.918580 ms (1080/s)
0.768841 ms (1300/s)
0.782781 ms (1270/s)
0.788508 ms (1260/s)
0.735987 ms (1350/s)
0.743111 ms (1340/s)
0.920005 ms (1080/s)
0.149316 ms (6690/s)
0.151914 ms (6580/s)
0.151926 ms (6580/s)
0.104085 ms (9600/s)
0.105282 ms (9490/s)
0.385244 ms (2590/s)
0.142821 ms (7000/s)
0.144953 ms (6890/s)
0.145542 ms (6870/s)
0.095102 ms (10500/s)
0.099000 ms (10100/s)
0.293194 ms (3410/s)
3000 5.655216 ms (176/s)
5.656417 ms (176/s)
5.660328 ms (176/s)
5.521037 ms (181/s)
5.537743 ms (180/s)
5.886810 ms (169/s)
5.550901 ms (180/s)
5.611914 ms (178/s)
5.661250 ms (176/s)
5.520366 ms (181/s)
5.546291 ms (180/s)
5.781210 ms (172/s)
0.556188 ms (1790/s)
0.564401 ms (1770/s)
0.573648 ms (1740/s)
0.475130 ms (2100/s)
0.503919 ms (1980/s)
0.732635 ms (1360/s)
0.547276 ms (1820/s)
0.548086 ms (1820/s)
0.557836 ms (1790/s)
0.474125 ms (2100/s)
0.495119 ms (2010/s)
0.673465 ms (1480/s)
10000 53.300908 ms (18/s)
53.428299 ms (18/s)
53.462940 ms (18/s)
53.260680 ms (18/s)
53.552896 ms (18/s)
55.078509 ms (18/s)
52.951143 ms (18/s)
53.425505 ms (18/s)
53.443943 ms (18/s)
53.476350 ms (18/s)
53.549543 ms (18/s)
55.502585 ms (18/s)
3.129616 ms (319/s)
3.134337 ms (319/s)
3.147858 ms (317/s)
3.058433 ms (326/s)
3.088745 ms (323/s)
3.294525 ms (303/s)
3.125509 ms (319/s)
3.134337 ms (319/s)
3.139421 ms (318/s)
3.036531 ms (329/s)
3.053349 ms (327/s)
3.282261 ms (304/s)
30000 0.467656 s
0.468541 s
0.468551 s
- - - 15.064205 ms (66/s)
15.119519 ms (66/s)
15.263392 ms (65/s)
- - -
100000 5.151553 s
5.176260 s
5.214266 s
- - - 90.220964 ms (11/s)
90.295834 ms (11/s)
90.646716 ms (11/s)
- - -
300000 - - - - 0.400995 s
0.402120 s
0.402763 s
- - -
1000000 - - - - 1.902488 s
1.905882 s
1.951732 s
- - -

Complex addition (w+z, mpc_add(w,z,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.017511 ms (57100/s)
0.019564 ms (51100/s)
0.021830 ms (45800/s)
0.008894 ms (112000/s)
0.031415 ms (31800/s)
0.116635 ms (8570/s)
0.014123 ms (70800/s)
0.015505 ms (64400/s)
0.017506 ms (57100/s)
0.006171 ms (162000/s)
0.027252 ms (36600/s)
0.107081 ms (9330/s)
0.018340 ms (54500/s)
0.020770 ms (48100/s)
0.023470 ms (42600/s)
0.011002 ms (90800/s)
0.062159 ms (16000/s)
0.134654 ms (7420/s)
0.015478 ms (64600/s)
0.016789 ms (59500/s)
0.019509 ms (51200/s)
0.008166 ms (122000/s)
0.058080 ms (17200/s)
0.125714 ms (7950/s)
30 0.012020 ms (83100/s)
0.019134 ms (52200/s)
0.021353 ms (46800/s)
0.004572 ms (218000/s)
0.011320 ms (88300/s)
0.154293 ms (6480/s)
0.007705 ms (129000/s)
0.015455 ms (64700/s)
0.017347 ms (57600/s)
0.002417 ms (413000/s)
0.009130 ms (109000/s)
0.142616 ms (7010/s)
0.012332 ms (81000/s)
0.020702 ms (48300/s)
0.022620 ms (44200/s)
0.005026 ms (198000/s)
0.015058 ms (66400/s)
0.219469 ms (4550/s)
0.008094 ms (123000/s)
0.016908 ms (59100/s)
0.018857 ms (53000/s)
0.002833 ms (352000/s)
0.012285 ms (81300/s)
0.164378 ms (6080/s)
100 0.017628 ms (56700/s)
0.023106 ms (43200/s)
0.023111 ms (43200/s)
0.009764 ms (102000/s)
0.028719 ms (34800/s)
0.121803 ms (8200/s)
0.014075 ms (71000/s)
0.019269 ms (51800/s)
0.019315 ms (51700/s)
0.007392 ms (135000/s)
0.024668 ms (40500/s)
0.111914 ms (8930/s)
0.018553 ms (53800/s)
0.023919 ms (41800/s)
0.024109 ms (41400/s)
0.010684 ms (93500/s)
0.027420 ms (36400/s)
0.148483 ms (6730/s)
0.014367 ms (69600/s)
0.020091 ms (49700/s)
0.020238 ms (49400/s)
0.007631 ms (131000/s)
0.024919 ms (40100/s)
0.137392 ms (7270/s)
300 0.022680 ms (44000/s)
0.023258 ms (42900/s)
0.026147 ms (38200/s)
0.014257 ms (70100/s)
0.032825 ms (30400/s)
0.121887 ms (8200/s)
0.018312 ms (54600/s)
0.019845 ms (50300/s)
0.022072 ms (45300/s)
0.011449 ms (87300/s)
0.029669 ms (33700/s)
0.121831 ms (8200/s)
0.021212 ms (47100/s)
0.021787 ms (45800/s)
0.024469 ms (40800/s)
0.013616 ms (73400/s)
0.085206 ms (11700/s)
0.137755 ms (7250/s)
0.017576 ms (56800/s)
0.017994 ms (55500/s)
0.020402 ms (49000/s)
0.015522 ms (64400/s)
0.027322 ms (36600/s)
0.124848 ms (8000/s)
1000 0.022425 ms (44500/s)
0.027855 ms (35900/s)
0.032371 ms (30800/s)
0.018745 ms (53300/s)
0.019325 ms (51700/s)
0.158456 ms (6310/s)
0.018414 ms (54300/s)
0.023654 ms (42200/s)
0.028349 ms (35200/s)
0.015855 ms (63000/s)
0.016650 ms (60000/s)
0.145633 ms (6860/s)
0.015993 ms (62500/s)
0.018152 ms (55000/s)
0.022008 ms (45400/s)
0.008821 ms (113000/s)
0.013130 ms (76100/s)
0.168290 ms (5940/s)
0.011868 ms (84200/s)
0.014090 ms (70900/s)
0.017476 ms (57200/s)
0.005809 ms (172000/s)
0.009952 ms (100000/s)
0.180665 ms (5530/s)
3000 0.054147 ms (18400/s)
0.062562 ms (15900/s)
0.074381 ms (13400/s)
0.049727 ms (20100/s)
0.063288 ms (15800/s)
0.182900 ms (5460/s)
0.049930 ms (20000/s)
0.057437 ms (17400/s)
0.069169 ms (14400/s)
0.045031 ms (22200/s)
0.059100 ms (16900/s)
0.172033 ms (5810/s)
0.023079 ms (43300/s)
0.027665 ms (36100/s)
0.028198 ms (35400/s)
0.013300 ms (75100/s)
0.017125 ms (58300/s)
0.174603 ms (5720/s)
0.019061 ms (52400/s)
0.023594 ms (42300/s)
0.023818 ms (41900/s)
0.010451 ms (95600/s)
0.014008 ms (71300/s)
0.159657 ms (6260/s)
10000 0.120110 ms (8320/s)
0.128839 ms (7760/s)
0.129266 ms (7730/s)
0.115992 ms (8620/s)
0.116300 ms (8590/s)
0.264726 ms (3770/s)
0.115109 ms (8680/s)
0.123815 ms (8070/s)
0.124836 ms (8010/s)
0.112007 ms (8920/s)
0.112270 ms (8900/s)
0.249026 ms (4010/s)
0.029697 ms (33600/s)
0.030444 ms (32800/s)
0.031486 ms (31700/s)
0.017757 ms (56300/s)
0.023858 ms (41900/s)
0.182090 ms (5490/s)
0.025881 ms (38600/s)
0.026223 ms (38100/s)
0.026404 ms (37800/s)
0.015258 ms (65500/s)
0.020443 ms (48900/s)
0.168262 ms (5940/s)
30000 0.311026 ms (3210/s)
0.426786 ms (2340/s)
0.529076 ms (1890/s)
- - - 0.045648 ms (21900/s)
0.052729 ms (18900/s)
0.064567 ms (15400/s)
- - -
100000 1.321006 ms (756/s)
1.420683 ms (703/s)
1.491642 ms (670/s)
- - - 0.110475 ms (9050/s)
0.113203 ms (8830/s)
0.127569 ms (7830/s)
- - -
300000 3.169732 ms (315/s)
4.771919 ms (209/s)
6.168158 ms (162/s)
- - - 0.422051 ms (2360/s)
0.544315 ms (1830/s)
0.669582 ms (1490/s)
- - -
1000000 9.727968 ms (102/s)
11.484421 ms (87/s)
14.040891 ms (71/s)
- - - 2.411312 ms (414/s)
2.833489 ms (352/s)
3.858200 ms (259/s)
- - -

Complex subtraction (w-z, mpc_sub(w,z,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.016489 ms (60600/s)
0.016494 ms (60600/s)
0.021730 ms (46000/s)
0.010783 ms (92700/s)
0.015933 ms (62700/s)
0.120099 ms (8320/s)
0.012107 ms (82600/s)
0.012179 ms (82100/s)
0.015948 ms (62700/s)
0.013037 ms (76700/s)
0.022657 ms (44100/s)
0.109148 ms (9160/s)
0.015905 ms (62800/s)
0.016292 ms (61300/s)
0.021543 ms (46400/s)
0.008809 ms (113000/s)
0.016911 ms (59100/s)
0.141135 ms (7080/s)
0.011662 ms (85700/s)
0.011703 ms (85400/s)
0.017833 ms (56000/s)
0.005797 ms (172000/s)
0.013326 ms (75000/s)
0.129793 ms (7700/s)
30 0.016396 ms (60900/s)
0.019416 ms (51500/s)
0.019478 ms (51300/s)
0.007867 ms (127000/s)
0.010610 ms (94200/s)
0.143147 ms (6980/s)
0.012451 ms (80300/s)
0.014584 ms (68500/s)
0.016580 ms (60300/s)
0.005239 ms (190000/s)
0.008236 ms (121000/s)
0.133341 ms (7490/s)
0.015869 ms (63000/s)
0.019559 ms (51100/s)
0.019709 ms (50700/s)
0.008802 ms (113000/s)
0.009037 ms (110000/s)
0.161976 ms (6170/s)
0.011725 ms (85200/s)
0.015242 ms (65600/s)
0.015340 ms (65100/s)
0.004382 ms (228000/s)
0.005834 ms (171000/s)
0.156165 ms (6400/s)
100 0.023335 ms (42800/s)
0.023520 ms (42500/s)
0.026569 ms (37600/s)
0.010742 ms (93000/s)
0.030968 ms (32200/s)
0.136135 ms (7340/s)
0.018522 ms (53900/s)
0.018781 ms (53200/s)
0.021896 ms (45600/s)
0.007274 ms (137000/s)
0.026442 ms (37800/s)
0.126357 ms (7910/s)
0.015962 ms (62600/s)
0.016557 ms (60300/s)
0.020127 ms (49600/s)
0.006089 ms (164000/s)
0.026637 ms (37500/s)
0.142951 ms (6990/s)
0.011503 ms (86900/s)
0.011520 ms (86800/s)
0.015138 ms (66000/s)
0.003238 ms (308000/s)
0.023034 ms (43400/s)
0.131721 ms (7590/s)
300 0.024410 ms (40900/s)
0.026787 ms (37300/s)
0.027618 ms (36200/s)
0.017181 ms (58200/s)
0.037658 ms (26500/s)
0.114456 ms (8730/s)
0.019613 ms (50900/s)
0.022052 ms (45300/s)
0.022497 ms (44400/s)
0.013069 ms (76500/s)
0.033426 ms (29900/s)
0.101661 ms (9830/s)
0.016570 ms (60300/s)
0.019708 ms (50700/s)
0.020166 ms (49500/s)
0.011240 ms (88900/s)
0.031470 ms (31700/s)
0.125156 ms (7990/s)
0.011639 ms (85900/s)
0.015013 ms (66600/s)
0.015154 ms (65900/s)
0.007291 ms (137000/s)
0.028537 ms (35000/s)
0.107611 ms (9290/s)
1000 0.028823 ms (34600/s)
0.031867 ms (31300/s)
0.032699 ms (30500/s)
0.016483 ms (60600/s)
0.038231 ms (26100/s)
0.162758 ms (6140/s)
0.024114 ms (41400/s)
0.027197 ms (36700/s)
0.027333 ms (36500/s)
0.012343 ms (81000/s)
0.017801 ms (56100/s)
0.150494 ms (6640/s)
0.017006 ms (58800/s)
0.019987 ms (50000/s)
0.020569 ms (48600/s)
0.006727 ms (148000/s)
0.012627 ms (79100/s)
0.168960 ms (5910/s)
0.012549 ms (79600/s)
0.015855 ms (63000/s)
0.015972 ms (62600/s)
0.004157 ms (240000/s)
0.007794 ms (128000/s)
0.157338 ms (6350/s)
3000 0.038044 ms (26200/s)
0.038415 ms (26000/s)
0.042338 ms (23600/s)
0.026040 ms (38400/s)
0.035880 ms (27800/s)
0.167619 ms (5960/s)
0.032976 ms (30300/s)
0.034491 ms (28900/s)
0.039083 ms (25500/s)
0.022473 ms (44400/s)
0.030721 ms (32500/s)
0.154629 ms (6460/s)
0.018332 ms (54500/s)
0.018559 ms (53800/s)
0.021797 ms (45800/s)
0.008187 ms (122000/s)
0.014248 ms (70100/s)
0.157450 ms (6350/s)
0.013852 ms (72100/s)
0.014368 ms (69500/s)
0.017479 ms (57200/s)
0.004987 ms (200000/s)
0.011196 ms (89300/s)
0.149321 ms (6690/s)
10000 0.073210 ms (13600/s)
0.074563 ms (13400/s)
0.075089 ms (13300/s)
0.059004 ms (16900/s)
0.064268 ms (15500/s)
0.206786 ms (4830/s)
0.067447 ms (14800/s)
0.067830 ms (14700/s)
0.068102 ms (14600/s)
0.055417 ms (18000/s)
0.059875 ms (16700/s)
0.193432 ms (5160/s)
0.027593 ms (36200/s)
0.028236 ms (35400/s)
0.028398 ms (35200/s)
0.015237 ms (65600/s)
0.019109 ms (52300/s)
0.172145 ms (5800/s)
0.023255 ms (43000/s)
0.023299 ms (42900/s)
0.023987 ms (41600/s)
0.010950 ms (91300/s)
0.015270 ms (65400/s)
0.164239 ms (6080/s)
30000 0.148166 ms (6740/s)
0.151211 ms (6610/s)
0.165814 ms (6030/s)
- - - 0.039637 ms (25200/s)
0.040147 ms (24900/s)
0.043197 ms (23100/s)
- - -
100000 0.633209 ms (1570/s)
0.821361 ms (1210/s)
0.864356 ms (1150/s)
- - - 0.094761 ms (10500/s)
0.102169 ms (9780/s)
0.104740 ms (9540/s)
- - -
300000 1.874428 ms (533/s)
2.244699 ms (445/s)
2.250174 ms (444/s)
- - - 0.295764 ms (3380/s)
0.308349 ms (3240/s)
0.311925 ms (3200/s)
- - -
1000000 6.801339 ms (147/s)
7.655330 ms (130/s)
7.957576 ms (125/s)
- - - 2.808541 ms (356/s)
2.977585 ms (335/s)
3.031698 ms (329/s)
- - -

Complex multiplication (w*z, mpc_mul(w,z,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.030311 ms (32900/s)
0.030514 ms (32700/s)
0.030862 ms (32400/s)
0.025962 ms (38500/s)
0.032309 ms (30900/s)
0.243858 ms (4100/s)
0.025665 ms (38900/s)
0.026576 ms (37600/s)
0.027378 ms (36500/s)
0.021763 ms (45900/s)
0.022154 ms (45100/s)
0.230113 ms (4340/s)
0.031722 ms (31500/s)
0.032217 ms (31000/s)
0.032891 ms (30400/s)
0.036192 ms (27600/s)
0.040047 ms (24900/s)
0.292328 ms (3420/s)
0.026640 ms (37500/s)
0.026966 ms (37000/s)
0.027760 ms (36000/s)
0.030618 ms (32600/s)
0.034543 ms (28900/s)
0.243327 ms (4100/s)
30 0.030451 ms (32800/s)
0.030744 ms (32500/s)
0.031159 ms (32000/s)
0.015890 ms (62900/s)
0.021211 ms (47100/s)
0.237041 ms (4210/s)
0.025554 ms (39100/s)
0.025863 ms (38600/s)
0.026524 ms (37700/s)
0.012419 ms (80500/s)
0.017300 ms (57800/s)
0.226844 ms (4400/s)
0.031092 ms (32100/s)
0.032042 ms (31200/s)
0.032269 ms (30900/s)
0.018489 ms (54000/s)
0.025664 ms (38900/s)
0.315124 ms (3170/s)
0.026834 ms (37200/s)
0.027066 ms (36900/s)
0.027637 ms (36100/s)
0.014196 ms (70400/s)
0.017991 ms (55500/s)
0.239053 ms (4180/s)
100 0.044271 ms (22500/s)
0.044438 ms (22500/s)
0.047793 ms (20900/s)
0.029730 ms (33600/s)
0.047101 ms (21200/s)
0.275342 ms (3630/s)
0.039516 ms (25300/s)
0.039857 ms (25000/s)
0.042136 ms (23700/s)
0.024852 ms (40200/s)
0.042938 ms (23200/s)
0.262659 ms (3800/s)
0.036058 ms (27700/s)
0.036204 ms (27600/s)
0.039968 ms (25000/s)
0.022662 ms (44100/s)
0.091771 ms (10800/s)
0.289925 ms (3440/s)
0.031422 ms (31800/s)
0.032498 ms (30700/s)
0.034885 ms (28600/s)
0.017801 ms (56100/s)
0.038483 ms (25900/s)
0.296909 ms (3360/s)
300 0.102527 ms (9750/s)
0.103017 ms (9700/s)
0.104662 ms (9550/s)
0.093671 ms (10600/s)
0.152897 ms (6540/s)
0.333702 ms (2990/s)
0.097266 ms (10200/s)
0.097703 ms (10200/s)
0.100919 ms (9900/s)
0.087870 ms (11300/s)
0.146695 ms (6810/s)
0.320432 ms (3120/s)
0.049842 ms (20000/s)
0.049863 ms (20000/s)
0.050062 ms (19900/s)
0.041374 ms (24100/s)
0.101521 ms (9850/s)
0.300932 ms (3320/s)
0.044363 ms (22500/s)
0.044563 ms (22400/s)
0.046113 ms (21600/s)
0.036597 ms (27300/s)
0.099510 ms (10000/s)
0.277857 ms (3590/s)
1000 0.565407 ms (1760/s)
0.573313 ms (1740/s)
0.577951 ms (1730/s)
0.561300 ms (1780/s)
0.564709 ms (1770/s)
0.776104 ms (1280/s)
0.557501 ms (1790/s)
0.565212 ms (1760/s)
0.567670 ms (1760/s)
0.564904 ms (1770/s)
0.633852 ms (1570/s)
0.773785 ms (1290/s)
0.127418 ms (7840/s)
0.128392 ms (7780/s)
0.131262 ms (7610/s)
0.117436 ms (8510/s)
0.127363 ms (7850/s)
0.397062 ms (2510/s)
0.120514 ms (8290/s)
0.123703 ms (8080/s)
0.124662 ms (8020/s)
0.111783 ms (8940/s)
0.117045 ms (8540/s)
0.347502 ms (2870/s)
3000 3.383866 ms (295/s)
3.412026 ms (293/s)
3.452869 ms (289/s)
3.376658 ms (296/s)
3.408115 ms (293/s)
3.585567 ms (278/s)
3.385877 ms (295/s)
3.386911 ms (295/s)
3.409763 ms (293/s)
3.335871 ms (299/s)
3.388364 ms (295/s)
3.586210 ms (278/s)
0.575157 ms (1730/s)
0.582895 ms (1710/s)
0.597199 ms (1670/s)
0.574682 ms (1740/s)
0.589963 ms (1690/s)
0.835302 ms (1190/s)
0.570184 ms (1750/s)
0.576610 ms (1730/s)
0.588092 ms (1700/s)
0.562530 ms (1770/s)
0.586192 ms (1700/s)
0.805912 ms (1240/s)
10000 21.539609 ms (46/s)
21.769527 ms (45/s)
21.814784 ms (45/s)
22.023469 ms (45/s)
22.046377 ms (45/s)
23.741006 ms (42/s)
21.517819 ms (46/s)
21.589336 ms (46/s)
21.691584 ms (46/s)
22.062860 ms (45/s)
22.131584 ms (45/s)
24.141057 ms (41/s)
3.298436 ms (303/s)
3.314416 ms (301/s)
3.361600 ms (297/s)
3.310644 ms (302/s)
3.342771 ms (299/s)
3.629903 ms (275/s)
3.293016 ms (303/s)
3.306091 ms (302/s)
3.329529 ms (300/s)
3.318271 ms (301/s)
3.334279 ms (299/s)
3.624930 ms (275/s)
30000 0.103259 s
0.121208 s
0.121249 s
- - - 15.142986 ms (66/s)
15.159189 ms (65/s)
15.275405 ms (65/s)
- - -
100000 0.712355 s
0.838335 s
0.862016 s
- - - 57.550610 ms (17/s)
58.168845 ms (17/s)
58.802446 ms (17/s)
- - -
300000 3.952630 s
4.970108 s
4.993425 s
- - - 0.217692 s
0.218618 s
0.220209 s
- - -
1000000 - - - - 0.863062 s
0.869381 s
0.889526 s
- - -

Complex division (w/z, mpc_div(w,z,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.064124 ms (15500/s)
0.066812 ms (14900/s)
0.068975 ms (14400/s)
0.049881 ms (20000/s)
0.114121 ms (8760/s)
0.246819 ms (4050/s)
0.060382 ms (16500/s)
0.063595 ms (15700/s)
0.064785 ms (15400/s)
0.045578 ms (21900/s)
0.111634 ms (8950/s)
0.261625 ms (3820/s)
0.066480 ms (15000/s)
0.069162 ms (14400/s)
0.070847 ms (14100/s)
0.054909 ms (18200/s)
0.185359 ms (5390/s)
0.282438 ms (3540/s)
0.061696 ms (16200/s)
0.064571 ms (15400/s)
0.066042 ms (15100/s)
0.048959 ms (20400/s)
0.149349 ms (6690/s)
0.282857 ms (3530/s)
30 0.068922 ms (14500/s)
0.071615 ms (13900/s)
0.075044 ms (13300/s)
0.031824 ms (31400/s)
0.115713 ms (8640/s)
0.265481 ms (3760/s)
0.066081 ms (15100/s)
0.067552 ms (14800/s)
0.069270 ms (14400/s)
0.025506 ms (39200/s)
0.112808 ms (8860/s)
0.276683 ms (3610/s)
0.069595 ms (14300/s)
0.072174 ms (13800/s)
0.074192 ms (13400/s)
0.030613 ms (32600/s)
0.151500 ms (6600/s)
0.299535 ms (3330/s)
0.064920 ms (15400/s)
0.069164 ms (14400/s)
0.069404 ms (14400/s)
0.025115 ms (39800/s)
0.144320 ms (6920/s)
0.301100 ms (3320/s)
100 0.097784 ms (10200/s)
0.097907 ms (10200/s)
0.101406 ms (9860/s)
0.057940 ms (17200/s)
0.144655 ms (6910/s)
0.315766 ms (3160/s)
0.093137 ms (10700/s)
0.093388 ms (10700/s)
0.094317 ms (10600/s)
0.052483 ms (19000/s)
0.141387 ms (7070/s)
0.328198 ms (3040/s)
0.077646 ms (12800/s)
0.078733 ms (12700/s)
0.079204 ms (12600/s)
0.037481 ms (26600/s)
0.152450 ms (6550/s)
0.320208 ms (3120/s)
0.072039 ms (13800/s)
0.072202 ms (13800/s)
0.073431 ms (13600/s)
0.032304 ms (30900/s)
0.190387 ms (5250/s)
0.369991 ms (2700/s)
300 0.249687 ms (4000/s)
0.251000 ms (3980/s)
0.254418 ms (3930/s)
0.221844 ms (4500/s)
0.336886 ms (2960/s)
0.443716 ms (2250/s)
0.240580 ms (4150/s)
0.245262 ms (4070/s)
0.245276 ms (4070/s)
0.215851 ms (4630/s)
0.354961 ms (2810/s)
0.455281 ms (2190/s)
0.100548 ms (9940/s)
0.100882 ms (9910/s)
0.104881 ms (9530/s)
0.068715 ms (14500/s)
0.214692 ms (4650/s)
0.313112 ms (3190/s)
0.094649 ms (10500/s)
0.095319 ms (10400/s)
0.099560 ms (10000/s)
0.063388 ms (15700/s)
0.209356 ms (4770/s)
0.311408 ms (3210/s)
1000 1.679348 ms (595/s)
1.713626 ms (583/s)
1.715246 ms (583/s)
1.660909 ms (602/s)
1.749915 ms (571/s)
1.861158 ms (537/s)
1.717704 ms (582/s)
1.733153 ms (576/s)
1.768996 ms (565/s)
1.636437 ms (611/s)
1.783830 ms (560/s)
1.872165 ms (534/s)
0.292337 ms (3420/s)
0.294376 ms (3390/s)
0.314467 ms (3170/s)
0.244119 ms (4090/s)
0.406979 ms (2450/s)
0.516071 ms (1930/s)
0.282792 ms (3530/s)
0.283043 ms (3530/s)
0.292272 ms (3420/s)
0.235735 ms (4240/s)
0.396866 ms (2510/s)
0.538197 ms (1850/s)
3000 11.166503 ms (89/s)
11.272382 ms (88/s)
11.341665 ms (88/s)
11.333284 ms (88/s)
11.676065 ms (85/s)
13.813767 ms (72/s)
11.038274 ms (90/s)
11.072636 ms (90/s)
11.220979 ms (89/s)
11.500624 ms (86/s)
11.885309 ms (84/s)
13.337729 ms (74/s)
1.359838 ms (735/s)
1.361430 ms (734/s)
1.367688 ms (731/s)
1.342321 ms (744/s)
1.398362 ms (715/s)
1.563076 ms (639/s)
1.354083 ms (738/s)
1.355256 ms (737/s)
1.373415 ms (728/s)
1.345758 ms (743/s)
1.401910 ms (713/s)
1.605539 ms (622/s)
10000 0.105070 s
0.105142 s
0.105580 s
0.105064 s
0.105472 s
0.107129 s
0.104670 s
0.104928 s
0.105002 s
0.105293 s
0.106060 s
0.107132 s
8.146398 ms (122/s)
8.153243 ms (122/s)
8.189644 ms (122/s)
8.139694 ms (122/s)
8.206211 ms (121/s)
8.304156 ms (120/s)
8.060438 ms (124/s)
8.126647 ms (123/s)
8.154360 ms (122/s)
8.083178 ms (123/s)
8.179196 ms (122/s)
8.300301 ms (120/s)
30000 0.822321 s
0.857689 s
0.861300 s
- - - 38.371637 ms (26/s)
38.961376 ms (25/s)
39.228449 ms (25/s)
- - -
100000 8.653338 s
8.726760 s
8.764549 s
- - - 0.184945 s
0.185623 s
0.185997 s
- - -
300000 - - - - 0.751161 s
0.752613 s
0.757574 s
- - -
1000000 - - - - 3.274660 s
3.328040 s
3.331840 s
- - -

Complex integer power (w**5, mpc_pow_int(w,5,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.040070 ms (24900/s)
0.040130 ms (24900/s)
0.040288 ms (24800/s)
0.021181 ms (47200/s)
0.027776 ms (36000/s)
0.151919 ms (6580/s)
0.034705 ms (28800/s)
0.034900 ms (28600/s)
0.035132 ms (28400/s)
0.016995 ms (58800/s)
0.021606 ms (46200/s)
0.130100 ms (7680/s)
0.036634 ms (27200/s)
0.037407 ms (26700/s)
0.038150 ms (26200/s)
0.018239 ms (54800/s)
0.020833 ms (48000/s)
0.190499 ms (5240/s)
0.032197 ms (31000/s)
0.032698 ms (30500/s)
0.032914 ms (30300/s)
0.013319 ms (75000/s)
0.015968 ms (62600/s)
0.184241 ms (5420/s)
30 0.055458 ms (18000/s)
0.055815 ms (17900/s)
0.059287 ms (16800/s)
0.034815 ms (28700/s)
0.039949 ms (25000/s)
0.185415 ms (5390/s)
0.050177 ms (19900/s)
0.050242 ms (19900/s)
0.053420 ms (18700/s)
0.031204 ms (32000/s)
0.033222 ms (30100/s)
0.162786 ms (6140/s)
0.042257 ms (23600/s)
0.042321 ms (23600/s)
0.045271 ms (22000/s)
0.022634 ms (44100/s)
0.023777 ms (42000/s)
0.213184 ms (4690/s)
0.037438 ms (26700/s)
0.038847 ms (25700/s)
0.040394 ms (24700/s)
0.017973 ms (55600/s)
0.018821 ms (53100/s)
0.170022 ms (5880/s)
100 0.141540 ms (7060/s)
0.145734 ms (6860/s)
0.149730 ms (6670/s)
0.128694 ms (7770/s)
0.130519 ms (7660/s)
0.272269 ms (3670/s)
0.135097 ms (7400/s)
0.139604 ms (7160/s)
0.143989 ms (6940/s)
0.128722 ms (7760/s)
0.137764 ms (7250/s)
0.247238 ms (4040/s)
0.058940 ms (16900/s)
0.063155 ms (15800/s)
0.070575 ms (14100/s)
0.041170 ms (24200/s)
0.050749 ms (19700/s)
0.223324 ms (4470/s)
0.053614 ms (18600/s)
0.058133 ms (17200/s)
0.065249 ms (15300/s)
0.035908 ms (27800/s)
0.045760 ms (21800/s)
0.180945 ms (5520/s)
300 0.851700 ms (1170/s)
0.853907 ms (1170/s)
0.865752 ms (1150/s)
0.829267 ms (1200/s)
0.856226 ms (1160/s)
0.955932 ms (1040/s)
0.846029 ms (1180/s)
0.846867 ms (1180/s)
0.848627 ms (1170/s)
0.851226 ms (1170/s)
0.856869 ms (1160/s)
0.938443 ms (1060/s)
0.206544 ms (4840/s)
0.211563 ms (4720/s)
0.211891 ms (4710/s)
0.182917 ms (5460/s)
0.201757 ms (4950/s)
0.365577 ms (2730/s)
0.199844 ms (5000/s)
0.203790 ms (4900/s)
0.205745 ms (4860/s)
0.178933 ms (5580/s)
0.196603 ms (5080/s)
0.363594 ms (2750/s)
1000 41.726253 ms (23/s)
41.799726 ms (23/s)
44.087447 ms (22/s)
41.521199 ms (24/s)
41.823472 ms (23/s)
55.452299 ms (18/s)
41.392691 ms (24/s)
41.782964 ms (23/s)
44.130748 ms (22/s)
41.734634 ms (23/s)
42.410139 ms (23/s)
55.262890 ms (18/s)
10.226160 ms (97/s)
10.978937 ms (91/s)
11.057830 ms (90/s)
10.329804 ms (96/s)
10.577601 ms (94/s)
23.997184 ms (41/s)
10.263316 ms (97/s)
10.943737 ms (91/s)
11.024586 ms (90/s)
10.338381 ms (96/s)
10.987709 ms (91/s)
23.667813 ms (42/s)
3000 0.442188 s
0.442671 s
0.457039 s
0.441202 s
0.466993 s
0.476805 s
0.444052 s
0.445185 s
0.458002 s
0.444512 s
0.449413 s
0.470048 s
82.771134 ms (12/s)
83.119223 ms (12/s)
86.443947 ms (11/s)
82.162118 ms (12/s)
83.317293 ms (12/s)
98.682654 ms (10/s)
82.655477 ms (12/s)
83.171185 ms (12/s)
86.484176 ms (11/s)
82.498753 ms (12/s)
83.256950 ms (12/s)
0.100768 s
10000 5.729091 s
5.748084 s
5.889481 s
5.725352 s
5.820356 s
5.885948 s
5.733128 s
5.740207 s
5.893744 s
5.721898 s
5.739194 s
5.893311 s
0.920016 s
0.938618 s
0.957146 s
0.916542 s
0.944605 s
0.951699 s
0.918194 s
0.934692 s
0.952757 s
0.915316 s
0.943271 s
0.950885 s
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex square root (sqrt(w), mpc_sqrt(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.106812 ms (9360/s)
0.108656 ms (9200/s)
0.110857 ms (9020/s)
0.056516 ms (17600/s)
0.057531 ms (17300/s)
0.457796 ms (2180/s)
0.099243 ms (10000/s)
0.101422 ms (9850/s)
0.103430 ms (9660/s)
0.046673 ms (21400/s)
0.046915 ms (21300/s)
0.446817 ms (2230/s)
0.092799 ms (10700/s)
0.098079 ms (10100/s)
0.156584 ms (6380/s)
0.045509 ms (21900/s)
0.047590 ms (21000/s)
0.464193 ms (2150/s)
0.088559 ms (11200/s)
0.089906 ms (11100/s)
0.091553 ms (10900/s)
0.036017 ms (27700/s)
0.037470 ms (26600/s)
0.479446 ms (2080/s)
30 0.115441 ms (8660/s)
0.118108 ms (8460/s)
0.122334 ms (8170/s)
0.054049 ms (18500/s)
0.065772 ms (15200/s)
0.449973 ms (2220/s)
0.108268 ms (9230/s)
0.111299 ms (8980/s)
0.116141 ms (8610/s)
0.045063 ms (22100/s)
0.056395 ms (17700/s)
0.440475 ms (2270/s)
0.093178 ms (10700/s)
0.095993 ms (10400/s)
0.102327 ms (9770/s)
0.040346 ms (24700/s)
0.060608 ms (16400/s)
0.483134 ms (2060/s)
0.089015 ms (11200/s)
0.089695 ms (11100/s)
0.091324 ms (10900/s)
0.033410 ms (29900/s)
0.042147 ms (23700/s)
0.434301 ms (2300/s)
100 0.178023 ms (5610/s)
0.180056 ms (5550/s)
0.184898 ms (5400/s)
0.105772 ms (9450/s)
0.177117 ms (5640/s)
0.514423 ms (1940/s)
0.171474 ms (5830/s)
0.173665 ms (5750/s)
0.179297 ms (5570/s)
0.134120 ms (7450/s)
0.151751 ms (6580/s)
0.519172 ms (1920/s)
0.103627 ms (9640/s)
0.104102 ms (9600/s)
0.109679 ms (9110/s)
0.048927 ms (20400/s)
0.111914 ms (8930/s)
0.438966 ms (2270/s)
0.093081 ms (10700/s)
0.100065 ms (9990/s)
0.103086 ms (9700/s)
0.038388 ms (26000/s)
0.090095 ms (11000/s)
0.434944 ms (2290/s)
300 0.356093 ms (2800/s)
0.374671 ms (2660/s)
0.385454 ms (2590/s)
0.330349 ms (3020/s)
0.372980 ms (2680/s)
0.700257 ms (1420/s)
0.357448 ms (2790/s)
0.359669 ms (2780/s)
0.362211 ms (2760/s)
0.305989 ms (3260/s)
0.349877 ms (2850/s)
0.687769 ms (1450/s)
0.119684 ms (8350/s)
0.127972 ms (7810/s)
0.136426 ms (7320/s)
0.073927 ms (13500/s)
0.162423 ms (6150/s)
0.466987 ms (2140/s)
0.112648 ms (8870/s)
0.125619 ms (7960/s)
0.125718 ms (7950/s)
0.061125 ms (16300/s)
0.141247 ms (7070/s)
0.472378 ms (2110/s)
1000 1.945443 ms (514/s)
1.988744 ms (502/s)
2.019083 ms (495/s)
1.793301 ms (557/s)
1.886273 ms (530/s)
2.235452 ms (447/s)
1.856465 ms (538/s)
1.876719 ms (532/s)
1.889514 ms (529/s)
1.839480 ms (543/s)
1.848084 ms (541/s)
2.193603 ms (455/s)
0.280706 ms (3560/s)
0.281768 ms (3540/s)
0.284450 ms (3510/s)
0.217458 ms (4590/s)
0.308698 ms (3230/s)
0.667822 ms (1490/s)
0.266356 ms (3750/s)
0.270584 ms (3690/s)
0.288654 ms (3460/s)
0.206907 ms (4830/s)
0.290624 ms (3440/s)
0.620107 ms (1610/s)
3000 12.056281 ms (82/s)
12.330897 ms (81/s)
12.417221 ms (80/s)
12.724243 ms (78/s)
13.055291 ms (76/s)
16.327494 ms (61/s)
12.296256 ms (81/s)
12.515278 ms (79/s)
12.582325 ms (79/s)
12.565005 ms (79/s)
14.069945 ms (71/s)
15.819888 ms (63/s)
1.144056 ms (874/s)
1.150370 ms (869/s)
1.176043 ms (850/s)
1.140313 ms (876/s)
1.167858 ms (856/s)
1.452140 ms (688/s)
1.137212 ms (879/s)
1.169702 ms (854/s)
1.189173 ms (840/s)
1.136234 ms (880/s)
1.145341 ms (873/s)
1.465605 ms (682/s)
10000 0.103522 s
0.104357 s
0.107407 s
0.104179 s
0.107064 s
0.107643 s
0.103247 s
0.103778 s
0.107228 s
0.104714 s
0.107911 s
0.110029 s
6.818967 ms (146/s)
6.858162 ms (145/s)
6.863135 ms (145/s)
6.809776 ms (146/s)
6.828773 ms (146/s)
10.073347 ms (99/s)
6.835031 ms (146/s)
6.861738 ms (145/s)
6.875958 ms (145/s)
6.786142 ms (147/s)
6.799244 ms (147/s)
7.197730 ms (138/s)
30000 0.702788 s
0.729993 s
0.763946 s
- - - 33.337198 ms (29/s)
33.481350 ms (29/s)
33.809325 ms (29/s)
- - -
100000 6.381058 s
6.403993 s
6.429005 s
- - - 0.190441 s
0.190868 s
0.191147 s
- - -
300000 - - - - 0.826789 s
0.840623 s
0.865601 s
- - -
1000000 - - - - 3.949101 s
4.005855 s
4.011758 s
- - -

Complex cube root (cbrt(w), mpc_cbrt(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.069570 ms (14300/s)
0.072786 ms (13700/s)
0.073687 ms (13500/s)
0.040413 ms (24700/s)
0.045518 ms (21900/s)
0.300206 ms (3330/s)
0.063128 ms (15800/s)
0.067462 ms (14800/s)
0.067646 ms (14700/s)
0.031489 ms (31700/s)
0.038465 ms (25900/s)
0.288752 ms (3460/s)
0.071337 ms (14000/s)
0.072523 ms (13700/s)
0.072973 ms (13700/s)
0.036310 ms (27500/s)
0.039077 ms (25500/s)
0.357755 ms (2790/s)
0.062865 ms (15900/s)
0.065377 ms (15200/s)
0.066210 ms (15100/s)
0.027675 ms (36100/s)
0.030726 ms (32500/s)
0.347754 ms (2870/s)
30 0.099153 ms (10000/s)
0.103390 ms (9670/s)
0.106008 ms (9430/s)
0.062163 ms (16000/s)
0.064133 ms (15500/s)
0.361694 ms (2760/s)
0.092318 ms (10800/s)
0.099169 ms (10000/s)
0.113408 ms (8810/s)
0.050806 ms (19600/s)
0.054164 ms (18400/s)
0.348592 ms (2860/s)
0.093603 ms (10600/s)
0.097614 ms (10200/s)
0.105097 ms (9510/s)
0.050381 ms (19800/s)
0.054487 ms (18300/s)
0.473412 ms (2110/s)
0.089412 ms (11100/s)
0.091107 ms (10900/s)
0.095347 ms (10400/s)
0.040357 ms (24700/s)
0.043721 ms (22800/s)
0.476373 ms (2090/s)
100 0.214029 ms (4670/s)
0.217402 ms (4590/s)
0.221527 ms (4510/s)
0.143310 ms (6970/s)
0.150081 ms (6660/s)
0.461958 ms (2160/s)
0.197979 ms (5050/s)
0.208169 ms (4800/s)
0.208835 ms (4780/s)
0.131195 ms (7620/s)
0.132903 ms (7520/s)
0.491040 ms (2030/s)
0.152857 ms (6540/s)
0.153292 ms (6520/s)
0.163084 ms (6130/s)
0.082423 ms (12100/s)
0.084005 ms (11900/s)
0.574403 ms (1740/s)
0.141014 ms (7090/s)
0.144329 ms (6920/s)
0.166259 ms (6010/s)
0.075412 ms (13200/s)
0.077189 ms (12900/s)
0.527358 ms (1890/s)
300 0.646199 ms (1540/s)
0.651675 ms (1530/s)
0.661537 ms (1510/s)
0.557026 ms (1790/s)
0.572252 ms (1740/s)
0.904892 ms (1100/s)
0.637399 ms (1560/s)
0.641059 ms (1550/s)
0.644160 ms (1550/s)
0.548338 ms (1820/s)
0.562669 ms (1770/s)
0.866255 ms (1150/s)
0.252658 ms (3950/s)
0.252909 ms (3950/s)
0.261081 ms (3830/s)
0.165161 ms (6050/s)
0.180170 ms (5550/s)
0.632818 ms (1580/s)
0.238271 ms (4190/s)
0.250758 ms (3980/s)
0.252611 ms (3950/s)
0.155724 ms (6420/s)
0.166152 ms (6010/s)
0.638936 ms (1560/s)
1000 4.246489 ms (235/s)
4.268056 ms (234/s)
4.288925 ms (233/s)
4.194360 ms (238/s)
4.204305 ms (237/s)
4.513814 ms (221/s)
4.229616 ms (236/s)
4.263028 ms (234/s)
4.264481 ms (234/s)
4.129519 ms (242/s)
4.155891 ms (240/s)
4.448694 ms (224/s)
0.844130 ms (1180/s)
0.847342 ms (1180/s)
0.873044 ms (1140/s)
0.735149 ms (1360/s)
0.766075 ms (1300/s)
1.187637 ms (842/s)
0.834156 ms (1190/s)
0.839213 ms (1190/s)
0.870139 ms (1140/s)
0.727411 ms (1370/s)
0.744173 ms (1340/s)
1.238649 ms (807/s)
3000 25.873121 ms (38/s)
26.059737 ms (38/s)
26.344130 ms (37/s)
25.982911 ms (38/s)
26.149692 ms (38/s)
28.655318 ms (34/s)
25.882619 ms (38/s)
26.075381 ms (38/s)
26.287140 ms (38/s)
25.983470 ms (38/s)
26.500854 ms (37/s)
28.818747 ms (34/s)
3.722847 ms (268/s)
3.728379 ms (268/s)
3.790174 ms (263/s)
3.605402 ms (277/s)
3.643703 ms (274/s)
4.117451 ms (242/s)
3.721199 ms (268/s)
3.737486 ms (267/s)
3.775228 ms (264/s)
3.582411 ms (279/s)
3.599312 ms (277/s)
4.101974 ms (243/s)
10000 0.234513 s
0.234684 s
0.236756 s
0.235250 s
0.235929 s
0.239061 s
0.234355 s
0.234496 s
0.234509 s
0.234631 s
0.234754 s
0.238871 s
20.143622 ms (49/s)
20.457069 ms (48/s)
20.817450 ms (48/s)
20.062885 ms (49/s)
20.430530 ms (48/s)
24.886124 ms (40/s)
20.227990 ms (49/s)
20.481933 ms (48/s)
20.741742 ms (48/s)
20.284142 ms (49/s)
20.609044 ms (48/s)
24.847851 ms (40/s)
30000 1.821687 s
1.844243 s
1.871187 s
- - - 0.104326 s
0.104538 s
0.104897 s
- - -
100000 - - - - 0.512943 s
0.513467 s
0.530767 s
- - -
300000 - - - - 1.879113 s
1.883949 s
1.938484 s
- - -
1000000 - - - - 9.095795 s
9.124911 s
9.156852 s
- - -

Complex absolute value (abs(w), mpc_abs(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.042366 ms (23600/s)
0.042516 ms (23500/s)
0.042643 ms (23400/s)
0.018848 ms (53000/s)
0.088866 ms (11200/s)
0.228102 ms (4380/s)
0.035024 ms (28500/s)
0.037519 ms (26600/s)
0.038527 ms (25900/s)
0.013346 ms (74900/s)
0.078138 ms (12700/s)
0.214329 ms (4660/s)
0.036317 ms (27500/s)
0.038878 ms (25700/s)
0.038956 ms (25600/s)
0.018140 ms (55100/s)
0.083865 ms (11900/s)
0.238773 ms (4180/s)
0.031524 ms (31700/s)
0.034006 ms (29400/s)
0.034115 ms (29300/s)
0.012196 ms (81900/s)
0.067020 ms (14900/s)
0.211228 ms (4730/s)
30 0.042258 ms (23600/s)
0.044033 ms (22700/s)
0.046904 ms (21300/s)
0.028998 ms (34400/s)
0.078809 ms (12600/s)
0.231510 ms (4310/s)
0.037144 ms (26900/s)
0.037792 ms (26400/s)
0.041454 ms (24100/s)
0.019174 ms (52100/s)
0.067104 ms (14900/s)
0.218827 ms (4560/s)
0.034437 ms (29000/s)
0.034745 ms (28700/s)
0.039469 ms (25300/s)
0.019763 ms (50500/s)
0.075987 ms (13100/s)
0.230141 ms (4340/s)
0.029585 ms (33800/s)
0.030029 ms (33300/s)
0.034599 ms (28900/s)
0.017569 ms (56900/s)
0.035717 ms (27900/s)
0.206116 ms (4850/s)
100 0.064602 ms (15400/s)
0.067805 ms (14700/s)
0.067905 ms (14700/s)
0.036636 ms (27200/s)
0.046505 ms (21500/s)
0.277242 ms (3600/s)
0.057954 ms (17200/s)
0.058768 ms (17000/s)
0.059790 ms (16700/s)
0.029228 ms (34200/s)
0.038627 ms (25800/s)
0.263916 ms (3780/s)
0.038133 ms (26200/s)
0.039959 ms (25000/s)
0.041042 ms (24300/s)
0.019938 ms (50100/s)
0.036764 ms (27200/s)
0.241344 ms (4140/s)
0.034030 ms (29300/s)
0.035071 ms (28500/s)
0.035896 ms (27800/s)
0.013490 ms (74100/s)
0.019185 ms (52100/s)
0.253552 ms (3940/s)
300 0.125403 ms (7970/s)
0.125591 ms (7960/s)
0.140423 ms (7120/s)
0.089900 ms (11100/s)
0.111676 ms (8950/s)
0.336020 ms (2970/s)
0.116041 ms (8610/s)
0.116635 ms (8570/s)
0.117131 ms (8530/s)
0.084959 ms (11700/s)
0.113031 ms (8840/s)
0.334232 ms (2990/s)
0.048699 ms (20500/s)
0.050928 ms (19600/s)
0.052355 ms (19100/s)
0.029592 ms (33700/s)
0.048526 ms (20600/s)
0.314146 ms (3180/s)
0.043614 ms (22900/s)
0.045872 ms (21700/s)
0.046353 ms (21500/s)
0.025322 ms (39400/s)
0.041458 ms (24100/s)
0.229191 ms (4360/s)
1000 0.600048 ms (1660/s)
0.612983 ms (1630/s)
0.621168 ms (1600/s)
0.555434 ms (1800/s)
0.616419 ms (1620/s)
0.788480 ms (1260/s)
0.595746 ms (1670/s)
0.596696 ms (1670/s)
0.598679 ms (1670/s)
0.559708 ms (1780/s)
0.615078 ms (1620/s)
0.796330 ms (1250/s)
0.104280 ms (9580/s)
0.108135 ms (9240/s)
0.108296 ms (9230/s)
0.084474 ms (11800/s)
0.160076 ms (6240/s)
0.379629 ms (2630/s)
0.099045 ms (10000/s)
0.101118 ms (9880/s)
0.104860 ms (9530/s)
0.078638 ms (12700/s)
0.141219 ms (7080/s)
0.298753 ms (3340/s)
3000 3.889349 ms (257/s)
3.907145 ms (255/s)
3.952653 ms (252/s)
3.846327 ms (259/s)
3.911363 ms (255/s)
4.054342 ms (246/s)
3.859597 ms (259/s)
3.934494 ms (254/s)
3.977265 ms (251/s)
3.868313 ms (258/s)
3.916196 ms (255/s)
4.071914 ms (245/s)
0.418405 ms (2390/s)
0.422260 ms (2360/s)
0.458131 ms (2180/s)
0.443380 ms (2250/s)
0.450728 ms (2210/s)
0.632147 ms (1580/s)
0.410331 ms (2430/s)
0.419984 ms (2380/s)
0.424747 ms (2350/s)
0.437206 ms (2280/s)
0.438659 ms (2270/s)
0.623319 ms (1600/s)
10000 27.048130 ms (36/s)
28.037362 ms (35/s)
28.414505 ms (35/s)
27.480867 ms (36/s)
27.883711 ms (35/s)
30.385147 ms (32/s)
26.533819 ms (37/s)
27.785934 ms (35/s)
27.855775 ms (35/s)
27.035000 ms (36/s)
28.113629 ms (35/s)
30.312232 ms (32/s)
2.518225 ms (397/s)
2.541161 ms (393/s)
3.346124 ms (298/s)
2.547614 ms (392/s)
2.620640 ms (381/s)
2.739957 ms (364/s)
2.522360 ms (396/s)
2.530797 ms (395/s)
2.588653 ms (386/s)
2.528087 ms (395/s)
2.531998 ms (394/s)
2.697242 ms (370/s)
30000 0.147551 s
0.152853 s
0.155273 s
- - - 12.190376 ms (82/s)
12.197919 ms (81/s)
12.249043 ms (81/s)
- - -
100000 1.044158 s
1.070451 s
1.095250 s
- - - 60.989036 ms (16/s)
61.377074 ms (16/s)
61.846687 ms (16/s)
- - -
300000 5.530212 s
5.687207 s
6.208499 s
- - - 0.260064 s
0.260421 s
0.260719 s
- - -
1000000 - - - - 1.186776 s
1.193857 s
1.217530 s
- - -

Complex argument (arg(w), mpc_arg(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.112426 ms (8890/s)
0.113124 ms (8830/s)
0.120392 ms (8300/s)
0.070589 ms (14100/s)
0.075959 ms (13100/s)
0.544678 ms (1830/s)
0.057465 ms (17400/s)
0.058471 ms (17100/s)
0.061423 ms (16200/s)
0.026749 ms (37300/s)
0.034706 ms (28800/s)
0.443548 ms (2250/s)
0.111588 ms (8960/s)
0.111951 ms (8930/s)
0.126594 ms (7890/s)
0.067031 ms (14900/s)
0.074516 ms (13400/s)
0.645892 ms (1540/s)
0.056034 ms (17800/s)
0.057403 ms (17400/s)
0.061311 ms (16300/s)
0.023598 ms (42300/s)
0.042296 ms (23600/s)
0.537666 ms (1850/s)
30 0.132112 ms (7560/s)
0.133397 ms (7490/s)
0.134361 ms (7440/s)
0.086473 ms (11500/s)
0.093224 ms (10700/s)
0.549371 ms (1820/s)
0.078250 ms (12700/s)
0.078502 ms (12700/s)
0.079982 ms (12500/s)
0.041709 ms (23900/s)
0.043385 ms (23000/s)
0.500036 ms (1990/s)
0.125351 ms (7970/s)
0.127446 ms (7840/s)
0.131609 ms (7590/s)
0.071783 ms (13900/s)
0.088866 ms (11200/s)
0.685785 ms (1450/s)
0.066563 ms (15000/s)
0.068063 ms (14600/s)
0.074116 ms (13400/s)
0.032204 ms (31000/s)
0.034846 ms (28600/s)
0.598037 ms (1670/s)
100 0.262212 ms (3810/s)
0.263972 ms (3780/s)
0.274085 ms (3640/s)
0.195109 ms (5120/s)
0.237656 ms (4200/s)
0.665559 ms (1500/s)
0.195611 ms (5110/s)
0.202428 ms (4940/s)
0.209272 ms (4770/s)
0.159322 ms (6270/s)
0.165077 ms (6050/s)
0.548058 ms (1820/s)
0.199159 ms (5020/s)
0.200081 ms (4990/s)
0.204188 ms (4890/s)
0.110098 ms (9080/s)
0.118646 ms (8420/s)
0.707967 ms (1410/s)
0.113464 ms (8810/s)
0.117780 ms (8490/s)
0.139040 ms (7190/s)
0.070721 ms (14100/s)
0.074702 ms (13300/s)
0.606222 ms (1640/s)
300 1.432556 ms (698/s)
1.533016 ms (652/s)
1.608612 ms (621/s)
1.459236 ms (685/s)
1.536732 ms (650/s)
10.788801 ms (92/s)
1.353692 ms (738/s)
1.474042 ms (678/s)
1.526870 ms (654/s)
1.396407 ms (716/s)
1.466695 ms (681/s)
10.299912 ms (97/s)
0.514618 ms (1940/s)
0.554009 ms (1800/s)
0.564038 ms (1770/s)
0.439302 ms (2270/s)
0.476876 ms (2090/s)
0.950819 ms (1050/s)
0.443408 ms (2250/s)
0.474474 ms (2100/s)
0.502829 ms (1980/s)
0.401112 ms (2490/s)
0.413740 ms (2410/s)
0.893521 ms (1110/s)
1000 16.444827 ms (60/s)
16.566072 ms (60/s)
16.930923 ms (59/s)
16.181945 ms (61/s)
16.356269 ms (61/s)
20.673298 ms (48/s)
16.410466 ms (60/s)
16.664967 ms (60/s)
16.901310 ms (59/s)
16.172167 ms (61/s)
16.251227 ms (61/s)
19.973209 ms (50/s)
4.349324 ms (229/s)
4.414807 ms (226/s)
4.469982 ms (223/s)
3.989138 ms (250/s)
4.067025 ms (245/s)
4.589997 ms (217/s)
4.269565 ms (234/s)
4.333595 ms (230/s)
4.356028 ms (229/s)
3.918487 ms (255/s)
3.981484 ms (251/s)
4.439084 ms (225/s)
3000 0.172572 s
0.173704 s
0.174122 s
0.176731 s
0.183973 s
0.184446 s
0.172687 s
0.173418 s
0.174240 s
0.171442 s
0.173060 s
0.175834 s
31.661007 ms (31/s)
31.787001 ms (31/s)
32.030887 ms (31/s)
31.078810 ms (32/s)
31.717160 ms (31/s)
36.010722 ms (27/s)
31.352588 ms (31/s)
31.774150 ms (31/s)
31.822201 ms (31/s)
31.005058 ms (32/s)
31.252017 ms (31/s)
35.704538 ms (28/s)
10000 2.242073 s
2.253294 s
2.271389 s
2.240491 s
2.247281 s
2.269799 s
2.245126 s
2.246675 s
2.267882 s
2.234494 s
2.245086 s
2.266711 s
0.347746 s
0.348781 s
0.348798 s
0.347416 s
0.348319 s
0.353574 s
0.347567 s
0.348634 s
0.350112 s
0.346237 s
0.348008 s
0.351682 s
30000 - - - - 3.105927 s
3.107204 s
3.131123 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Section 3: Functions

Exponential (exp(x), mpf_exp(x,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.031540 ms (31700/s)
0.032179 ms (31000/s)
0.032295 ms (30900/s)
0.019698 ms (50700/s)
0.020312 ms (49200/s)
0.146918 ms (6800/s)
0.027531 ms (36300/s)
0.027583 ms (36200/s)
0.027591 ms (36200/s)
0.013708 ms (72900/s)
0.014220 ms (70300/s)
0.137559 ms (7260/s)
0.034970 ms (28500/s)
0.035545 ms (28100/s)
0.035848 ms (27800/s)
0.021899 ms (45600/s)
0.023243 ms (43000/s)
0.180833 ms (5520/s)
0.030008 ms (33300/s)
0.030621 ms (32600/s)
0.030717 ms (32500/s)
0.016198 ms (61700/s)
0.017265 ms (57900/s)
0.152841 ms (6540/s)
30 0.039001 ms (25600/s)
0.040700 ms (24500/s)
0.042612 ms (23400/s)
0.026686 ms (37400/s)
0.027012 ms (37000/s)
0.146248 ms (6830/s)
0.034553 ms (28900/s)
0.035939 ms (27800/s)
0.036705 ms (27200/s)
0.020718 ms (48200/s)
0.021022 ms (47500/s)
0.138174 ms (7230/s)
0.039390 ms (25300/s)
0.041425 ms (24100/s)
0.042899 ms (23300/s)
0.026787 ms (37300/s)
0.028638 ms (34900/s)
0.186728 ms (5350/s)
0.034894 ms (28600/s)
0.036723 ms (27200/s)
0.037287 ms (26800/s)
0.019196 ms (52000/s)
0.019216 ms (52000/s)
0.155718 ms (6420/s)
100 0.103967 ms (9610/s)
0.105221 ms (9500/s)
0.107416 ms (9300/s)
0.079957 ms (12500/s)
0.081603 ms (12200/s)
0.266123 ms (3750/s)
0.098548 ms (10100/s)
0.100547 ms (9940/s)
0.102535 ms (9750/s)
0.071896 ms (13900/s)
0.075587 ms (13200/s)
0.252630 ms (3950/s)
0.067488 ms (14800/s)
0.069304 ms (14400/s)
0.070568 ms (14100/s)
0.047010 ms (21200/s)
0.047337 ms (21100/s)
0.229890 ms (4340/s)
0.062115 ms (16000/s)
0.065346 ms (15300/s)
0.065347 ms (15300/s)
0.038576 ms (25900/s)
0.039089 ms (25500/s)
0.203937 ms (4900/s)
300 0.568759 ms (1750/s)
0.569765 ms (1750/s)
0.572978 ms (1740/s)
0.501209 ms (1990/s)
0.534733 ms (1870/s)
0.710537 ms (1400/s)
0.562558 ms (1770/s)
0.565547 ms (1760/s)
0.567782 ms (1760/s)
0.489881 ms (2040/s)
0.564010 ms (1770/s)
0.697994 ms (1430/s)
0.187633 ms (5320/s)
0.189683 ms (5270/s)
0.201636 ms (4950/s)
0.166848 ms (5990/s)
0.172229 ms (5800/s)
0.351330 ms (2840/s)
0.181945 ms (5490/s)
0.183884 ms (5430/s)
0.192119 ms (5200/s)
0.148585 ms (6730/s)
0.151734 ms (6590/s)
0.350827 ms (2850/s)
1000 7.011869 ms (142/s)
7.012819 ms (142/s)
7.036816 ms (142/s)
6.930099 ms (144/s)
6.974434 ms (143/s)
7.176974 ms (139/s)
7.034609 ms (142/s)
7.059389 ms (141/s)
7.063551 ms (141/s)
6.912108 ms (144/s)
6.959041 ms (143/s)
7.149233 ms (139/s)
1.621156 ms (616/s)
1.637443 ms (610/s)
1.638225 ms (610/s)
1.586123 ms (630/s)
1.598499 ms (625/s)
1.771566 ms (564/s)
1.621044 ms (616/s)
1.627833 ms (614/s)
1.636297 ms (611/s)
1.579614 ms (633/s)
1.581737 ms (632/s)
1.742735 ms (573/s)
3000 69.561634 ms (14/s)
69.732326 ms (14/s)
69.951628 ms (14/s)
69.357139 ms (14/s)
69.607450 ms (14/s)
71.245368 ms (14/s)
69.764174 ms (14/s)
70.087958 ms (14/s)
70.111704 ms (14/s)
69.752720 ms (14/s)
70.304466 ms (14/s)
71.543450 ms (13/s)
13.036294 ms (76/s)
13.300573 ms (75/s)
13.328789 ms (75/s)
13.009754 ms (76/s)
13.029310 ms (76/s)
14.791824 ms (67/s)
13.140218 ms (76/s)
13.183240 ms (75/s)
13.200560 ms (75/s)
12.998859 ms (76/s)
13.025119 ms (76/s)
14.239519 ms (70/s)
10000 0.900067 s
0.925718 s
0.932541 s
0.898078 s
0.900358 s
0.923621 s
0.899241 s
0.913180 s
0.921989 s
0.898436 s
0.900638 s
0.934072 s
0.145403 s
0.145580 s
0.146635 s
0.145134 s
0.145286 s
0.147113 s
0.145224 s
0.145563 s
0.145599 s
0.144871 s
0.144908 s
0.146741 s
30000 - - - - 1.291100 s
1.292499 s
1.324144 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Logarithm (log(x), mpf_log(x,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.040640 ms (24600/s)
0.043749 ms (22800/s)
0.045136 ms (22100/s)
0.024833 ms (40200/s)
0.027238 ms (36700/s)
0.260312 ms (3840/s)
0.035176 ms (28400/s)
0.038678 ms (25800/s)
0.039479 ms (25300/s)
0.018038 ms (55400/s)
0.020747 ms (48200/s)
0.252658 ms (3950/s)
0.038556 ms (25900/s)
0.041733 ms (23900/s)
0.045257 ms (22000/s)
0.022542 ms (44300/s)
0.025109 ms (39800/s)
0.377674 ms (2640/s)
0.032857 ms (30400/s)
0.036006 ms (27700/s)
0.038027 ms (26200/s)
0.015594 ms (64100/s)
0.020564 ms (48600/s)
0.321745 ms (3100/s)
30 0.052386 ms (19000/s)
0.057787 ms (17300/s)
0.064332 ms (15500/s)
0.034973 ms (28500/s)
0.041229 ms (24200/s)
0.276963 ms (3610/s)
0.046147 ms (21600/s)
0.050397 ms (19800/s)
0.051806 ms (19300/s)
0.029176 ms (34200/s)
0.037225 ms (26800/s)
0.263637 ms (3790/s)
0.047045 ms (21200/s)
0.051985 ms (19200/s)
0.054490 ms (18300/s)
0.030068 ms (33200/s)
0.037505 ms (26600/s)
0.382842 ms (2610/s)
0.041258 ms (24200/s)
0.045872 ms (21700/s)
0.045983 ms (21700/s)
0.022031 ms (45300/s)
0.029724 ms (33600/s)
0.327919 ms (3040/s)
100 0.153777 ms (6500/s)
0.183710 ms (5440/s)
0.195625 ms (5110/s)
0.142895 ms (6990/s)
0.159392 ms (6270/s)
0.487939 ms (2040/s)
0.147784 ms (6760/s)
0.178626 ms (5590/s)
0.192064 ms (5200/s)
0.115699 ms (8640/s)
0.151570 ms (6590/s)
0.472686 ms (2110/s)
0.091436 ms (10900/s)
0.112035 ms (8920/s)
0.115797 ms (8630/s)
0.067094 ms (14900/s)
0.078432 ms (12700/s)
0.525011 ms (1900/s)
0.085123 ms (11700/s)
0.106038 ms (9430/s)
0.109288 ms (9150/s)
0.059775 ms (16700/s)
0.089690 ms (11100/s)
0.481151 ms (2070/s)
300 0.767165 ms (1300/s)
0.783982 ms (1270/s)
0.786999 ms (1270/s)
0.674080 ms (1480/s)
0.700620 ms (1420/s)
0.997613 ms (1000/s)
0.752302 ms (1320/s)
0.762723 ms (1310/s)
0.771020 ms (1290/s)
0.657178 ms (1520/s)
0.669973 ms (1490/s)
1.009011 ms (991/s)
0.330461 ms (3020/s)
0.330899 ms (3020/s)
0.344318 ms (2900/s)
0.247983 ms (4030/s)
0.251447 ms (3970/s)
0.681986 ms (1460/s)
0.319957 ms (3120/s)
0.322639 ms (3090/s)
0.335685 ms (2970/s)
0.235603 ms (4240/s)
0.238326 ms (4190/s)
0.630359 ms (1580/s)
1000 7.730200 ms (129/s)
7.831079 ms (127/s)
7.855859 ms (127/s)
7.627645 ms (131/s)
7.668936 ms (130/s)
8.013505 ms (124/s)
7.748806 ms (129/s)
7.799148 ms (128/s)
7.886170 ms (126/s)
7.607056 ms (131/s)
7.622030 ms (131/s)
7.953497 ms (125/s)
2.112336 ms (473/s)
2.114487 ms (472/s)
2.128287 ms (469/s)
1.954159 ms (511/s)
1.997042 ms (500/s)
2.343538 ms (426/s)
2.069229 ms (483/s)
2.095629 ms (477/s)
2.116749 ms (472/s)
1.934911 ms (516/s)
1.941615 ms (515/s)
2.348287 ms (425/s)
3000 72.684936 ms (13/s)
72.847247 ms (13/s)
73.028276 ms (13/s)
72.001609 ms (13/s)
72.244377 ms (13/s)
75.290016 ms (13/s)
72.541622 ms (13/s)
72.552797 ms (13/s)
72.992797 ms (13/s)
71.932327 ms (13/s)
72.156657 ms (13/s)
75.506245 ms (13/s)
15.186008 ms (65/s)
15.488561 ms (64/s)
15.764294 ms (63/s)
15.082923 ms (66/s)
15.216459 ms (65/s)
18.704333 ms (53/s)
15.243278 ms (65/s)
15.307811 ms (65/s)
15.526275 ms (64/s)
15.093259 ms (66/s)
15.153043 ms (65/s)
18.316294 ms (54/s)
10000 0.918321 s
0.922422 s
0.962996 s
0.914377 s
0.919756 s
0.944105 s
0.918283 s
0.923502 s
0.936031 s
0.915179 s
0.923935 s
0.947997 s
0.165148 s
0.165763 s
0.166825 s
0.164861 s
0.165732 s
0.169826 s
0.164984 s
0.166090 s
0.166686 s
0.165137 s
0.165472 s
0.168965 s
30000 - - - - 1.471422 s
1.472692 s
1.500616 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Sine (sin(x), mpf_sin(x,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.047939 ms (20800/s)
0.050165 ms (19900/s)
0.050314 ms (19800/s)
0.030399 ms (32800/s)
0.040135 ms (24900/s)
0.263302 ms (3790/s)
0.043138 ms (23100/s)
0.044123 ms (22600/s)
0.044718 ms (22300/s)
0.024293 ms (41100/s)
0.033207 ms (30100/s)
0.263162 ms (3790/s)
0.048089 ms (20700/s)
0.048611 ms (20500/s)
0.049769 ms (20000/s)
0.030800 ms (32400/s)
0.084955 ms (11700/s)
0.338227 ms (2950/s)
0.043989 ms (22700/s)
0.044733 ms (22300/s)
0.046309 ms (21500/s)
0.023755 ms (42000/s)
0.074926 ms (13300/s)
0.340211 ms (2930/s)
30 0.058888 ms (16900/s)
0.059441 ms (16800/s)
0.060214 ms (16600/s)
0.039570 ms (25200/s)
0.048731 ms (20500/s)
0.302497 ms (3300/s)
0.054508 ms (18300/s)
0.055251 ms (18000/s)
0.055784 ms (17900/s)
0.032456 ms (30800/s)
0.042957 ms (23200/s)
0.299647 ms (3330/s)
0.055832 ms (17900/s)
0.056444 ms (17700/s)
0.057410 ms (17400/s)
0.038441 ms (26000/s)
0.103728 ms (9640/s)
0.348704 ms (2860/s)
0.052742 ms (18900/s)
0.053912 ms (18500/s)
0.054147 ms (18400/s)
0.028763 ms (34700/s)
0.082245 ms (12100/s)
0.324343 ms (3080/s)
100 0.152096 ms (6570/s)
0.162093 ms (6160/s)
0.167815 ms (5950/s)
0.125537 ms (7960/s)
0.150354 ms (6650/s)
0.455030 ms (2190/s)
0.148082 ms (6750/s)
0.156691 ms (6380/s)
0.163037 ms (6130/s)
0.116611 ms (8570/s)
0.142797 ms (7000/s)
0.450895 ms (2210/s)
0.099640 ms (10000/s)
0.104940 ms (9520/s)
0.107323 ms (9310/s)
0.064902 ms (15400/s)
0.143929 ms (6940/s)
0.422568 ms (2360/s)
0.093643 ms (10600/s)
0.101810 ms (9820/s)
0.105684 ms (9460/s)
0.061229 ms (16300/s)
0.134291 ms (7440/s)
0.401084 ms (2490/s)
300 0.976325 ms (1020/s)
0.985572 ms (1010/s)
1.022532 ms (977/s)
0.926039 ms (1070/s)
0.944785 ms (1050/s)
1.300026 ms (769/s)
0.968112 ms (1030/s)
0.970347 ms (1030/s)
1.012978 ms (987/s)
0.912379 ms (1090/s)
0.933918 ms (1070/s)
1.302400 ms (767/s)
0.314621 ms (3170/s)
0.316800 ms (3150/s)
0.370354 ms (2700/s)
0.271613 ms (3680/s)
0.345267 ms (2890/s)
0.670728 ms (1490/s)
0.306119 ms (3260/s)
0.307655 ms (3250/s)
0.361945 ms (2760/s)
0.269797 ms (3700/s)
0.307218 ms (3250/s)
0.674611 ms (1480/s)
1000 11.127392 ms (89/s)
11.398097 ms (87/s)
13.711799 ms (72/s)
10.980446 ms (91/s)
11.417373 ms (87/s)
16.304027 ms (61/s)
11.172370 ms (89/s)
11.360662 ms (88/s)
13.543900 ms (73/s)
11.000560 ms (90/s)
11.452573 ms (87/s)
16.564675 ms (60/s)
2.723922 ms (367/s)
2.780046 ms (359/s)
2.819828 ms (354/s)
2.622875 ms (381/s)
2.722637 ms (367/s)
3.046924 ms (328/s)
2.699058 ms (370/s)
2.792981 ms (358/s)
2.803597 ms (356/s)
2.606979 ms (383/s)
2.686403 ms (372/s)
3.047790 ms (328/s)
3000 0.124296 s
0.124342 s
0.139025 s
0.124225 s
0.124277 s
0.141569 s
0.124463 s
0.124535 s
0.139414 s
0.123757 s
0.124012 s
0.141027 s
22.619076 ms (44/s)
22.859330 ms (43/s)
25.887648 ms (38/s)
22.342225 ms (44/s)
23.314136 ms (42/s)
28.700016 ms (34/s)
22.543368 ms (44/s)
22.813235 ms (43/s)
25.935140 ms (38/s)
22.308701 ms (44/s)
23.054047 ms (43/s)
28.426797 ms (35/s)
10000 1.645518 s
1.657542 s
1.819767 s
1.639226 s
1.659243 s
1.782409 s
1.641395 s
1.641724 s
1.809384 s
1.636543 s
1.642541 s
1.796865 s
0.256578 s
0.257010 s
0.273064 s
0.257325 s
0.257341 s
0.273868 s
0.256907 s
0.257632 s
0.272887 s
0.255638 s
0.257115 s
0.272920 s
30000 - - - - 2.305066 s
2.305967 s
2.421323 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Inverse tangent (atan(x), mpf_atan(x,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.042792 ms (23300/s)
0.044007 ms (22700/s)
0.046905 ms (21300/s)
0.026735 ms (37400/s)
0.027066 ms (36900/s)
0.298613 ms (3340/s)
0.038063 ms (26200/s)
0.039132 ms (25500/s)
0.042445 ms (23500/s)
0.019993 ms (50000/s)
0.020206 ms (49400/s)
0.308056 ms (3240/s)
0.038390 ms (26000/s)
0.039793 ms (25100/s)
0.045388 ms (22000/s)
0.023397 ms (42700/s)
0.023738 ms (42100/s)
0.418433 ms (2380/s)
0.033311 ms (30000/s)
0.034474 ms (29000/s)
0.040685 ms (24500/s)
0.015489 ms (64500/s)
0.020924 ms (47700/s)
0.380831 ms (2620/s)
30 0.062815 ms (15900/s)
0.064422 ms (15500/s)
0.067034 ms (14900/s)
0.039139 ms (25500/s)
0.039400 ms (25300/s)
0.322471 ms (3100/s)
0.057130 ms (17500/s)
0.059491 ms (16800/s)
0.061418 ms (16200/s)
0.030276 ms (33000/s)
0.031913 ms (31300/s)
0.333283 ms (3000/s)
0.053359 ms (18700/s)
0.066461 ms (15000/s)
0.066573 ms (15000/s)
0.029825 ms (33500/s)
0.030255 ms (33000/s)
0.444191 ms (2250/s)
0.045071 ms (22100/s)
0.046971 ms (21200/s)
0.056571 ms (17600/s)
0.022081 ms (45200/s)
0.022754 ms (43900/s)
0.413656 ms (2410/s)
100 0.175497 ms (5690/s)
0.185498 ms (5390/s)
0.187314 ms (5330/s)
0.141107 ms (7080/s)
0.145382 ms (6870/s)
0.429077 ms (2330/s)
0.170804 ms (5850/s)
0.178905 ms (5580/s)
0.181671 ms (5500/s)
0.130659 ms (7650/s)
0.138062 ms (7240/s)
0.428909 ms (2330/s)
0.093573 ms (10600/s)
0.102052 ms (9790/s)
0.130296 ms (7670/s)
0.057586 ms (17300/s)
0.063127 ms (15800/s)
0.479642 ms (2080/s)
0.088084 ms (11300/s)
0.096130 ms (10400/s)
0.125658 ms (7950/s)
0.049885 ms (20000/s)
0.054132 ms (18400/s)
0.462182 ms (2160/s)
300 1.326174 ms (754/s)
1.377996 ms (725/s)
1.465941 ms (682/s)
1.251807 ms (798/s)
1.408447 ms (710/s)
1.583274 ms (631/s)
1.321174 ms (756/s)
1.370565 ms (729/s)
1.448229 ms (690/s)
1.255383 ms (796/s)
1.366626 ms (731/s)
1.583833 ms (631/s)
0.434664 ms (2300/s)
0.467294 ms (2130/s)
0.473021 ms (2110/s)
0.359571 ms (2780/s)
0.396587 ms (2520/s)
0.770601 ms (1290/s)
0.422177 ms (2360/s)
0.447319 ms (2230/s)
0.467657 ms (2130/s)
0.350603 ms (2850/s)
0.388234 ms (2570/s)
0.754677 ms (1320/s)
1000 15.808713 ms (63/s)
15.882186 ms (62/s)
16.138364 ms (61/s)
15.445538 ms (64/s)
15.865145 ms (63/s)
18.174656 ms (55/s)
15.917107 ms (62/s)
15.926046 ms (62/s)
15.928561 ms (62/s)
15.456713 ms (64/s)
15.591088 ms (64/s)
17.808129 ms (56/s)
4.151198 ms (240/s)
4.176313 ms (239/s)
4.216067 ms (237/s)
3.838672 ms (260/s)
3.894685 ms (256/s)
4.182627 ms (239/s)
4.154802 ms (240/s)
4.164188 ms (240/s)
4.186314 ms (238/s)
3.828168 ms (261/s)
3.867000 ms (258/s)
4.136587 ms (241/s)
3000 0.167997 s
0.168417 s
0.168694 s
0.170136 s
0.174741 s
0.180224 s
0.168470 s
0.168786 s
0.169591 s
0.166928 s
0.169122 s
0.169834 s
30.981591 ms (32/s)
31.204525 ms (32/s)
31.314594 ms (31/s)
30.425375 ms (32/s)
31.332474 ms (31/s)
33.657630 ms (29/s)
31.057299 ms (32/s)
31.215699 ms (32/s)
31.607369 ms (31/s)
30.465325 ms (32/s)
30.728766 ms (32/s)
33.513757 ms (29/s)
10000 2.205106 s
2.209332 s
2.244008 s
2.206271 s
2.210457 s
2.222114 s
2.200761 s
2.206011 s
2.222352 s
2.200092 s
2.205793 s
2.217397 s
0.345544 s
0.345614 s
0.345619 s
0.344381 s
0.345223 s
0.347589 s
0.345203 s
0.345725 s
0.345735 s
0.344260 s
0.344276 s
0.346552 s
30000 - - - - 3.089519 s
3.098233 s
3.124102 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Inverse hyperbolic cotangent (acoth(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.222319 ms (4490/s)
0.225224 ms (4440/s)
0.225476 ms (4430/s)
0.152799 ms (6540/s)
0.155970 ms (6410/s)
0.876536 ms (1140/s)
- - 0.217151 ms (4600/s)
0.220098 ms (4540/s)
0.227347 ms (4390/s)
0.180889 ms (5520/s)
0.218827 ms (4560/s)
1.036528 ms (964/s)
- -
30 0.240114 ms (4160/s)
0.256960 ms (3890/s)
0.260955 ms (3830/s)
0.225029 ms (4440/s)
0.228521 ms (4370/s)
0.913887 ms (1090/s)
- - 0.237754 ms (4200/s)
0.242712 ms (4120/s)
0.245213 ms (4070/s)
0.206730 ms (4830/s)
0.222095 ms (4500/s)
1.074103 ms (931/s)
- -
100 0.587980 ms (1700/s)
0.596584 ms (1670/s)
0.652234 ms (1530/s)
0.462657 ms (2160/s)
0.500175 ms (1990/s)
1.352323 ms (739/s)
- - 0.401699 ms (2480/s)
0.411505 ms (2430/s)
0.449219 ms (2220/s)
0.294339 ms (3390/s)
0.355045 ms (2810/s)
10.847468 ms (92/s)
- -
300 1.638225 ms (610/s)
1.766314 ms (566/s)
1.799307 ms (555/s)
1.585676 ms (630/s)
1.593582 ms (627/s)
10.753601 ms (92/s)
- - 0.834994 ms (1190/s)
0.849326 ms (1170/s)
0.856059 ms (1160/s)
0.688048 ms (1450/s)
0.691596 ms (1440/s)
10.420319 ms (95/s)
- -
1000 14.759976 ms (67/s)
15.041577 ms (66/s)
25.192867 ms (39/s)
14.601018 ms (68/s)
15.528789 ms (64/s)
31.874442 ms (31/s)
- - 4.407180 ms (226/s)
4.423495 ms (226/s)
4.820641 ms (207/s)
4.114489 ms (243/s)
4.164440 ms (240/s)
16.033043 ms (62/s)
- -
3000 0.148498 s
0.149481 s
0.224748 s
0.148720 s
0.149055 s
0.229324 s
- - 30.810899 ms (32/s)
31.557642 ms (31/s)
45.899130 ms (21/s)
30.884093 ms (32/s)
31.055064 ms (32/s)
53.551219 ms (18/s)
- -
10000 1.875138 s
1.879151 s
2.667787 s
1.871243 s
1.871486 s
2.642260 s
- - 0.334443 s
0.336453 s
0.455189 s
0.333415 s
0.335101 s
0.460620 s
- -
30000 - - - - 2.945593 s
2.956194 s
3.952349 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Error function (erf(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.061800 ms (16100/s)
0.065511 ms (15200/s)
0.067566 ms (14800/s)
0.036161 ms (27600/s)
0.039723 ms (25100/s)
0.277158 ms (3600/s)
- - 0.060024 ms (16600/s)
0.063505 ms (15700/s)
0.066899 ms (14900/s)
0.038794 ms (25700/s)
0.042952 ms (23200/s)
0.282410 ms (3540/s)
- -
30 0.089105 ms (11200/s)
0.094928 ms (10500/s)
0.096011 ms (10400/s)
0.056117 ms (17800/s)
0.063003 ms (15800/s)
0.343256 ms (2910/s)
- - 0.080999 ms (12300/s)
0.083189 ms (12000/s)
0.087617 ms (11400/s)
0.051765 ms (19300/s)
0.058880 ms (16900/s)
0.315152 ms (3170/s)
- -
100 0.290158 ms (3440/s)
0.303446 ms (3290/s)
0.314379 ms (3180/s)
0.223157 ms (4480/s)
0.246996 ms (4040/s)
0.571274 ms (1750/s)
- - 0.194711 ms (5130/s)
0.209803 ms (4760/s)
0.219441 ms (4550/s)
0.131986 ms (7570/s)
0.145896 ms (6850/s)
0.448605 ms (2220/s)
- -
300 2.202263 ms (454/s)
2.225674 ms (449/s)
2.362172 ms (423/s)
2.038332 ms (490/s)
2.185809 ms (457/s)
2.378319 ms (420/s)
- - 0.792531 ms (1260/s)
0.814601 ms (1220/s)
0.851002 ms (1170/s)
0.648183 ms (1540/s)
0.700843 ms (1420/s)
0.956015 ms (1040/s)
- -
1000 34.685693 ms (28/s)
37.230151 ms (26/s)
37.553656 ms (26/s)
34.360512 ms (29/s)
37.197186 ms (26/s)
39.177605 ms (25/s)
- - 8.751922 ms (114/s)
8.819724 ms (113/s)
9.344288 ms (107/s)
8.381317 ms (119/s)
8.935689 ms (111/s)
10.835735 ms (92/s)
- -
3000 0.555978 s
0.559385 s
0.590548 s
0.551699 s
0.558803 s
0.575125 s
- - 0.101526 s
0.104952 s
0.107775 s
0.100826 s
0.106277 s
0.106767 s
- -
10000 11.016626 s
11.105000 s
11.556812 s
10.935975 s
11.085691 s
11.508001 s
- - 1.775631 s
1.821457 s
1.865794 s
1.771883 s
1.813777 s
1.858109 s
- -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Lambert W function (lambertw(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 1.317626 ms (758/s)
1.351289 ms (740/s)
1.362799 ms (733/s)
0.883213 ms (1130/s)
0.928917 ms (1070/s)
10.605258 ms (94/s)
- - 1.363386 ms (733/s)
1.414705 ms (706/s)
1.418895 ms (704/s)
0.917686 ms (1080/s)
0.992864 ms (1000/s)
11.577449 ms (86/s)
- -
30 1.637694 ms (610/s)
1.673201 ms (597/s)
1.697646 ms (589/s)
0.979259 ms (1020/s)
1.129361 ms (885/s)
11.708471 ms (85/s)
- - 1.681946 ms (594/s)
1.718515 ms (581/s)
1.720330 ms (581/s)
0.996467 ms (1000/s)
1.133468 ms (882/s)
13.444446 ms (74/s)
- -
100 2.880115 ms (347/s)
2.919030 ms (342/s)
2.945738 ms (339/s)
2.000394 ms (499/s)
2.139657 ms (467/s)
14.435634 ms (69/s)
- - 2.255007 ms (443/s)
2.283307 ms (437/s)
2.293392 ms (436/s)
1.435406 ms (696/s)
1.533519 ms (652/s)
16.157361 ms (61/s)
- -
300 8.402269 ms (119/s)
8.431016 ms (118/s)
8.592545 ms (116/s)
7.305649 ms (136/s)
7.433012 ms (134/s)
19.867330 ms (50/s)
- - 3.962263 ms (252/s)
3.985032 ms (250/s)
4.071188 ms (245/s)
2.925847 ms (341/s)
3.070362 ms (325/s)
18.012345 ms (55/s)
- -
1000 77.054486 ms (12/s)
77.574384 ms (12/s)
80.200137 ms (12/s)
76.891057 ms (13/s)
77.362905 ms (12/s)
91.007097 ms (10/s)
- - 18.272434 ms (54/s)
18.530847 ms (53/s)
20.396447 ms (49/s)
17.725717 ms (56/s)
18.427482 ms (54/s)
32.931839 ms (30/s)
- -
3000 0.864037 s
0.869523 s
0.889135 s
0.853527 s
0.864838 s
0.873415 s
- - 0.155391 s
0.155953 s
0.159659 s
0.154229 s
0.154759 s
0.171319 s
- -
10000 11.717156 s
11.804541 s
11.825034 s
11.727337 s
11.783874 s
11.807612 s
- - 1.815546 s
1.820587 s
1.861872 s
1.813305 s
1.814688 s
1.867038 s
- -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Gamma function* (gamma(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.219008 ms (4560/s)
0.222784 ms (4480/s)
0.441090 ms (2260/s)
0.142202 ms (7030/s)
0.167801 ms (5950/s)
14.402948 ms (69/s)
- - 0.216222 ms (4620/s)
0.230113 ms (4340/s)
0.437346 ms (2280/s)
0.132258 ms (7560/s)
0.163987 ms (6090/s)
16.505729 ms (60/s)
- -
30 0.350170 ms (2850/s)
0.363957 ms (2740/s)
0.785267 ms (1270/s)
0.244994 ms (4080/s)
0.373511 ms (2670/s)
16.076345 ms (62/s)
- - 0.296127 ms (3370/s)
0.316423 ms (3160/s)
0.713526 ms (1400/s)
0.195877 ms (5100/s)
0.303558 ms (3290/s)
17.946136 ms (55/s)
- -
100 2.019670 ms (495/s)
2.040818 ms (489/s)
21.132015 ms (47/s)
1.856884 ms (538/s)
1.933402 ms (517/s)
29.373566 ms (34/s)
- - 0.907965 ms (1100/s)
0.908104 ms (1100/s)
13.732751 ms (72/s)
0.740066 ms (1350/s)
0.773199 ms (1290/s)
24.641959 ms (40/s)
- -
300 24.191901 ms (41/s)
24.302530 ms (41/s)
0.189779 s
24.361476 ms (41/s)
24.391927 ms (40/s)
0.180687 s
- - 5.427757 ms (184/s)
5.446195 ms (183/s)
68.005291 ms (14/s)
5.070225 ms (197/s)
5.140597 ms (194/s)
68.812936 ms (14/s)
- -
1000 0.696966 s
0.758832 s
4.730887 s
0.696057 s
0.701846 s
4.592214 s
- - 84.012633 ms (11/s)
84.188074 ms (11/s)
1.043241 s
82.890982 ms (12/s)
89.318615 ms (11/s)
0.994384 s
- -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Riemann zeta function* (zeta(x))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 1.836015 ms (544/s)
1.856046 ms (538/s)
1.946309 ms (513/s)
0.979063 ms (1020/s)
0.980097 ms (1020/s)
1.738182 ms (575/s)
- - 1.887502 ms (529/s)
1.899627 ms (526/s)
1.989555 ms (502/s)
0.953613 ms (1040/s)
0.973001 ms (1020/s)
1.800899 ms (555/s)
- -
30 3.521537 ms (283/s)
3.579757 ms (279/s)
3.707063 ms (269/s)
2.034141 ms (491/s)
2.066603 ms (483/s)
2.835053 ms (352/s)
- - 3.329166 ms (300/s)
3.333105 ms (300/s)
3.524610 ms (283/s)
1.769918 ms (564/s)
1.797323 ms (556/s)
10.914236 ms (91/s)
- -
100 20.647876 ms (48/s)
20.660168 ms (48/s)
32.321426 ms (30/s)
14.480053 ms (69/s)
14.940446 ms (66/s)
31.034391 ms (32/s)
- - 12.618922 ms (79/s)
12.866998 ms (77/s)
22.174885 ms (45/s)
8.475826 ms (117/s)
8.516501 ms (117/s)
23.857781 ms (41/s)
- -
300 0.236515 s
0.238407 s
0.381122 s
0.218496 s
0.219757 s
0.352049 s
- - 84.946271 ms (11/s)
85.440468 ms (11/s)
0.148942 s
69.233101 ms (14/s)
69.413291 ms (14/s)
0.128742 s
- -
1000 8.777770 s
8.828390 s
12.429698 s
8.730192 s
8.745449 s
12.111493 s
- - 2.033217 s
2.075585 s
2.851288 s
1.959273 s
1.963776 s
2.685362 s
- -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex exponential (exp(w), mpc_exp(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.118570 ms (8430/s)
0.119572 ms (8360/s)
0.124280 ms (8040/s)
0.066987 ms (14900/s)
0.068160 ms (14600/s)
0.474083 ms (2100/s)
0.109371 ms (9140/s)
0.111355 ms (8980/s)
0.113827 ms (8780/s)
0.057214 ms (17400/s)
0.058057 ms (17200/s)
0.496544 ms (2010/s)
0.117232 ms (8530/s)
0.119241 ms (8380/s)
0.122399 ms (8160/s)
0.067048 ms (14900/s)
0.069953 ms (14200/s)
0.595076 ms (1680/s)
0.108917 ms (9180/s)
0.109731 ms (9110/s)
0.112389 ms (8890/s)
0.059177 ms (16800/s)
0.060545 ms (16500/s)
0.554344 ms (1800/s)
30 0.143393 ms (6970/s)
0.145847 ms (6850/s)
0.149330 ms (6690/s)
0.094546 ms (10500/s)
0.104874 ms (9530/s)
0.518306 ms (1920/s)
0.134449 ms (7430/s)
0.135348 ms (7380/s)
0.138006 ms (7240/s)
0.086938 ms (11500/s)
0.094332 ms (10600/s)
0.509730 ms (1960/s)
0.132112 ms (7560/s)
0.132414 ms (7550/s)
0.135225 ms (7390/s)
0.081763 ms (12200/s)
0.096213 ms (10300/s)
0.607088 ms (1640/s)
0.124718 ms (8010/s)
0.125607 ms (7960/s)
0.127063 ms (7870/s)
0.071315 ms (14000/s)
0.085975 ms (11600/s)
0.565882 ms (1760/s)
100 0.339429 ms (2940/s)
0.339876 ms (2940/s)
0.381892 ms (2610/s)
0.244482 ms (4090/s)
0.260396 ms (3840/s)
0.774428 ms (1290/s)
0.327081 ms (3050/s)
0.332342 ms (3000/s)
0.373679 ms (2670/s)
0.232131 ms (4300/s)
0.259460 ms (3850/s)
0.812701 ms (1230/s)
0.208553 ms (4790/s)
0.209070 ms (4780/s)
0.229359 ms (4350/s)
0.130479 ms (7660/s)
0.147868 ms (6760/s)
0.766997 ms (1300/s)
0.200528 ms (4980/s)
0.205138 ms (4870/s)
0.222081 ms (4500/s)
0.119824 ms (8340/s)
0.145847 ms (6850/s)
0.717577 ms (1390/s)
300 1.617664 ms (618/s)
1.658647 ms (602/s)
1.660881 ms (602/s)
1.497146 ms (667/s)
1.501113 ms (666/s)
2.071632 ms (482/s)
1.604981 ms (623/s)
1.605930 ms (622/s)
1.651718 ms (605/s)
1.486530 ms (672/s)
1.505862 ms (664/s)
2.065402 ms (484/s)
0.577755 ms (1730/s)
0.583678 ms (1710/s)
0.608513 ms (1640/s)
0.477575 ms (2090/s)
0.478692 ms (2080/s)
1.082624 ms (923/s)
0.566245 ms (1760/s)
0.566692 ms (1760/s)
0.598791 ms (1670/s)
0.463718 ms (2150/s)
0.465115 ms (2150/s)
1.069158 ms (935/s)
1000 17.829082 ms (56/s)
18.186390 ms (54/s)
20.164015 ms (49/s)
17.948929 ms (55/s)
17.996980 ms (55/s)
24.953451 ms (40/s)
17.930491 ms (55/s)
18.255393 ms (54/s)
20.274644 ms (49/s)
17.660624 ms (56/s)
18.114593 ms (55/s)
24.918530 ms (40/s)
4.470233 ms (223/s)
4.480625 ms (223/s)
4.601507 ms (217/s)
4.337814 ms (230/s)
4.347033 ms (230/s)
10.383163 ms (96/s)
4.460986 ms (224/s)
4.477608 ms (223/s)
4.584326 ms (218/s)
4.319208 ms (231/s)
4.327310 ms (231/s)
10.279519 ms (97/s)
3000 0.195328 s
0.197378 s
0.210258 s
0.195164 s
0.195394 s
0.215129 s
0.195786 s
0.195953 s
0.212061 s
0.195783 s
0.197359 s
0.214783 s
36.180576 ms (27/s)
36.390379 ms (27/s)
39.288234 ms (25/s)
35.817122 ms (27/s)
36.095370 ms (27/s)
44.122088 ms (22/s)
36.360208 ms (27/s)
36.382278 ms (27/s)
39.171738 ms (25/s)
35.838633 ms (27/s)
36.340094 ms (27/s)
43.815904 ms (22/s)
10000 2.559105 s
2.585329 s
2.706287 s
2.550730 s
2.552780 s
2.700849 s
2.551326 s
2.557480 s
2.704757 s
2.557277 s
2.562119 s
2.712643 s
0.403751 s
0.403885 s
0.420151 s
0.403657 s
0.403707 s
0.422448 s
0.404600 s
0.405076 s
0.419903 s
0.405538 s
0.423115 s
0.437420 s
30000 - - - - 3.605127 s
3.641100 s
3.708615 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex logarithm (log(w), mpc_log(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.159029 ms (6280/s)
0.162032 ms (6170/s)
0.164071 ms (6090/s)
0.092512 ms (10800/s)
0.206870 ms (4830/s)
0.829379 ms (1200/s)
0.151597 ms (6590/s)
0.154908 ms (6450/s)
0.156444 ms (6390/s)
0.074153 ms (13400/s)
0.180833 ms (5520/s)
0.819546 ms (1220/s)
0.154629 ms (6460/s)
0.155690 ms (6420/s)
0.159769 ms (6250/s)
0.088740 ms (11200/s)
0.221006 ms (4520/s)
1.028762 ms (972/s)
0.144460 ms (6920/s)
0.145074 ms (6890/s)
0.146681 ms (6810/s)
0.065763 ms (15200/s)
0.187119 ms (5340/s)
0.968252 ms (1030/s)
30 0.218408 ms (4570/s)
0.220922 ms (4520/s)
0.222067 ms (4500/s)
0.151891 ms (6580/s)
0.262659 ms (3800/s)
0.909864 ms (1090/s)
0.211479 ms (4720/s)
0.213128 ms (4690/s)
0.214133 ms (4660/s)
0.134095 ms (7450/s)
0.199970 ms (5000/s)
0.860919 ms (1160/s)
0.167689 ms (5960/s)
0.172913 ms (5780/s)
0.203350 ms (4910/s)
0.131553 ms (7600/s)
0.209887 ms (4760/s)
1.065191 ms (938/s)
0.159406 ms (6270/s)
0.163457 ms (6110/s)
0.193600 ms (5160/s)
0.134347 ms (7440/s)
0.177257 ms (5640/s)
1.038540 ms (962/s)
100 0.458075 ms (2180/s)
0.479865 ms (2080/s)
0.511518 ms (1950/s)
0.375914 ms (2660/s)
0.442151 ms (2260/s)
1.161460 ms (860/s)
0.448744 ms (2220/s)
0.473272 ms (2110/s)
0.480480 ms (2080/s)
0.360716 ms (2770/s)
0.412678 ms (2420/s)
1.122210 ms (891/s)
0.309984 ms (3220/s)
0.314928 ms (3170/s)
0.315264 ms (3170/s)
0.219777 ms (4550/s)
0.352056 ms (2840/s)
10.092344 ms (99/s)
0.299116 ms (3340/s)
0.300904 ms (3320/s)
0.305206 ms (3270/s)
0.192455 ms (5190/s)
0.306631 ms (3260/s)
1.131066 ms (884/s)
300 2.234334 ms (447/s)
2.362200 ms (423/s)
2.437544 ms (410/s)
2.146921 ms (465/s)
2.377285 ms (420/s)
14.945475 ms (66/s)
2.229306 ms (448/s)
2.343650 ms (426/s)
2.427906 ms (411/s)
2.127393 ms (470/s)
2.306466 ms (433/s)
14.973411 ms (66/s)
0.879274 ms (1130/s)
0.879553 ms (1130/s)
0.912015 ms (1090/s)
0.695647 ms (1430/s)
0.856869 ms (1160/s)
11.800941 ms (84/s)
0.858824 ms (1160/s)
0.866227 ms (1150/s)
0.899807 ms (1110/s)
0.674052 ms (1480/s)
0.822898 ms (1210/s)
11.029335 ms (90/s)
1000 23.911140 ms (41/s)
24.069819 ms (41/s)
24.071216 ms (41/s)
23.455216 ms (42/s)
24.736105 ms (40/s)
30.933540 ms (32/s)
23.830682 ms (41/s)
23.981260 ms (41/s)
24.205870 ms (41/s)
23.499635 ms (42/s)
24.418187 ms (40/s)
31.133286 ms (32/s)
6.465822 ms (154/s)
6.486551 ms (154/s)
6.519795 ms (153/s)
5.995008 ms (166/s)
6.144524 ms (162/s)
14.883735 ms (67/s)
6.479399 ms (154/s)
6.486523 ms (154/s)
6.494680 ms (153/s)
5.959696 ms (167/s)
6.164024 ms (162/s)
14.440662 ms (69/s)
3000 0.247396 s
0.247571 s
0.247824 s
0.246954 s
0.247630 s
0.253891 s
0.247875 s
0.248017 s
0.248147 s
0.246881 s
0.247771 s
0.254316 s
46.809860 ms (21/s)
47.260755 ms (21/s)
47.291765 ms (21/s)
46.442495 ms (21/s)
47.581187 ms (21/s)
55.868274 ms (17/s)
46.738063 ms (21/s)
47.247904 ms (21/s)
47.268577 ms (21/s)
46.464285 ms (21/s)
47.569174 ms (21/s)
55.048896 ms (18/s)
10000 3.184597 s
3.208039 s
3.220576 s
3.187097 s
3.188606 s
3.188788 s
3.179469 s
3.184486 s
3.214191 s
3.221136 s
3.223247 s
3.225877 s
0.513917 s
0.515423 s
0.522419 s
0.515038 s
0.521484 s
0.525525 s
0.514665 s
0.514791 s
0.522323 s
0.514998 s
0.521489 s
0.523011 s
30000 - - - - 4.574821 s
4.584266 s
4.622758 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex sine (sin(w), mpc_sin(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.154754 ms (6460/s)
0.159266 ms (6270/s)
0.159341 ms (6270/s)
0.081147 ms (12300/s)
0.148343 ms (6740/s)
0.707492 ms (1410/s)
0.147323 ms (6780/s)
0.150913 ms (6620/s)
0.162330 ms (6160/s)
0.071860 ms (13900/s)
0.136107 ms (7340/s)
0.695088 ms (1430/s)
0.158363 ms (6310/s)
0.158830 ms (6290/s)
0.162698 ms (6140/s)
0.078893 ms (12600/s)
0.163289 ms (6120/s)
0.829603 ms (1200/s)
0.148790 ms (6720/s)
0.150247 ms (6650/s)
0.150298 ms (6650/s)
0.068792 ms (14500/s)
0.149488 ms (6680/s)
0.771634 ms (1290/s)
30 0.184292 ms (5420/s)
0.187778 ms (5320/s)
0.191617 ms (5210/s)
0.108338 ms (9230/s)
0.128676 ms (7770/s)
0.775797 ms (1280/s)
0.176369 ms (5660/s)
0.180470 ms (5540/s)
0.184921 ms (5400/s)
0.100979 ms (9900/s)
0.119121 ms (8390/s)
0.764734 ms (1300/s)
0.173078 ms (5770/s)
0.176034 ms (5680/s)
0.181960 ms (5490/s)
0.097512 ms (10200/s)
0.156947 ms (6370/s)
0.840079 ms (1190/s)
0.167653 ms (5960/s)
0.171720 ms (5820/s)
0.179269 ms (5570/s)
0.087001 ms (11400/s)
0.142364 ms (7020/s)
0.874552 ms (1140/s)
100 0.400288 ms (2490/s)
0.403962 ms (2470/s)
0.456846 ms (2180/s)
0.296700 ms (3370/s)
0.384378 ms (2600/s)
1.033483 ms (967/s)
0.391782 ms (2550/s)
0.394100 ms (2530/s)
0.434916 ms (2290/s)
0.284170 ms (3510/s)
0.370326 ms (2700/s)
1.010547 ms (989/s)
0.254427 ms (3930/s)
0.262836 ms (3800/s)
0.273610 ms (3650/s)
0.171977 ms (5810/s)
0.270509 ms (3690/s)
0.942019 ms (1060/s)
0.245311 ms (4070/s)
0.250963 ms (3980/s)
0.264168 ms (3780/s)
0.154088 ms (6480/s)
0.253133 ms (3950/s)
0.893549 ms (1110/s)
300 1.737148 ms (575/s)
1.740221 ms (574/s)
1.805621 ms (553/s)
1.617775 ms (618/s)
1.676079 ms (596/s)
2.456904 ms (407/s)
1.717593 ms (582/s)
1.730499 ms (577/s)
1.791652 ms (558/s)
1.604813 ms (623/s)
1.644259 ms (608/s)
2.412904 ms (414/s)
0.621699 ms (1600/s)
0.627342 ms (1590/s)
0.666370 ms (1500/s)
0.536968 ms (1860/s)
0.541745 ms (1840/s)
1.368023 ms (730/s)
0.610385 ms (1630/s)
0.619716 ms (1610/s)
0.658547 ms (1510/s)
0.526911 ms (1890/s)
0.538281 ms (1850/s)
1.288432 ms (776/s)
1000 18.276066 ms (54/s)
18.435863 ms (54/s)
20.984790 ms (47/s)
18.251761 ms (54/s)
18.747634 ms (53/s)
27.837058 ms (35/s)
18.353171 ms (54/s)
18.424688 ms (54/s)
20.920257 ms (47/s)
18.270758 ms (54/s)
18.985374 ms (52/s)
27.329730 ms (36/s)
4.554741 ms (219/s)
4.604189 ms (217/s)
4.691043 ms (213/s)
4.392681 ms (227/s)
4.466238 ms (223/s)
12.625906 ms (79/s)
4.569603 ms (218/s)
4.576168 ms (218/s)
4.694787 ms (213/s)
4.398743 ms (227/s)
4.436765 ms (225/s)
12.471976 ms (80/s)
3000 0.199676 s
0.200717 s
0.214569 s
0.198816 s
0.200074 s
0.220596 s
0.199459 s
0.199463 s
0.214476 s
0.199570 s
0.200488 s
0.220165 s
36.184208 ms (27/s)
36.490951 ms (27/s)
39.707840 ms (25/s)
36.229744 ms (27/s)
36.708017 ms (27/s)
46.261466 ms (21/s)
36.240919 ms (27/s)
36.660246 ms (27/s)
39.650011 ms (25/s)
36.072741 ms (27/s)
36.717795 ms (27/s)
46.354495 ms (21/s)
10000 2.600480 s
2.654991 s
2.732226 s
2.582730 s
2.589160 s
2.753256 s
2.588277 s
2.657273 s
2.753086 s
2.586833 s
2.601908 s
2.750890 s
0.405165 s
0.405512 s
0.421566 s
0.404984 s
0.405434 s
0.426365 s
0.406066 s
0.406306 s
0.422938 s
0.406163 s
0.426528 s
0.427657 s
30000 - - - - 3.608367 s
3.628768 s
3.708857 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex inverse tangent (atan(w), mpc_atan(w,prec,rnd))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.404577 ms (2470/s)
0.417791 ms (2390/s)
0.429971 ms (2320/s)
0.192916 ms (5180/s)
0.302888 ms (3300/s)
11.938668 ms (83/s)
0.396810 ms (2520/s)
0.410136 ms (2430/s)
0.421841 ms (2370/s)
0.176559 ms (5660/s)
0.299172 ms (3340/s)
11.746186 ms (85/s)
0.399157 ms (2500/s)
0.409884 ms (2430/s)
0.419020 ms (2380/s)
0.179953 ms (5550/s)
0.316996 ms (3150/s)
13.788624 ms (72/s)
0.390133 ms (2560/s)
0.400582 ms (2490/s)
0.413684 ms (2410/s)
0.164881 ms (6060/s)
0.297803 ms (3350/s)
13.742249 ms (72/s)
30 0.471540 ms (2120/s)
0.504645 ms (1980/s)
0.535347 ms (1860/s)
0.289311 ms (3450/s)
0.400498 ms (2490/s)
12.179202 ms (82/s)
0.466819 ms (2140/s)
0.494784 ms (2020/s)
0.524117 ms (1900/s)
0.287690 ms (3470/s)
0.393430 ms (2540/s)
12.584002 ms (79/s)
0.435530 ms (2290/s)
0.464640 ms (2150/s)
0.489168 ms (2040/s)
0.256206 ms (3900/s)
0.375299 ms (2660/s)
14.433119 ms (69/s)
0.428714 ms (2330/s)
0.456343 ms (2190/s)
0.480759 ms (2080/s)
0.241651 ms (4130/s)
0.367952 ms (2710/s)
14.103189 ms (70/s)
100 0.985600 ms (1010/s)
1.047088 ms (955/s)
1.114164 ms (897/s)
0.733026 ms (1360/s)
0.781524 ms (1270/s)
14.623926 ms (68/s)
0.957496 ms (1040/s)
1.025298 ms (975/s)
1.134083 ms (881/s)
0.713694 ms (1400/s)
0.792838 ms (1260/s)
14.305170 ms (69/s)
0.659497 ms (1510/s)
0.708805 ms (1410/s)
0.747609 ms (1330/s)
0.433519 ms (2300/s)
0.469278 ms (2130/s)
16.520535 ms (60/s)
0.639299 ms (1560/s)
0.677405 ms (1470/s)
0.734116 ms (1360/s)
0.416897 ms (2390/s)
0.467741 ms (2130/s)
16.407951 ms (60/s)
300 4.302418 ms (232/s)
15.068396 ms (66/s)
15.888612 ms (62/s)
3.937847 ms (253/s)
15.076497 ms (66/s)
26.634391 ms (37/s)
4.299457 ms (232/s)
15.096332 ms (66/s)
15.974377 ms (62/s)
3.912453 ms (255/s)
15.053310 ms (66/s)
27.070759 ms (36/s)
1.708234 ms (585/s)
1.907030 ms (524/s)
2.027939 ms (493/s)
1.355563 ms (737/s)
1.589504 ms (629/s)
19.071418 ms (52/s)
1.742652 ms (573/s)
1.896302 ms (527/s)
2.010088 ms (497/s)
1.324274 ms (755/s)
1.581514 ms (632/s)
18.640917 ms (53/s)
1000 48.222609 ms (20/s)
48.438559 ms (20/s)
50.896133 ms (19/s)
47.616666 ms (21/s)
48.242724 ms (20/s)
60.942103 ms (16/s)
48.262279 ms (20/s)
48.403079 ms (20/s)
50.651689 ms (19/s)
47.424743 ms (21/s)
48.226241 ms (20/s)
61.203868 ms (16/s)
11.810998 ms (84/s)
11.994262 ms (83/s)
12.997462 ms (76/s)
11.118452 ms (89/s)
11.986998 ms (83/s)
25.334505 ms (39/s)
11.788090 ms (84/s)
11.830554 ms (84/s)
12.960027 ms (77/s)
11.081297 ms (90/s)
12.172776 ms (82/s)
25.468600 ms (39/s)
3000 0.497549 s
0.498117 s
0.511441 s
0.497648 s
0.501163 s
0.522245 s
0.497569 s
0.497745 s
0.512224 s
0.496278 s
0.497709 s
0.522267 s
93.827567 ms (10/s)
94.110564 ms (10/s)
97.539212 ms (10/s)
92.495555 ms (10/s)
93.489256 ms (10/s)
0.109364 s
93.804660 ms (10/s)
93.946018 ms (10/s)
97.564635 ms (10/s)
92.908177 ms (10/s)
94.080952 ms (10/s)
0.108809 s
10000 6.384154 s
6.402114 s
6.551137 s
6.369836 s
6.386447 s
6.552555 s
6.373338 s
6.389933 s
6.560868 s
6.385650 s
6.416589 s
6.549177 s
1.028052 s
1.045258 s
1.053494 s
1.024743 s
1.048894 s
1.053576 s
1.028081 s
1.045931 s
1.052448 s
1.024925 s
1.049187 s
1.053201 s
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex inverse hyperbolic cotangent (acoth(w))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.508249 ms (1960/s)
0.528950 ms (1890/s)
0.541046 ms (1840/s)
0.298027 ms (3350/s)
0.319175 ms (3130/s)
13.720459 ms (72/s)
- - 0.493415 ms (2020/s)
0.502718 ms (1980/s)
0.540963 ms (1840/s)
0.295289 ms (3380/s)
0.303251 ms (3290/s)
16.674745 ms (59/s)
- -
30 0.586527 ms (1700/s)
0.607424 ms (1640/s)
0.615832 ms (1620/s)
0.361163 ms (2760/s)
0.449750 ms (2220/s)
13.890592 ms (71/s)
- - 0.551439 ms (1810/s)
0.552780 ms (1800/s)
0.564066 ms (1770/s)
0.332249 ms (3000/s)
0.398598 ms (2500/s)
16.053437 ms (62/s)
- -
100 1.133636 ms (882/s)
1.158918 ms (862/s)
1.178641 ms (848/s)
0.812729 ms (1230/s)
0.967302 ms (1030/s)
15.772116 ms (63/s)
- - 0.774959 ms (1290/s)
0.806080 ms (1240/s)
0.808147 ms (1230/s)
0.499393 ms (2000/s)
0.596165 ms (1670/s)
18.207342 ms (54/s)
- -
300 4.792453 ms (208/s)
15.700878 ms (63/s)
16.107075 ms (62/s)
4.311861 ms (231/s)
15.252218 ms (65/s)
28.648613 ms (34/s)
- - 1.944856 ms (514/s)
2.053166 ms (487/s)
2.107502 ms (474/s)
1.513181 ms (660/s)
1.618865 ms (617/s)
21.322822 ms (46/s)
- -
1000 49.559651 ms (20/s)
50.252756 ms (19/s)
52.323410 ms (19/s)
48.884705 ms (20/s)
49.726432 ms (20/s)
63.929634 ms (15/s)
- - 12.071646 ms (82/s)
12.145678 ms (82/s)
13.281018 ms (75/s)
11.590300 ms (86/s)
11.973589 ms (83/s)
27.298162 ms (36/s)
- -
3000 0.507851 s
0.509917 s
0.522402 s
0.506802 s
0.526285 s
0.532114 s
- - 94.931618 ms (10/s)
95.475263 ms (10/s)
98.471454 ms (10/s)
94.071733 ms (10/s)
94.596101 ms (10/s)
0.111764 s
- -
10000 6.470075 s
6.474601 s
6.643450 s
6.452384 s
6.470670 s
6.683530 s
- - 1.037124 s
1.051693 s
1.074016 s
1.031794 s
1.061288 s
1.072939 s
- -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex error function (erf(w))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.333590 ms (2990/s)
0.349011 ms (2860/s)
0.372855 ms (2680/s)
0.294563 ms (3390/s)
0.305877 ms (3260/s)
1.020828 ms (979/s)
- - 0.310319 ms (3220/s)
0.326745 ms (3060/s)
0.332486 ms (3000/s)
0.243159 ms (4110/s)
0.286461 ms (3490/s)
1.191017 ms (839/s)
- -
30 0.475787 ms (2100/s)
0.479754 ms (2080/s)
0.491208 ms (2030/s)
0.369684 ms (2700/s)
0.405359 ms (2460/s)
1.164813 ms (858/s)
- - 0.402146 ms (2480/s)
0.408292 ms (2440/s)
0.425669 ms (2340/s)
0.306491 ms (3260/s)
0.369237 ms (2700/s)
10.254655 ms (97/s)
- -
100 1.467840 ms (681/s)
1.484965 ms (673/s)
1.515360 ms (659/s)
1.220798 ms (819/s)
1.412302 ms (708/s)
10.712814 ms (93/s)
- - 0.817925 ms (1220/s)
0.847035 ms (1180/s)
0.847119 ms (1180/s)
0.560406 ms (1780/s)
0.692406 ms (1440/s)
10.765893 ms (92/s)
- -
300 10.294884 ms (97/s)
10.305220 ms (97/s)
10.984776 ms (91/s)
10.425347 ms (95/s)
10.532232 ms (94/s)
19.009679 ms (52/s)
- - 3.232003 ms (309/s)
3.271812 ms (305/s)
3.353080 ms (298/s)
2.787254 ms (358/s)
2.934451 ms (340/s)
12.805538 ms (78/s)
- -
1000 0.171768 s
0.171995 s
0.177275 s
0.170768 s
0.176329 s
0.179037 s
- - 34.767268 ms (28/s)
35.655649 ms (28/s)
35.942836 ms (27/s)
34.573109 ms (28/s)
35.709846 ms (28/s)
43.937148 ms (22/s)
- -
3000 2.565171 s
2.594557 s
2.633780 s
2.546959 s
2.571475 s
2.639058 s
- - 0.447924 s
0.450297 s
0.461611 s
0.446775 s
0.453405 s
0.459201 s
- -
10000 - - - - 7.777756 s
7.793649 s
7.977969 s
7.781383 s
7.795986 s
7.963490 s
- -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex Lambert W function (lambertw(w))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 3.741397 ms (267/s)
3.758075 ms (266/s)
3.844232 ms (260/s)
2.219500 ms (450/s)
2.302611 ms (434/s)
28.906188 ms (34/s)
- - 3.734832 ms (267/s)
3.770088 ms (265/s)
3.781570 ms (264/s)
2.270065 ms (440/s)
2.297890 ms (435/s)
33.267915 ms (30/s)
- -
30 4.121194 ms (242/s)
4.712023 ms (212/s)
4.778708 ms (209/s)
2.557923 ms (390/s)
2.815972 ms (355/s)
30.824867 ms (32/s)
- - 4.051856 ms (246/s)
4.653832 ms (214/s)
4.695234 ms (212/s)
2.456346 ms (407/s)
2.807927 ms (356/s)
35.148322 ms (28/s)
- -
100 7.306348 ms (136/s)
8.175564 ms (122/s)
8.342178 ms (119/s)
5.152163 ms (194/s)
5.758637 ms (173/s)
34.310227 ms (29/s)
- - 5.439602 ms (183/s)
6.080493 ms (164/s)
6.304572 ms (158/s)
3.584478 ms (278/s)
4.005705 ms (249/s)
37.592767 ms (26/s)
- -
300 26.999800 ms (37/s)
29.604042 ms (33/s)
30.665350 ms (32/s)
26.122594 ms (38/s)
26.436880 ms (37/s)
56.223067 ms (17/s)
- - 10.608611 ms (94/s)
11.641144 ms (85/s)
12.885716 ms (77/s)
8.140755 ms (122/s)
10.944966 ms (91/s)
42.629440 ms (23/s)
- -
1000 0.232698 s
0.232846 s
0.237258 s
0.229457 s
0.231180 s
0.263263 s
- - 53.249226 ms (18/s)
53.693416 ms (18/s)
55.847321 ms (17/s)
50.270635 ms (19/s)
51.961353 ms (19/s)
85.625128 ms (11/s)
- -
3000 2.545826 s
2.546732 s
2.600521 s
2.537613 s
2.574222 s
2.606652 s
- - 0.450570 s
0.451537 s
0.457254 s
0.446248 s
0.448650 s
0.481920 s
- -
10000 - - - - 5.204003 s
5.204790 s
5.270729 s
5.192914 s
5.202009 s
5.283479 s
- -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex gamma function* (gamma(w))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.667990 ms (1490/s)
0.670309 ms (1490/s)
0.926375 ms (1070/s)
0.436452 ms (2290/s)
0.508556 ms (1960/s)
26.026772 ms (38/s)
- - 0.631505 ms (1580/s)
0.637204 ms (1560/s)
0.906177 ms (1100/s)
0.384993 ms (2590/s)
0.466735 ms (2140/s)
28.671800 ms (34/s)
- -
30 1.025661 ms (974/s)
1.030606 ms (970/s)
1.493681 ms (669/s)
0.775573 ms (1280/s)
0.869719 ms (1140/s)
27.890975 ms (35/s)
- - 0.846560 ms (1180/s)
0.859048 ms (1160/s)
1.265356 ms (790/s)
0.578733 ms (1720/s)
0.673186 ms (1480/s)
30.568969 ms (32/s)
- -
100 5.344534 ms (187/s)
5.349591 ms (186/s)
25.335622 ms (39/s)
4.857237 ms (205/s)
4.980996 ms (200/s)
42.916348 ms (23/s)
- - 2.240760 ms (446/s)
2.272272 ms (440/s)
15.724065 ms (63/s)
1.776874 ms (562/s)
1.840178 ms (543/s)
38.040868 ms (26/s)
- -
300 65.676224 ms (15/s)
66.057837 ms (15/s)
0.233464 s
66.315412 ms (15/s)
66.550637 ms (15/s)
0.236558 s
- - 14.210465 ms (70/s)
14.217449 ms (70/s)
79.084912 ms (12/s)
13.877741 ms (72/s)
14.286732 ms (69/s)
91.440951 ms (10/s)
- -
1000 1.857053 s
1.937414 s
5.897359 s
1.846034 s
1.853103 s
5.819555 s
- - 0.260030 s
0.261904 s
1.225219 s
0.265040 s
0.282287 s
1.175356 s
- -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Complex Riemann zeta function* (zeta(w))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 6.287447 ms (159/s)
6.321837 ms (158/s)
6.348935 ms (157/s)
3.374004 ms (296/s)
3.410741 ms (293/s)
18.677513 ms (53/s)
- - 6.015569 ms (166/s)
6.054429 ms (165/s)
6.071386 ms (164/s)
3.156518 ms (316/s)
3.216191 ms (310/s)
20.571330 ms (48/s)
- -
30 10.597157 ms (94/s)
10.786566 ms (92/s)
12.281449 ms (81/s)
6.672915 ms (149/s)
6.770302 ms (147/s)
22.983368 ms (43/s)
- - 10.484238 ms (95/s)
10.749215 ms (93/s)
11.762668 ms (85/s)
5.618060 ms (177/s)
5.775175 ms (173/s)
24.866010 ms (40/s)
- -
100 57.918255 ms (17/s)
58.259639 ms (17/s)
69.372225 ms (14/s)
41.594672 ms (24/s)
41.627358 ms (24/s)
67.448237 ms (14/s)
- - 36.583700 ms (27/s)
36.685948 ms (27/s)
45.704412 ms (21/s)
22.966885 ms (43/s)
23.041755 ms (43/s)
48.002470 ms (20/s)
- -
300 0.678171 s
0.718669 s
0.819461 s
0.627236 s
0.642850 s
0.772843 s
- - 0.239122 s
0.239435 s
0.303852 s
0.189575 s
0.190511 s
0.260723 s
- -
1000 24.206216 s
24.255810 s
27.768944 s
23.945915 s
24.032524 s
27.422192 s
- - 5.504463 s
5.527151 s
6.287348 s
5.243156 s
5.264970 s
5.988588 s
- -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Section 4: Miscellaneous

Numerical integration* (quad(sqrt, [1, 2]))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 5.454325 ms (183/s)
5.454855 ms (183/s)
13.022884 ms (76/s)
3.146154 ms (317/s)
3.623198 ms (275/s)
31.021820 ms (32/s)
- - 5.444854 ms (183/s)
5.474914 ms (182/s)
13.653132 ms (73/s)
3.244742 ms (308/s)
3.665159 ms (272/s)
34.070531 ms (29/s)
- -
30 11.685843 ms (85/s)
11.700928 ms (85/s)
30.192385 ms (33/s)
7.478967 ms (133/s)
7.804651 ms (128/s)
44.160641 ms (22/s)
- - 11.040509 ms (90/s)
11.063138 ms (90/s)
30.562544 ms (32/s)
7.378731 ms (135/s)
7.836890 ms (127/s)
47.198177 ms (21/s)
- -
100 70.675463 ms (14/s)
71.847679 ms (13/s)
0.207954 s
45.064387 ms (22/s)
45.382304 ms (22/s)
0.161496 s
- - 54.660858 ms (18/s)
55.003359 ms (18/s)
0.156480 s
34.258823 ms (29/s)
34.306315 ms (29/s)
0.130265 s
- -
300 0.259847 s
0.262297 s
1.041924 s
0.189645 s
0.191292 s
0.902704 s
- - 0.146870 s
0.148058 s
0.508046 s
96.464495 ms (10/s)
96.756990 ms (10/s)
0.400867 s
- -
1000 4.041037 s
4.045999 s
35.880683 s
3.642907 s
3.643454 s
34.758030 s
- - 1.004990 s
1.005899 s
8.312891 s
0.755230 s
0.757314 s
7.626664 s
- -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Numerical double integration* (quad(lambda x, y: sqrt(x+y), [1, 2], [1, 2]))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.297557 s
0.297792 s
0.307578 s
0.171526 s
0.172365 s
0.204496 s
- - 0.292785 s
0.294370 s
0.305006 s
0.173413 s
0.173433 s
0.214114 s
- -
30 1.653624 s
1.655603 s
1.688328 s
0.970014 s
0.972201 s
1.020420 s
- - 1.576984 s
1.579459 s
1.613875 s
0.965200 s
0.969950 s
1.030655 s
- -
100 13.267300 s
13.296855 s
13.386783 s
8.215014 s
8.226463 s
8.350883 s
- - 10.518337 s
10.520094 s
10.659492 s
6.536158 s
6.551759 s
6.687366 s
- -
300 - - - - - - - -
1000 - - - - - - - -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Polynomial roots, deg=3 (polyroots([x*i for i in range(3+1)][::-1]))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 12.956954 ms (77/s)
13.034338 ms (76/s)
13.163684 ms (75/s)
7.868430 ms (127/s)
8.098152 ms (123/s)
30.098239 ms (33/s)
- - 13.253360 ms (75/s)
13.320967 ms (75/s)
13.593348 ms (73/s)
8.158439 ms (122/s)
8.502393 ms (117/s)
32.739915 ms (30/s)
- -
30 14.652421 ms (68/s)
14.729246 ms (67/s)
14.813894 ms (67/s)
9.088697 ms (110/s)
9.213266 ms (108/s)
30.194061 ms (33/s)
- - 14.745449 ms (67/s)
15.029005 ms (66/s)
15.784967 ms (63/s)
9.355351 ms (106/s)
10.094300 ms (99/s)
32.756677 ms (30/s)
- -
100 21.589895 ms (46/s)
21.847469 ms (45/s)
21.986873 ms (45/s)
14.161576 ms (70/s)
15.078173 ms (66/s)
38.960818 ms (25/s)
- - 18.830606 ms (53/s)
18.952967 ms (52/s)
19.141539 ms (52/s)
11.698414 ms (85/s)
13.088256 ms (76/s)
37.851459 ms (26/s)
- -
300 44.856260 ms (22/s)
45.325314 ms (22/s)
45.487345 ms (21/s)
35.505909 ms (28/s)
36.470836 ms (27/s)
59.210039 ms (16/s)
- - 27.020473 ms (37/s)
27.319673 ms (36/s)
27.788727 ms (35/s)
18.323279 ms (54/s)
18.528333 ms (53/s)
43.853060 ms (22/s)
- -
1000 0.236132 s
0.236517 s
0.240210 s
0.219614 s
0.222612 s
0.246492 s
- - 67.548529 ms (14/s)
68.021774 ms (14/s)
69.134206 ms (14/s)
50.429594 ms (19/s)
51.817200 ms (19/s)
80.036150 ms (12/s)
- -
3000 1.645085 s
1.652523 s
1.654126 s
1.609258 s
1.613967 s
1.645994 s
- - 0.251895 s
0.253086 s
0.254413 s
0.216294 s
0.216780 s
0.247137 s
- -
10000 - - - - 1.510386 s
1.513112 s
1.523590 s
1.397527 s
1.411523 s
1.430128 s
- -
30000 - - - - 8.203768 s
8.328024 s
8.330323 s
- - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Polynomial roots, deg=10 (polyroots([x*i for i in range(10+1)][::-1]))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 0.133394 s
0.133474 s
0.133731 s
67.388174 ms (14/s)
70.002752 ms (14/s)
92.001916 ms (10/s)
- - 0.139099 s
0.139529 s
0.139689 s
71.545127 ms (13/s)
73.369660 ms (13/s)
98.244051 ms (10/s)
- -
30 0.150359 s
0.151253 s
0.151380 s
79.867134 ms (12/s)
80.425864 ms (12/s)
0.107677 s
- - 0.156459 s
0.156750 s
0.156753 s
80.765852 ms (12/s)
82.128595 ms (12/s)
0.111961 s
- -
100 0.225612 s
0.226018 s
0.227173 s
0.136613 s
0.168959 s
0.170292 s
- - 0.191001 s
0.191152 s
0.191734 s
0.102643 s
0.103514 s
0.135431 s
- -
300 0.510318 s
0.511077 s
0.511702 s
0.408949 s
0.409186 s
0.442508 s
- - 0.266772 s
0.266999 s
0.267236 s
0.163106 s
0.163502 s
0.197124 s
- -
1000 2.908189 s
2.911706 s
2.923090 s
2.813375 s
2.834600 s
2.862272 s
- - 0.682758 s
0.684497 s
0.696732 s
0.549247 s
0.555618 s
0.581982 s
- -
3000 - - - - 2.816503 s
2.819829 s
2.820143 s
2.618937 s
2.619095 s
2.651139 s
- -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -

Chebyshev approximation (chebyfit(sqrt, [1, 2], mp.dps))

dps mpf mpf+psyco lib lib+psyco gmpy+mpf gmpy+mpf+psyco gmpy+lib gmpy+lib+psyco
15 90.469878 ms (11/s)
91.220812 ms (10/s)
91.333954 ms (10/s)
56.266928 ms (17/s)
56.439296 ms (17/s)
74.876276 ms (13/s)
- - 91.464697 ms (10/s)
92.062539 ms (10/s)
92.341066 ms (10/s)
56.620045 ms (17/s)
56.669493 ms (17/s)
77.287476 ms (12/s)
- -
30 0.380709 s
0.381547 s
0.382568 s
0.242494 s
0.242630 s
0.262728 s
- - 0.371581 s
0.371942 s
0.373710 s
0.236131 s
0.236513 s
0.258816 s
- -
100 6.601554 s
6.606079 s
6.610507 s
4.714120 s
4.714870 s
4.721483 s
- - 5.074332 s
5.074781 s
5.080848 s
3.264495 s
3.271384 s
3.285996 s
- -
300 - - - - - - - -
1000 - - - - - - - -
3000 - - - - - - - -
10000 - - - - - - - -
30000 - - - - - - - -
100000 - - - - - - - -
300000 - - - - - - - -
1000000 - - - - - - - -