[libc-commits] [libc] [libc][math] Optimize nearest integer functions using builtins when available (PR #98376)
via libc-commits
libc-commits at lists.llvm.org
Fri Jul 12 08:23:43 PDT 2024
overmighty wrote:
After:
<ul>
<li><details><summary>Intel Core i7-13700H, Clang 18</summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31018800 ns
Average runtime : 1.09271 ns/op
Ops per second : 915155969 op/s
-- Other function --
Total time : 30981011 ns
Average runtime : 1.09138 ns/op
Ops per second : 916272228 op/s
-- Average runtime ratio --
Mine / Other's : 1.00122
Performance tests with inputs in low integral range:
-- My function --
Total time : 184302401 ns
Average runtime : 1.13361 ns/op
Ops per second : 882138914 op/s
-- Other function --
Total time : 181715620 ns
Average runtime : 1.1177 ns/op
Ops per second : 894696449 op/s
-- Average runtime ratio --
Mine / Other's : 1.01424
Performance tests with inputs in high integral range:
-- My function --
Total time : 156995442 ns
Average runtime : 1.14785 ns/op
Ops per second : 871196757 op/s
-- Other function --
Total time : 152226377 ns
Average runtime : 1.11298 ns/op
Ops per second : 898490279 op/s
-- Average runtime ratio --
Mine / Other's : 1.03133
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 713013600 ns
Average runtime : 1.06247 ns/op
Ops per second : 941200223 op/s
-- Other function --
Total time : 708474275 ns
Average runtime : 1.05571 ns/op
Ops per second : 947230666 op/s
-- Average runtime ratio --
Mine / Other's : 1.00641
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356403341 ns
Average runtime : 1.06216 ns/op
Ops per second : 941473441 op/s
-- Other function --
Total time : 354202051 ns
Average runtime : 1.0556 ns/op
Ops per second : 947324497 op/s
-- Average runtime ratio --
Mine / Other's : 1.00621 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31134741 ns
Average runtime : 1.09679 ns/op
Ops per second : 911748069 op/s
-- Other function --
Total time : 31058308 ns
Average runtime : 1.0941 ns/op
Ops per second : 913991837 op/s
-- Average runtime ratio --
Mine / Other's : 1.00246
Performance tests with inputs in low integral range:
-- My function --
Total time : 182461899 ns
Average runtime : 1.12229 ns/op
Ops per second : 891037092 op/s
-- Other function --
Total time : 181097788 ns
Average runtime : 1.1139 ns/op
Ops per second : 897748789 op/s
-- Average runtime ratio --
Mine / Other's : 1.00753
Performance tests with inputs in high integral range:
-- My function --
Total time : 155849255 ns
Average runtime : 1.13947 ns/op
Ops per second : 877603938 op/s
-- Other function --
Total time : 152300994 ns
Average runtime : 1.11352 ns/op
Ops per second : 898050081 op/s
-- Average runtime ratio --
Mine / Other's : 1.0233
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 711235085 ns
Average runtime : 1.05982 ns/op
Ops per second : 943553789 op/s
-- Other function --
Total time : 708490393 ns
Average runtime : 1.05573 ns/op
Ops per second : 947209117 op/s
-- Average runtime ratio --
Mine / Other's : 1.00387
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356351760 ns
Average runtime : 1.06201 ns/op
Ops per second : 941609717 op/s
-- Other function --
Total time : 354308027 ns
Average runtime : 1.05592 ns/op
Ops per second : 947041146 op/s
-- Average runtime ratio --
Mine / Other's : 1.00577 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 38482272 ns
Average runtime : 1.35563 ns/op
Ops per second : 737665385 op/s
-- Other function --
Total time : 57295483 ns
Average runtime : 2.01837 ns/op
Ops per second : 495449876 op/s
-- Average runtime ratio --
Mine / Other's : 0.671646
Performance tests with inputs in low integral range:
-- My function --
Total time : 222363242 ns
Average runtime : 1.36771 ns/op
Ops per second : 731147461 op/s
-- Other function --
Total time : 265523408 ns
Average runtime : 1.63318 ns/op
Ops per second : 612301270 op/s
-- Average runtime ratio --
Mine / Other's : 0.837453
Performance tests with inputs in high integral range:
-- My function --
Total time : 188287687 ns
Average runtime : 1.37663 ns/op
Ops per second : 726409263 op/s
-- Other function --
Total time : 285013709 ns
Average runtime : 2.08383 ns/op
Ops per second : 479885407 op/s
-- Average runtime ratio --
Mine / Other's : 0.660627
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 885378527 ns
Average runtime : 1.31932 ns/op
Ops per second : 757967964 op/s
-- Other function --
Total time : 1086630165 ns
Average runtime : 1.61921 ns/op
Ops per second : 617586904 op/s
-- Average runtime ratio --
Mine / Other's : 0.814793
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 442714794 ns
Average runtime : 1.31939 ns/op
Ops per second : 757924254 op/s
-- Other function --
Total time : 531215512 ns
Average runtime : 1.58315 ns/op
Ops per second : 631653768 op/s
-- Average runtime ratio --
Mine / Other's : 0.8334 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30999236 ns
Average runtime : 1.09202 ns/op
Ops per second : 915733536 op/s
-- Other function --
Total time : 31111173 ns
Average runtime : 1.09596 ns/op
Ops per second : 912438756 op/s
-- Average runtime ratio --
Mine / Other's : 0.996402
Performance tests with inputs in low integral range:
-- My function --
Total time : 183146866 ns
Average runtime : 1.1265 ns/op
Ops per second : 887704624 op/s
-- Other function --
Total time : 183603638 ns
Average runtime : 1.12931 ns/op
Ops per second : 885496179 op/s
-- Average runtime ratio --
Mine / Other's : 0.997512
Performance tests with inputs in high integral range:
-- My function --
Total time : 155301378 ns
Average runtime : 1.13546 ns/op
Ops per second : 880699976 op/s
-- Other function --
Total time : 156316954 ns
Average runtime : 1.14289 ns/op
Ops per second : 874978154 op/s
-- Average runtime ratio --
Mine / Other's : 0.993503
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712552886 ns
Average runtime : 1.06179 ns/op
Ops per second : 941808774 op/s
-- Other function --
Total time : 711921805 ns
Average runtime : 1.06085 ns/op
Ops per second : 942643637 op/s
-- Average runtime ratio --
Mine / Other's : 1.00089
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356227918 ns
Average runtime : 1.06164 ns/op
Ops per second : 941937066 op/s
-- Other function --
Total time : 355887079 ns
Average runtime : 1.06063 ns/op
Ops per second : 942839175 op/s
-- Average runtime ratio --
Mine / Other's : 1.00096 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31040911 ns
Average runtime : 1.09349 ns/op
Ops per second : 914504087 op/s
-- Other function --
Total time : 30990855 ns
Average runtime : 1.09173 ns/op
Ops per second : 915981182 op/s
-- Average runtime ratio --
Mine / Other's : 1.00162
Performance tests with inputs in low integral range:
-- My function --
Total time : 182206086 ns
Average runtime : 1.12071 ns/op
Ops per second : 892288087 op/s
-- Other function --
Total time : 181171903 ns
Average runtime : 1.11435 ns/op
Ops per second : 897381532 op/s
-- Average runtime ratio --
Mine / Other's : 1.00571
Performance tests with inputs in high integral range:
-- My function --
Total time : 155359749 ns
Average runtime : 1.13589 ns/op
Ops per second : 880369084 op/s
-- Other function --
Total time : 151841062 ns
Average runtime : 1.11016 ns/op
Ops per second : 900770306 op/s
-- Average runtime ratio --
Mine / Other's : 1.02317
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712710655 ns
Average runtime : 1.06202 ns/op
Ops per second : 941600290 op/s
-- Other function --
Total time : 708298025 ns
Average runtime : 1.05545 ns/op
Ops per second : 947466371 op/s
-- Average runtime ratio --
Mine / Other's : 1.00623
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356416705 ns
Average runtime : 1.0622 ns/op
Ops per second : 941438140 op/s
-- Other function --
Total time : 354129056 ns
Average runtime : 1.05539 ns/op
Ops per second : 947519765 op/s
-- Average runtime ratio --
Mine / Other's : 1.00646 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31086006 ns
Average runtime : 1.09508 ns/op
Ops per second : 913177459 op/s
-- Other function --
Total time : 30982316 ns
Average runtime : 1.09143 ns/op
Ops per second : 916233634 op/s
-- Average runtime ratio --
Mine / Other's : 1.00335
Performance tests with inputs in low integral range:
-- My function --
Total time : 184314094 ns
Average runtime : 1.13369 ns/op
Ops per second : 882082951 op/s
-- Other function --
Total time : 181125391 ns
Average runtime : 1.11407 ns/op
Ops per second : 897611975 op/s
-- Average runtime ratio --
Mine / Other's : 1.01761
Performance tests with inputs in high integral range:
-- My function --
Total time : 159386091 ns
Average runtime : 1.16533 ns/op
Ops per second : 858129584 op/s
-- Other function --
Total time : 151887011 ns
Average runtime : 1.1105 ns/op
Ops per second : 900497804 op/s
-- Average runtime ratio --
Mine / Other's : 1.04938
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712450062 ns
Average runtime : 1.06164 ns/op
Ops per second : 941944700 op/s
-- Other function --
Total time : 708349162 ns
Average runtime : 1.05553 ns/op
Ops per second : 947397972 op/s
-- Average runtime ratio --
Mine / Other's : 1.00579
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356127944 ns
Average runtime : 1.06135 ns/op
Ops per second : 942201491 op/s
-- Other function --
Total time : 354189377 ns
Average runtime : 1.05557 ns/op
Ops per second : 947358395 op/s
-- Average runtime ratio --
Mine / Other's : 1.00548 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31067207 ns
Average runtime : 1.09441 ns/op
Ops per second : 913730030 op/s
-- Other function --
Total time : 30979228 ns
Average runtime : 1.09131 ns/op
Ops per second : 916324964 op/s
-- Average runtime ratio --
Mine / Other's : 1.00283
Performance tests with inputs in low integral range:
-- My function --
Total time : 183060535 ns
Average runtime : 1.12596 ns/op
Ops per second : 888123264 op/s
-- Other function --
Total time : 181070601 ns
Average runtime : 1.11373 ns/op
Ops per second : 897883582 op/s
-- Average runtime ratio --
Mine / Other's : 1.01098
Performance tests with inputs in high integral range:
-- My function --
Total time : 156354939 ns
Average runtime : 1.14316 ns/op
Ops per second : 874765587 op/s
-- Other function --
Total time : 152021963 ns
Average runtime : 1.11148 ns/op
Ops per second : 899698420 op/s
-- Average runtime ratio --
Mine / Other's : 1.0285
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712264057 ns
Average runtime : 1.06135 ns/op
Ops per second : 942190685 op/s
-- Other function --
Total time : 708322552 ns
Average runtime : 1.05548 ns/op
Ops per second : 947433564 op/s
-- Average runtime ratio --
Mine / Other's : 1.00556
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356219242 ns
Average runtime : 1.06161 ns/op
Ops per second : 941960007 op/s
-- Other function --
Total time : 354148015 ns
Average runtime : 1.05544 ns/op
Ops per second : 947469040 op/s
-- Average runtime ratio --
Mine / Other's : 1.00584 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31102571 ns
Average runtime : 1.09566 ns/op
Ops per second : 912691108 op/s
-- Other function --
Total time : 30985064 ns
Average runtime : 1.09152 ns/op
Ops per second : 916152375 op/s
-- Average runtime ratio --
Mine / Other's : 1.00379
Performance tests with inputs in low integral range:
-- My function --
Total time : 185091863 ns
Average runtime : 1.13846 ns/op
Ops per second : 878376376 op/s
-- Other function --
Total time : 181133218 ns
Average runtime : 1.11411 ns/op
Ops per second : 897573188 op/s
-- Average runtime ratio --
Mine / Other's : 1.02185
Performance tests with inputs in high integral range:
-- My function --
Total time : 158698405 ns
Average runtime : 1.16029 ns/op
Ops per second : 861848107 op/s
-- Other function --
Total time : 152112421 ns
Average runtime : 1.11214 ns/op
Ops per second : 899163389 op/s
-- Average runtime ratio --
Mine / Other's : 1.04329
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712305918 ns
Average runtime : 1.06141 ns/op
Ops per second : 942135314 op/s
-- Other function --
Total time : 708286733 ns
Average runtime : 1.05542 ns/op
Ops per second : 947481477 op/s
-- Average runtime ratio --
Mine / Other's : 1.00567
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356204592 ns
Average runtime : 1.06157 ns/op
Ops per second : 941998748 op/s
-- Other function --
Total time : 354136298 ns
Average runtime : 1.0554 ns/op
Ops per second : 947500388 op/s
-- Average runtime ratio --
Mine / Other's : 1.00584 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31106203 ns
Average runtime : 1.09579 ns/op
Ops per second : 912584541 op/s
-- Other function --
Total time : 30991193 ns
Average runtime : 1.09174 ns/op
Ops per second : 915971192 op/s
-- Average runtime ratio --
Mine / Other's : 1.00371
Performance tests with inputs in low integral range:
-- My function --
Total time : 185158770 ns
Average runtime : 1.13888 ns/op
Ops per second : 878058976 op/s
-- Other function --
Total time : 181104638 ns
Average runtime : 1.11394 ns/op
Ops per second : 897714833 op/s
-- Average runtime ratio --
Mine / Other's : 1.02239
Performance tests with inputs in high integral range:
-- My function --
Total time : 156919176 ns
Average runtime : 1.14729 ns/op
Ops per second : 871620177 op/s
-- Other function --
Total time : 152220937 ns
Average runtime : 1.11294 ns/op
Ops per second : 898522389 op/s
-- Average runtime ratio --
Mine / Other's : 1.03086
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712294690 ns
Average runtime : 1.0614 ns/op
Ops per second : 942150165 op/s
-- Other function --
Total time : 708342045 ns
Average runtime : 1.05551 ns/op
Ops per second : 947407491 op/s
-- Average runtime ratio --
Mine / Other's : 1.00558
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356166188 ns
Average runtime : 1.06146 ns/op
Ops per second : 942100320 op/s
-- Other function --
Total time : 354193803 ns
Average runtime : 1.05558 ns/op
Ops per second : 947346557 op/s
-- Average runtime ratio --
Mine / Other's : 1.00557 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Intel Core i7-13700H, Clang 18, <code>-march=native</code></summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31038385 ns
Average runtime : 1.0934 ns/op
Ops per second : 914578513 op/s
-- Other function --
Total time : 30979181 ns
Average runtime : 1.09131 ns/op
Ops per second : 916326354 op/s
-- Average runtime ratio --
Mine / Other's : 1.00191
Performance tests with inputs in low integral range:
-- My function --
Total time : 182950749 ns
Average runtime : 1.12529 ns/op
Ops per second : 888656214 op/s
-- Other function --
Total time : 181138833 ns
Average runtime : 1.11415 ns/op
Ops per second : 897545365 op/s
-- Average runtime ratio --
Mine / Other's : 1.01
Performance tests with inputs in high integral range:
-- My function --
Total time : 156747644 ns
Average runtime : 1.14603 ns/op
Ops per second : 872574008 op/s
-- Other function --
Total time : 152067837 ns
Average runtime : 1.11182 ns/op
Ops per second : 899427010 op/s
-- Average runtime ratio --
Mine / Other's : 1.03077
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712401245 ns
Average runtime : 1.06156 ns/op
Ops per second : 942009246 op/s
-- Other function --
Total time : 708387355 ns
Average runtime : 1.05558 ns/op
Ops per second : 947346893 op/s
-- Average runtime ratio --
Mine / Other's : 1.00567
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356344434 ns
Average runtime : 1.06199 ns/op
Ops per second : 941629075 op/s
-- Other function --
Total time : 354200219 ns
Average runtime : 1.0556 ns/op
Ops per second : 947329397 op/s
-- Average runtime ratio --
Mine / Other's : 1.00605 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30992545 ns
Average runtime : 1.09179 ns/op
Ops per second : 915931234 op/s
-- Other function --
Total time : 30981819 ns
Average runtime : 1.09141 ns/op
Ops per second : 916248332 op/s
-- Average runtime ratio --
Mine / Other's : 1.00035
Performance tests with inputs in low integral range:
-- My function --
Total time : 183915530 ns
Average runtime : 1.13123 ns/op
Ops per second : 883994516 op/s
-- Other function --
Total time : 181498913 ns
Average runtime : 1.11636 ns/op
Ops per second : 895764703 op/s
-- Average runtime ratio --
Mine / Other's : 1.01331
Performance tests with inputs in high integral range:
-- My function --
Total time : 156670883 ns
Average runtime : 1.14547 ns/op
Ops per second : 873001526 op/s
-- Other function --
Total time : 152177004 ns
Average runtime : 1.11262 ns/op
Ops per second : 898781789 op/s
-- Average runtime ratio --
Mine / Other's : 1.02953
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712430590 ns
Average runtime : 1.0616 ns/op
Ops per second : 941970445 op/s
-- Other function --
Total time : 708297345 ns
Average runtime : 1.05545 ns/op
Ops per second : 947467281 op/s
-- Average runtime ratio --
Mine / Other's : 1.00584
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356256263 ns
Average runtime : 1.06173 ns/op
Ops per second : 941862122 op/s
-- Other function --
Total time : 354159692 ns
Average runtime : 1.05548 ns/op
Ops per second : 947437801 op/s
-- Average runtime ratio --
Mine / Other's : 1.00592 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30981999 ns
Average runtime : 1.09141 ns/op
Ops per second : 916243009 op/s
-- Other function --
Total time : 57633975 ns
Average runtime : 2.03029 ns/op
Ops per second : 492540033 op/s
-- Average runtime ratio --
Mine / Other's : 0.537565
Performance tests with inputs in low integral range:
-- My function --
Total time : 181063785 ns
Average runtime : 1.11369 ns/op
Ops per second : 897917383 op/s
-- Other function --
Total time : 265520880 ns
Average runtime : 1.63317 ns/op
Ops per second : 612307099 op/s
-- Average runtime ratio --
Mine / Other's : 0.681919
Performance tests with inputs in high integral range:
-- My function --
Total time : 153986505 ns
Average runtime : 1.12585 ns/op
Ops per second : 888220172 op/s
-- Other function --
Total time : 280183894 ns
Average runtime : 2.04852 ns/op
Ops per second : 488157681 op/s
-- Average runtime ratio --
Mine / Other's : 0.549591
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 708356031 ns
Average runtime : 1.05553 ns/op
Ops per second : 947388785 op/s
-- Other function --
Total time : 1086568436 ns
Average runtime : 1.61911 ns/op
Ops per second : 617621990 op/s
-- Average runtime ratio --
Mine / Other's : 0.65192
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354138876 ns
Average runtime : 1.05542 ns/op
Ops per second : 947493491 op/s
-- Other function --
Total time : 531258686 ns
Average runtime : 1.58327 ns/op
Ops per second : 631602435 op/s
-- Average runtime ratio --
Mine / Other's : 0.666603 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31111388 ns
Average runtime : 1.09597 ns/op
Ops per second : 912432450 op/s
-- Other function --
Total time : 31113784 ns
Average runtime : 1.09606 ns/op
Ops per second : 912362186 op/s
-- Average runtime ratio --
Mine / Other's : 0.999923
Performance tests with inputs in low integral range:
-- My function --
Total time : 185201602 ns
Average runtime : 1.13914 ns/op
Ops per second : 877855905 op/s
-- Other function --
Total time : 183586477 ns
Average runtime : 1.1292 ns/op
Ops per second : 885578952 op/s
-- Average runtime ratio --
Mine / Other's : 1.0088
Performance tests with inputs in high integral range:
-- My function --
Total time : 157991564 ns
Average runtime : 1.15513 ns/op
Ops per second : 865703943 op/s
-- Other function --
Total time : 156368427 ns
Average runtime : 1.14326 ns/op
Ops per second : 874690131 op/s
-- Average runtime ratio --
Mine / Other's : 1.01038
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 713193785 ns
Average runtime : 1.06274 ns/op
Ops per second : 940962434 op/s
-- Other function --
Total time : 711873366 ns
Average runtime : 1.06077 ns/op
Ops per second : 942707779 op/s
-- Average runtime ratio --
Mine / Other's : 1.00185
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356183258 ns
Average runtime : 1.06151 ns/op
Ops per second : 942055170 op/s
-- Other function --
Total time : 355929386 ns
Average runtime : 1.06075 ns/op
Ops per second : 942727105 op/s
-- Average runtime ratio --
Mine / Other's : 1.00071 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31019861 ns
Average runtime : 1.09275 ns/op
Ops per second : 915124668 op/s
-- Other function --
Total time : 31000618 ns
Average runtime : 1.09207 ns/op
Ops per second : 915692712 op/s
-- Average runtime ratio --
Mine / Other's : 1.00062
Performance tests with inputs in low integral range:
-- My function --
Total time : 185168793 ns
Average runtime : 1.13894 ns/op
Ops per second : 878011447 op/s
-- Other function --
Total time : 181125009 ns
Average runtime : 1.11406 ns/op
Ops per second : 897613868 op/s
-- Average runtime ratio --
Mine / Other's : 1.02233
Performance tests with inputs in high integral range:
-- My function --
Total time : 157934263 ns
Average runtime : 1.15471 ns/op
Ops per second : 866018034 op/s
-- Other function --
Total time : 152060624 ns
Average runtime : 1.11177 ns/op
Ops per second : 899469674 op/s
-- Average runtime ratio --
Mine / Other's : 1.03863
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712466413 ns
Average runtime : 1.06166 ns/op
Ops per second : 941923082 op/s
-- Other function --
Total time : 708331785 ns
Average runtime : 1.0555 ns/op
Ops per second : 947421214 op/s
-- Average runtime ratio --
Mine / Other's : 1.00584
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356277279 ns
Average runtime : 1.06179 ns/op
Ops per second : 941806564 op/s
-- Other function --
Total time : 354171177 ns
Average runtime : 1.05551 ns/op
Ops per second : 947407078 op/s
-- Average runtime ratio --
Mine / Other's : 1.00595 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31097878 ns
Average runtime : 1.0955 ns/op
Ops per second : 912828843 op/s
-- Other function --
Total time : 30989140 ns
Average runtime : 1.09167 ns/op
Ops per second : 916031874 op/s
-- Average runtime ratio --
Mine / Other's : 1.00351
Performance tests with inputs in low integral range:
-- My function --
Total time : 187195863 ns
Average runtime : 1.15141 ns/op
Ops per second : 868503808 op/s
-- Other function --
Total time : 181144378 ns
Average runtime : 1.11419 ns/op
Ops per second : 897517890 op/s
-- Average runtime ratio --
Mine / Other's : 1.03341
Performance tests with inputs in high integral range:
-- My function --
Total time : 161226692 ns
Average runtime : 1.17879 ns/op
Ops per second : 848332979 op/s
-- Other function --
Total time : 151840833 ns
Average runtime : 1.11016 ns/op
Ops per second : 900771665 op/s
-- Average runtime ratio --
Mine / Other's : 1.06182
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712208403 ns
Average runtime : 1.06128 ns/op
Ops per second : 942264310 op/s
-- Other function --
Total time : 708269648 ns
Average runtime : 1.05541 ns/op
Ops per second : 947504332 op/s
-- Average runtime ratio --
Mine / Other's : 1.00557
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356080875 ns
Average runtime : 1.06121 ns/op
Ops per second : 942326037 op/s
-- Other function --
Total time : 354153045 ns
Average runtime : 1.05546 ns/op
Ops per second : 947455583 op/s
-- Average runtime ratio --
Mine / Other's : 1.00545 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31112747 ns
Average runtime : 1.09601 ns/op
Ops per second : 912392595 op/s
-- Other function --
Total time : 31055464 ns
Average runtime : 1.094 ns/op
Ops per second : 914075539 op/s
-- Average runtime ratio --
Mine / Other's : 1.00184
Performance tests with inputs in low integral range:
-- My function --
Total time : 188086556 ns
Average runtime : 1.15688 ns/op
Ops per second : 864390966 op/s
-- Other function --
Total time : 181034716 ns
Average runtime : 1.1135 ns/op
Ops per second : 898061562 op/s
-- Average runtime ratio --
Mine / Other's : 1.03895
Performance tests with inputs in high integral range:
-- My function --
Total time : 160239610 ns
Average runtime : 1.17156 ns/op
Ops per second : 853558742 op/s
-- Other function --
Total time : 151847426 ns
Average runtime : 1.1102 ns/op
Ops per second : 900732555 op/s
-- Average runtime ratio --
Mine / Other's : 1.05526
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712211570 ns
Average runtime : 1.06127 ns/op
Ops per second : 942260120 op/s
-- Other function --
Total time : 708321310 ns
Average runtime : 1.05548 ns/op
Ops per second : 947435225 op/s
-- Average runtime ratio --
Mine / Other's : 1.00549
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356093462 ns
Average runtime : 1.06124 ns/op
Ops per second : 942292728 op/s
-- Other function --
Total time : 354165748 ns
Average runtime : 1.05549 ns/op
Ops per second : 947421601 op/s
-- Average runtime ratio --
Mine / Other's : 1.00544 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30984191 ns
Average runtime : 1.09149 ns/op
Ops per second : 916178189 op/s
-- Other function --
Total time : 31056370 ns
Average runtime : 1.09403 ns/op
Ops per second : 914048873 op/s
-- Average runtime ratio --
Mine / Other's : 0.997675
Performance tests with inputs in low integral range:
-- My function --
Total time : 186195221 ns
Average runtime : 1.14525 ns/op
Ops per second : 873171282 op/s
-- Other function --
Total time : 181055232 ns
Average runtime : 1.11363 ns/op
Ops per second : 897959800 op/s
-- Average runtime ratio --
Mine / Other's : 1.02838
Performance tests with inputs in high integral range:
-- My function --
Total time : 160255625 ns
Average runtime : 1.17168 ns/op
Ops per second : 853473442 op/s
-- Other function --
Total time : 152245426 ns
Average runtime : 1.11311 ns/op
Ops per second : 898377859 op/s
-- Average runtime ratio --
Mine / Other's : 1.05261
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712145716 ns
Average runtime : 1.06117 ns/op
Ops per second : 942347254 op/s
-- Other function --
Total time : 708329101 ns
Average runtime : 1.05549 ns/op
Ops per second : 947424804 op/s
-- Average runtime ratio --
Mine / Other's : 1.00538
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356748617 ns
Average runtime : 1.06319 ns/op
Ops per second : 940562244 op/s
-- Other function --
Total time : 354176045 ns
Average runtime : 1.05552 ns/op
Ops per second : 947394056 op/s
-- Average runtime ratio --
Mine / Other's : 1.00726 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31131154 ns
Average runtime : 1.09667 ns/op
Ops per second : 911853123 op/s
-- Other function --
Total time : 31069307 ns
Average runtime : 1.09449 ns/op
Ops per second : 913668270 op/s
-- Average runtime ratio --
Mine / Other's : 1.00199
Performance tests with inputs in low integral range:
-- My function --
Total time : 186918229 ns
Average runtime : 1.1497 ns/op
Ops per second : 869793817 op/s
-- Other function --
Total time : 181261207 ns
Average runtime : 1.1149 ns/op
Ops per second : 896939409 op/s
-- Average runtime ratio --
Mine / Other's : 1.03121
Performance tests with inputs in high integral range:
-- My function --
Total time : 160876687 ns
Average runtime : 1.17622 ns/op
Ops per second : 850178621 op/s
-- Other function --
Total time : 151847162 ns
Average runtime : 1.11021 ns/op
Ops per second : 900734121 op/s
-- Average runtime ratio --
Mine / Other's : 1.05946
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 712196467 ns
Average runtime : 1.06126 ns/op
Ops per second : 942280102 op/s
-- Other function --
Total time : 708331702 ns
Average runtime : 1.0555 ns/op
Ops per second : 947421325 op/s
-- Average runtime ratio --
Mine / Other's : 1.00546
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 357058037 ns
Average runtime : 1.06412 ns/op
Ops per second : 939747170 op/s
-- Other function --
Total time : 354124014 ns
Average runtime : 1.05537 ns/op
Ops per second : 947533255 op/s
-- Average runtime ratio --
Mine / Other's : 1.00829 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Intel Core i7-13700H, GCC 14</summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30991087 ns
Average runtime : 1.09173 ns/op
Ops per second : 915974325 op/s
-- Other function --
Total time : 38129491 ns
Average runtime : 1.3432 ns/op
Ops per second : 744490399 op/s
-- Average runtime ratio --
Mine / Other's : 0.812785
Performance tests with inputs in low integral range:
-- My function --
Total time : 183741629 ns
Average runtime : 1.13016 ns/op
Ops per second : 884831166 op/s
-- Other function --
Total time : 183907687 ns
Average runtime : 1.13118 ns/op
Ops per second : 884032215 op/s
-- Average runtime ratio --
Mine / Other's : 0.999097
Performance tests with inputs in high integral range:
-- My function --
Total time : 154410895 ns
Average runtime : 1.12895 ns/op
Ops per second : 885778947 op/s
-- Other function --
Total time : 154356649 ns
Average runtime : 1.12855 ns/op
Ops per second : 886090238 op/s
-- Average runtime ratio --
Mine / Other's : 1.00035
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 710860984 ns
Average runtime : 1.05927 ns/op
Ops per second : 944050348 op/s
-- Other function --
Total time : 711793286 ns
Average runtime : 1.06065 ns/op
Ops per second : 942813838 op/s
-- Average runtime ratio --
Mine / Other's : 0.99869
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 355267393 ns
Average runtime : 1.05878 ns/op
Ops per second : 944483751 op/s
-- Other function --
Total time : 355645795 ns
Average runtime : 1.05991 ns/op
Ops per second : 943478834 op/s
-- Average runtime ratio --
Mine / Other's : 0.998936 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30981488 ns
Average runtime : 1.0914 ns/op
Ops per second : 916258121 op/s
-- Other function --
Total time : 38137612 ns
Average runtime : 1.34349 ns/op
Ops per second : 744331868 op/s
-- Average runtime ratio --
Mine / Other's : 0.81236
Performance tests with inputs in low integral range:
-- My function --
Total time : 183663191 ns
Average runtime : 1.12968 ns/op
Ops per second : 885209056 op/s
-- Other function --
Total time : 183922523 ns
Average runtime : 1.13127 ns/op
Ops per second : 883960905 op/s
-- Average runtime ratio --
Mine / Other's : 0.99859
Performance tests with inputs in high integral range:
-- My function --
Total time : 154443855 ns
Average runtime : 1.12919 ns/op
Ops per second : 885589912 op/s
-- Other function --
Total time : 154222431 ns
Average runtime : 1.12757 ns/op
Ops per second : 886861393 op/s
-- Average runtime ratio --
Mine / Other's : 1.00144
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 710875809 ns
Average runtime : 1.05929 ns/op
Ops per second : 944030661 op/s
-- Other function --
Total time : 710855322 ns
Average runtime : 1.05926 ns/op
Ops per second : 944057868 op/s
-- Average runtime ratio --
Mine / Other's : 1.00003
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354130620 ns
Average runtime : 1.05539 ns/op
Ops per second : 947515580 op/s
-- Other function --
Total time : 356395300 ns
Average runtime : 1.06214 ns/op
Ops per second : 941494683 op/s
-- Average runtime ratio --
Mine / Other's : 0.993646 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 70435602 ns
Average runtime : 2.48126 ns/op
Ops per second : 403021188 op/s
-- Other function --
Total time : 62446976 ns
Average runtime : 2.19984 ns/op
Ops per second : 454578296 op/s
-- Average runtime ratio --
Mine / Other's : 1.12793
Performance tests with inputs in low integral range:
-- My function --
Total time : 393269164 ns
Average runtime : 2.41892 ns/op
Ops per second : 413407240 op/s
-- Other function --
Total time : 265036558 ns
Average runtime : 1.63019 ns/op
Ops per second : 613426016 op/s
-- Average runtime ratio --
Mine / Other's : 1.48383
Performance tests with inputs in high integral range:
-- My function --
Total time : 408565791 ns
Average runtime : 2.98716 ns/op
Ops per second : 334765961 op/s
-- Other function --
Total time : 292951053 ns
Average runtime : 2.14186 ns/op
Ops per second : 466883182 op/s
-- Average runtime ratio --
Mine / Other's : 1.39466
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1426326104 ns
Average runtime : 2.12539 ns/op
Ops per second : 470501491 op/s
-- Other function --
Total time : 1084339128 ns
Average runtime : 1.61579 ns/op
Ops per second : 618891767 op/s
-- Average runtime ratio --
Mine / Other's : 1.31539
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 796886942 ns
Average runtime : 2.37491 ns/op
Ops per second : 421068864 op/s
-- Other function --
Total time : 531245030 ns
Average runtime : 1.58323 ns/op
Ops per second : 631618671 op/s
-- Average runtime ratio --
Mine / Other's : 1.50004 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30981162 ns
Average runtime : 1.09138 ns/op
Ops per second : 916267762 op/s
-- Other function --
Total time : 38189434 ns
Average runtime : 1.34531 ns/op
Ops per second : 743321830 op/s
-- Average runtime ratio --
Mine / Other's : 0.81125
Performance tests with inputs in low integral range:
-- My function --
Total time : 183744031 ns
Average runtime : 1.13017 ns/op
Ops per second : 884819599 op/s
-- Other function --
Total time : 184244620 ns
Average runtime : 1.13325 ns/op
Ops per second : 882415562 op/s
-- Average runtime ratio --
Mine / Other's : 0.997283
Performance tests with inputs in high integral range:
-- My function --
Total time : 153370800 ns
Average runtime : 1.12135 ns/op
Ops per second : 891785920 op/s
-- Other function --
Total time : 156040649 ns
Average runtime : 1.14087 ns/op
Ops per second : 876527500 op/s
-- Average runtime ratio --
Mine / Other's : 0.98289
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 709869653 ns
Average runtime : 1.05779 ns/op
Ops per second : 945368712 op/s
-- Other function --
Total time : 708960694 ns
Average runtime : 1.05643 ns/op
Ops per second : 946580770 op/s
-- Average runtime ratio --
Mine / Other's : 1.00128
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354132295 ns
Average runtime : 1.0554 ns/op
Ops per second : 947511098 op/s
-- Other function --
Total time : 356599096 ns
Average runtime : 1.06275 ns/op
Ops per second : 940956619 op/s
-- Average runtime ratio --
Mine / Other's : 0.993082 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30987008 ns
Average runtime : 1.09159 ns/op
Ops per second : 916094900 op/s
-- Other function --
Total time : 38130028 ns
Average runtime : 1.34322 ns/op
Ops per second : 744479914 op/s
-- Average runtime ratio --
Mine / Other's : 0.812667
Performance tests with inputs in low integral range:
-- My function --
Total time : 183517697 ns
Average runtime : 1.12878 ns/op
Ops per second : 885910855 op/s
-- Other function --
Total time : 183954626 ns
Average runtime : 1.13147 ns/op
Ops per second : 883806640 op/s
-- Average runtime ratio --
Mine / Other's : 0.997625
Performance tests with inputs in high integral range:
-- My function --
Total time : 153578027 ns
Average runtime : 1.12286 ns/op
Ops per second : 890582609 op/s
-- Other function --
Total time : 154129941 ns
Average runtime : 1.1269 ns/op
Ops per second : 887393579 op/s
-- Average runtime ratio --
Mine / Other's : 0.996419
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 710768834 ns
Average runtime : 1.05913 ns/op
Ops per second : 944172743 op/s
-- Other function --
Total time : 710824295 ns
Average runtime : 1.05921 ns/op
Ops per second : 944099075 op/s
-- Average runtime ratio --
Mine / Other's : 0.999922
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354176364 ns
Average runtime : 1.05553 ns/op
Ops per second : 947393203 op/s
-- Other function --
Total time : 356199594 ns
Average runtime : 1.06156 ns/op
Ops per second : 942011966 op/s
-- Average runtime ratio --
Mine / Other's : 0.99432 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30981303 ns
Average runtime : 1.09139 ns/op
Ops per second : 916263592 op/s
-- Other function --
Total time : 38135960 ns
Average runtime : 1.34343 ns/op
Ops per second : 744364111 op/s
-- Average runtime ratio --
Mine / Other's : 0.812391
Performance tests with inputs in low integral range:
-- My function --
Total time : 183639220 ns
Average runtime : 1.12953 ns/op
Ops per second : 885324605 op/s
-- Other function --
Total time : 183993911 ns
Average runtime : 1.13172 ns/op
Ops per second : 883617936 op/s
-- Average runtime ratio --
Mine / Other's : 0.998073
Performance tests with inputs in high integral range:
-- My function --
Total time : 154332233 ns
Average runtime : 1.12838 ns/op
Ops per second : 886230422 op/s
-- Other function --
Total time : 155781062 ns
Average runtime : 1.13897 ns/op
Ops per second : 877988108 op/s
-- Average runtime ratio --
Mine / Other's : 0.9907
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 708340061 ns
Average runtime : 1.05551 ns/op
Ops per second : 947410145 op/s
-- Other function --
Total time : 711955548 ns
Average runtime : 1.0609 ns/op
Ops per second : 942598961 op/s
-- Average runtime ratio --
Mine / Other's : 0.994922
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354182830 ns
Average runtime : 1.05555 ns/op
Ops per second : 947375907 op/s
-- Other function --
Total time : 356369806 ns
Average runtime : 1.06207 ns/op
Ops per second : 941562035 op/s
-- Average runtime ratio --
Mine / Other's : 0.993864 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30980881 ns
Average runtime : 1.09137 ns/op
Ops per second : 916276073 op/s
-- Other function --
Total time : 38135992 ns
Average runtime : 1.34342 ns/op
Ops per second : 744363487 op/s
-- Average runtime ratio --
Mine / Other's : 0.812379
Performance tests with inputs in low integral range:
-- My function --
Total time : 183617978 ns
Average runtime : 1.12939 ns/op
Ops per second : 885427025 op/s
-- Other function --
Total time : 183863355 ns
Average runtime : 1.1309 ns/op
Ops per second : 884245367 op/s
-- Average runtime ratio --
Mine / Other's : 0.998665
Performance tests with inputs in high integral range:
-- My function --
Total time : 153830170 ns
Average runtime : 1.1247 ns/op
Ops per second : 889122855 op/s
-- Other function --
Total time : 162000090 ns
Average runtime : 1.18443 ns/op
Ops per second : 844282987 op/s
-- Average runtime ratio --
Mine / Other's : 0.949568
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 710434559 ns
Average runtime : 1.05863 ns/op
Ops per second : 944616997 op/s
-- Other function --
Total time : 712326816 ns
Average runtime : 1.06144 ns/op
Ops per second : 942107674 op/s
-- Average runtime ratio --
Mine / Other's : 0.997343
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 355034049 ns
Average runtime : 1.05808 ns/op
Ops per second : 945104507 op/s
-- Other function --
Total time : 356230980 ns
Average runtime : 1.06165 ns/op
Ops per second : 941928969 op/s
-- Average runtime ratio --
Mine / Other's : 0.99664 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30984007 ns
Average runtime : 1.09148 ns/op
Ops per second : 916183629 op/s
-- Other function --
Total time : 38140932 ns
Average runtime : 1.3436 ns/op
Ops per second : 744267077 op/s
-- Average runtime ratio --
Mine / Other's : 0.812355
Performance tests with inputs in low integral range:
-- My function --
Total time : 183550440 ns
Average runtime : 1.12898 ns/op
Ops per second : 885752820 op/s
-- Other function --
Total time : 183914295 ns
Average runtime : 1.13122 ns/op
Ops per second : 884000452 op/s
-- Average runtime ratio --
Mine / Other's : 0.998021
Performance tests with inputs in high integral range:
-- My function --
Total time : 154417407 ns
Average runtime : 1.12899 ns/op
Ops per second : 885741592 op/s
-- Other function --
Total time : 168435598 ns
Average runtime : 1.23148 ns/op
Ops per second : 812025020 op/s
-- Average runtime ratio --
Mine / Other's : 0.916774
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 711047400 ns
Average runtime : 1.05954 ns/op
Ops per second : 943802846 op/s
-- Other function --
Total time : 711895239 ns
Average runtime : 1.0608 ns/op
Ops per second : 942678814 op/s
-- Average runtime ratio --
Mine / Other's : 0.998809
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354509949 ns
Average runtime : 1.05652 ns/op
Ops per second : 946501729 op/s
-- Other function --
Total time : 356251311 ns
Average runtime : 1.06171 ns/op
Ops per second : 941875214 op/s
-- Average runtime ratio --
Mine / Other's : 0.995111 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30980118 ns
Average runtime : 1.09135 ns/op
Ops per second : 916298640 op/s
-- Other function --
Total time : 38131783 ns
Average runtime : 1.34328 ns/op
Ops per second : 744445650 op/s
-- Average runtime ratio --
Mine / Other's : 0.812449
Performance tests with inputs in low integral range:
-- My function --
Total time : 183644914 ns
Average runtime : 1.12956 ns/op
Ops per second : 885297155 op/s
-- Other function --
Total time : 183876576 ns
Average runtime : 1.13099 ns/op
Ops per second : 884181789 op/s
-- Average runtime ratio --
Mine / Other's : 0.99874
Performance tests with inputs in high integral range:
-- My function --
Total time : 154187250 ns
Average runtime : 1.12731 ns/op
Ops per second : 887063748 op/s
-- Other function --
Total time : 175744964 ns
Average runtime : 1.28493 ns/op
Ops per second : 778252286 op/s
-- Average runtime ratio --
Mine / Other's : 0.877335
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 710658138 ns
Average runtime : 1.05896 ns/op
Ops per second : 944319813 op/s
-- Other function --
Total time : 711689555 ns
Average runtime : 1.0605 ns/op
Ops per second : 942951256 op/s
-- Average runtime ratio --
Mine / Other's : 0.998551
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354360017 ns
Average runtime : 1.05608 ns/op
Ops per second : 946902200 op/s
-- Other function --
Total time : 356146014 ns
Average runtime : 1.0614 ns/op
Ops per second : 942153686 op/s
-- Average runtime ratio --
Mine / Other's : 0.994985 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Intel Core i7-13700H, GCC 14, <code>-march=native</code></summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31039419 ns
Average runtime : 1.09344 ns/op
Ops per second : 914548046 op/s
-- Other function --
Total time : 30741964 ns
Average runtime : 1.08296 ns/op
Ops per second : 923397086 op/s
-- Average runtime ratio --
Mine / Other's : 1.00968
Performance tests with inputs in low integral range:
-- My function --
Total time : 183590420 ns
Average runtime : 1.12923 ns/op
Ops per second : 885559932 op/s
-- Other function --
Total time : 183602372 ns
Average runtime : 1.1293 ns/op
Ops per second : 885502285 op/s
-- Average runtime ratio --
Mine / Other's : 0.999935
Performance tests with inputs in high integral range:
-- My function --
Total time : 189096309 ns
Average runtime : 1.38255 ns/op
Ops per second : 723302959 op/s
-- Other function --
Total time : 189156670 ns
Average runtime : 1.38299 ns/op
Ops per second : 723072149 op/s
-- Average runtime ratio --
Mine / Other's : 0.999681
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 987356094 ns
Average runtime : 1.47128 ns/op
Ops per second : 679682400 op/s
-- Other function --
Total time : 712385340 ns
Average runtime : 1.06154 ns/op
Ops per second : 942030278 op/s
-- Average runtime ratio --
Mine / Other's : 1.38599
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356012828 ns
Average runtime : 1.061 ns/op
Ops per second : 942506150 op/s
-- Other function --
Total time : 355129989 ns
Average runtime : 1.05837 ns/op
Ops per second : 944849183 op/s
-- Average runtime ratio --
Mine / Other's : 1.00249 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30991662 ns
Average runtime : 1.09175 ns/op
Ops per second : 915957330 op/s
-- Other function --
Total time : 30720812 ns
Average runtime : 1.08221 ns/op
Ops per second : 924032867 op/s
-- Average runtime ratio --
Mine / Other's : 1.00882
Performance tests with inputs in low integral range:
-- My function --
Total time : 183648294 ns
Average runtime : 1.12959 ns/op
Ops per second : 885280861 op/s
-- Other function --
Total time : 183432053 ns
Average runtime : 1.12825 ns/op
Ops per second : 886324485 op/s
-- Average runtime ratio --
Mine / Other's : 1.00118
Performance tests with inputs in high integral range:
-- My function --
Total time : 190194493 ns
Average runtime : 1.39058 ns/op
Ops per second : 719126604 op/s
-- Other function --
Total time : 189175244 ns
Average runtime : 1.38312 ns/op
Ops per second : 723001155 op/s
-- Average runtime ratio --
Mine / Other's : 1.00539
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 998591339 ns
Average runtime : 1.48802 ns/op
Ops per second : 672035229 op/s
-- Other function --
Total time : 711550907 ns
Average runtime : 1.06029 ns/op
Ops per second : 943134993 op/s
-- Average runtime ratio --
Mine / Other's : 1.4034
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 355789708 ns
Average runtime : 1.06034 ns/op
Ops per second : 943097207 op/s
-- Other function --
Total time : 355278551 ns
Average runtime : 1.05881 ns/op
Ops per second : 944454088 op/s
-- Average runtime ratio --
Mine / Other's : 1.00144 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 68432043 ns
Average runtime : 2.41068 ns/op
Ops per second : 414820875 op/s
-- Other function --
Total time : 56992909 ns
Average runtime : 2.00771 ns/op
Ops per second : 498080208 op/s
-- Average runtime ratio --
Mine / Other's : 1.20071
Performance tests with inputs in low integral range:
-- My function --
Total time : 393595110 ns
Average runtime : 2.42093 ns/op
Ops per second : 413064887 op/s
-- Other function --
Total time : 265583004 ns
Average runtime : 1.63355 ns/op
Ops per second : 612163871 op/s
-- Average runtime ratio --
Mine / Other's : 1.482
Performance tests with inputs in high integral range:
-- My function --
Total time : 408905305 ns
Average runtime : 2.98964 ns/op
Ops per second : 334488005 op/s
-- Other function --
Total time : 298092121 ns
Average runtime : 2.17945 ns/op
Ops per second : 458831047 op/s
-- Average runtime ratio --
Mine / Other's : 1.37174
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1702260340 ns
Average runtime : 2.53657 ns/op
Ops per second : 394233798 op/s
-- Other function --
Total time : 1084535111 ns
Average runtime : 1.61608 ns/op
Ops per second : 618779929 op/s
-- Average runtime ratio --
Mine / Other's : 1.56958
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 796858199 ns
Average runtime : 2.37482 ns/op
Ops per second : 421084052 op/s
-- Other function --
Total time : 531213712 ns
Average runtime : 1.58314 ns/op
Ops per second : 631655908 op/s
-- Average runtime ratio --
Mine / Other's : 1.50007 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31012093 ns
Average runtime : 1.09247 ns/op
Ops per second : 915353891 op/s
-- Other function --
Total time : 30711615 ns
Average runtime : 1.08189 ns/op
Ops per second : 924309581 op/s
-- Average runtime ratio --
Mine / Other's : 1.00978
Performance tests with inputs in low integral range:
-- My function --
Total time : 183443372 ns
Average runtime : 1.12832 ns/op
Ops per second : 886269796 op/s
-- Other function --
Total time : 184184225 ns
Average runtime : 1.13288 ns/op
Ops per second : 882704911 op/s
-- Average runtime ratio --
Mine / Other's : 0.995978
Performance tests with inputs in high integral range:
-- My function --
Total time : 189363260 ns
Average runtime : 1.3845 ns/op
Ops per second : 722283298 op/s
-- Other function --
Total time : 192187199 ns
Average runtime : 1.40515 ns/op
Ops per second : 711670291 op/s
-- Average runtime ratio --
Mine / Other's : 0.985306
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 999337338 ns
Average runtime : 1.48913 ns/op
Ops per second : 671533559 op/s
-- Other function --
Total time : 712256362 ns
Average runtime : 1.06134 ns/op
Ops per second : 942200864 op/s
-- Average runtime ratio --
Mine / Other's : 1.40306
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 354140112 ns
Average runtime : 1.05542 ns/op
Ops per second : 947490184 op/s
-- Other function --
Total time : 355975339 ns
Average runtime : 1.06089 ns/op
Ops per second : 942605408 op/s
-- Average runtime ratio --
Mine / Other's : 0.994845 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30992324 ns
Average runtime : 1.09178 ns/op
Ops per second : 915937765 op/s
-- Other function --
Total time : 30733765 ns
Average runtime : 1.08267 ns/op
Ops per second : 923643426 op/s
-- Average runtime ratio --
Mine / Other's : 1.00841
Performance tests with inputs in low integral range:
-- My function --
Total time : 183669223 ns
Average runtime : 1.12971 ns/op
Ops per second : 885179984 op/s
-- Other function --
Total time : 183373288 ns
Average runtime : 1.12789 ns/op
Ops per second : 886608522 op/s
-- Average runtime ratio --
Mine / Other's : 1.00161
Performance tests with inputs in high integral range:
-- My function --
Total time : 189333576 ns
Average runtime : 1.38428 ns/op
Ops per second : 722396538 op/s
-- Other function --
Total time : 189137949 ns
Average runtime : 1.38285 ns/op
Ops per second : 723143719 op/s
-- Average runtime ratio --
Mine / Other's : 1.00103
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1003137285 ns
Average runtime : 1.49479 ns/op
Ops per second : 668989748 op/s
-- Other function --
Total time : 708314713 ns
Average runtime : 1.05547 ns/op
Ops per second : 947444049 op/s
-- Average runtime ratio --
Mine / Other's : 1.41623
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356152863 ns
Average runtime : 1.06142 ns/op
Ops per second : 942135568 op/s
-- Other function --
Total time : 355899061 ns
Average runtime : 1.06066 ns/op
Ops per second : 942807432 op/s
-- Average runtime ratio --
Mine / Other's : 1.00071 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30979569 ns
Average runtime : 1.09133 ns/op
Ops per second : 916314878 op/s
-- Other function --
Total time : 30732676 ns
Average runtime : 1.08264 ns/op
Ops per second : 923676154 op/s
-- Average runtime ratio --
Mine / Other's : 1.00804
Performance tests with inputs in low integral range:
-- My function --
Total time : 183479083 ns
Average runtime : 1.12855 ns/op
Ops per second : 886097299 op/s
-- Other function --
Total time : 183397752 ns
Average runtime : 1.12805 ns/op
Ops per second : 886490255 op/s
-- Average runtime ratio --
Mine / Other's : 1.00045
Performance tests with inputs in high integral range:
-- My function --
Total time : 189593255 ns
Average runtime : 1.38618 ns/op
Ops per second : 721407098 op/s
-- Other function --
Total time : 188946558 ns
Average runtime : 1.38146 ns/op
Ops per second : 723876219 op/s
-- Average runtime ratio --
Mine / Other's : 1.00343
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1002541707 ns
Average runtime : 1.49391 ns/op
Ops per second : 669387173 op/s
-- Other function --
Total time : 712272451 ns
Average runtime : 1.06137 ns/op
Ops per second : 942179581 op/s
-- Average runtime ratio --
Mine / Other's : 1.40753
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356529991 ns
Average runtime : 1.06255 ns/op
Ops per second : 941139002 op/s
-- Other function --
Total time : 354883725 ns
Average runtime : 1.05764 ns/op
Ops per second : 945504841 op/s
-- Average runtime ratio --
Mine / Other's : 1.00464 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30982269 ns
Average runtime : 1.09142 ns/op
Ops per second : 916235024 op/s
-- Other function --
Total time : 30723598 ns
Average runtime : 1.08231 ns/op
Ops per second : 923949076 op/s
-- Average runtime ratio --
Mine / Other's : 1.00841
Performance tests with inputs in low integral range:
-- My function --
Total time : 183469175 ns
Average runtime : 1.12848 ns/op
Ops per second : 886145152 op/s
-- Other function --
Total time : 183435338 ns
Average runtime : 1.12827 ns/op
Ops per second : 886308613 op/s
-- Average runtime ratio --
Mine / Other's : 1.00018
Performance tests with inputs in high integral range:
-- My function --
Total time : 189241384 ns
Average runtime : 1.3836 ns/op
Ops per second : 722748466 op/s
-- Other function --
Total time : 189115625 ns
Average runtime : 1.38268 ns/op
Ops per second : 723229082 op/s
-- Average runtime ratio --
Mine / Other's : 1.00066
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1001390135 ns
Average runtime : 1.49218 ns/op
Ops per second : 670156951 op/s
-- Other function --
Total time : 712804060 ns
Average runtime : 1.06216 ns/op
Ops per second : 941476904 op/s
-- Average runtime ratio --
Mine / Other's : 1.40486
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356154792 ns
Average runtime : 1.06142 ns/op
Ops per second : 942130465 op/s
-- Other function --
Total time : 355951178 ns
Average runtime : 1.06081 ns/op
Ops per second : 942669390 op/s
-- Average runtime ratio --
Mine / Other's : 1.00057 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31025929 ns
Average runtime : 1.09296 ns/op
Ops per second : 914945689 op/s
-- Other function --
Total time : 30743102 ns
Average runtime : 1.08299 ns/op
Ops per second : 923362905 op/s
-- Average runtime ratio --
Mine / Other's : 1.00919
Performance tests with inputs in low integral range:
-- My function --
Total time : 183421908 ns
Average runtime : 1.12819 ns/op
Ops per second : 886373507 op/s
-- Other function --
Total time : 183381644 ns
Average runtime : 1.12794 ns/op
Ops per second : 886568123 op/s
-- Average runtime ratio --
Mine / Other's : 1.00021
Performance tests with inputs in high integral range:
-- My function --
Total time : 189628284 ns
Average runtime : 1.38643 ns/op
Ops per second : 721273836 op/s
-- Other function --
Total time : 188943825 ns
Average runtime : 1.38143 ns/op
Ops per second : 723886689 op/s
-- Average runtime ratio --
Mine / Other's : 1.00362
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 998770814 ns
Average runtime : 1.48828 ns/op
Ops per second : 671914467 op/s
-- Other function --
Total time : 712816551 ns
Average runtime : 1.06217 ns/op
Ops per second : 941460406 op/s
-- Average runtime ratio --
Mine / Other's : 1.40116
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356191472 ns
Average runtime : 1.06153 ns/op
Ops per second : 942033446 op/s
-- Other function --
Total time : 355716466 ns
Average runtime : 1.06011 ns/op
Ops per second : 943291390 op/s
-- Average runtime ratio --
Mine / Other's : 1.00133 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31029763 ns
Average runtime : 1.0931 ns/op
Ops per second : 914832639 op/s
-- Other function --
Total time : 30733255 ns
Average runtime : 1.08265 ns/op
Ops per second : 923658753 op/s
-- Average runtime ratio --
Mine / Other's : 1.00965
Performance tests with inputs in low integral range:
-- My function --
Total time : 183575024 ns
Average runtime : 1.12913 ns/op
Ops per second : 885634202 op/s
-- Other function --
Total time : 183367879 ns
Average runtime : 1.12786 ns/op
Ops per second : 886634676 op/s
-- Average runtime ratio --
Mine / Other's : 1.00113
Performance tests with inputs in high integral range:
-- My function --
Total time : 189328791 ns
Average runtime : 1.38425 ns/op
Ops per second : 722414796 op/s
-- Other function --
Total time : 189140315 ns
Average runtime : 1.38287 ns/op
Ops per second : 723134673 op/s
-- Average runtime ratio --
Mine / Other's : 1.001
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 996929426 ns
Average runtime : 1.48554 ns/op
Ops per second : 673155533 op/s
-- Other function --
Total time : 712276123 ns
Average runtime : 1.06137 ns/op
Ops per second : 942174724 op/s
-- Average runtime ratio --
Mine / Other's : 1.39964
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 356150558 ns
Average runtime : 1.06141 ns/op
Ops per second : 942141665 op/s
-- Other function --
Total time : 355934762 ns
Average runtime : 1.06077 ns/op
Ops per second : 942712867 op/s
-- Average runtime ratio --
Mine / Other's : 1.00061 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Google Tensor G3, Clang 17</summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 20635132 ns
Average runtime : 0.726921 ns/op
Ops per second : 1375665539 op/s
-- Other function --
Total time : 20672160 ns
Average runtime : 0.728225 ns/op
Ops per second : 1373201445 op/s
-- Average runtime ratio --
Mine / Other's : 0.998209
Performance tests with inputs in low integral range:
-- My function --
Total time : 118793782 ns
Average runtime : 0.730678 ns/op
Ops per second : 1368592844 op/s
-- Other function --
Total time : 123193116 ns
Average runtime : 0.757737 ns/op
Ops per second : 1319719195 op/s
-- Average runtime ratio --
Mine / Other's : 0.964289
Performance tests with inputs in high integral range:
-- My function --
Total time : 100692301 ns
Average runtime : 0.736195 ns/op
Ops per second : 1358335430 op/s
-- Other function --
Total time : 105188558 ns
Average runtime : 0.769069 ns/op
Ops per second : 1300273742 op/s
-- Average runtime ratio --
Mine / Other's : 0.957255
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 461604127 ns
Average runtime : 0.687844 ns/op
Ops per second : 1453818371 op/s
-- Other function --
Total time : 463487590 ns
Average runtime : 0.69065 ns/op
Ops per second : 1447910525 op/s
-- Average runtime ratio --
Mine / Other's : 0.995936
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 231134888 ns
Average runtime : 0.688836 ns/op
Ops per second : 1451724933 op/s
-- Other function --
Total time : 231703125 ns
Average runtime : 0.690529 ns/op
Ops per second : 1448164671 op/s
-- Average runtime ratio --
Mine / Other's : 0.997548 </code></pre></details></li>
<li><details><summary>ceilf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 62077596 ns
Average runtime : 0.76639 ns/op
Ops per second : 1304818569 op/s
-- Other function --
Total time : 62036295 ns
Average runtime : 0.76588 ns/op
Ops per second : 1305687259 op/s
-- Average runtime ratio --
Mine / Other's : 1.00067
Performance tests with inputs in low integral range:
-- My function --
Total time : 93645752 ns
Average runtime : 0.74322 ns/op
Ops per second : 1345496163 op/s
-- Other function --
Total time : 93952596 ns
Average runtime : 0.745656 ns/op
Ops per second : 1341101846 op/s
-- Average runtime ratio --
Mine / Other's : 0.996734
Performance tests with inputs in high integral range:
-- My function --
Total time : 49665406 ns
Average runtime : 0.78834 ns/op
Ops per second : 1268488573 op/s
-- Other function --
Total time : 49522908 ns
Average runtime : 0.786078 ns/op
Ops per second : 1272138542 op/s
-- Average runtime ratio --
Mine / Other's : 1.00288
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 28542074 ns
Average runtime : 0.697509 ns/op
Ops per second : 1433672969 op/s
-- Other function --
Total time : 28330444 ns
Average runtime : 0.692337 ns/op
Ops per second : 1444382587 op/s
-- Average runtime ratio --
Mine / Other's : 1.00747
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14240967 ns
Average runtime : 0.696039 ns/op
Ops per second : 1436700190 op/s
-- Other function --
Total time : 14188029 ns
Average runtime : 0.693452 ns/op
Ops per second : 1442060768 op/s
-- Average runtime ratio --
Mine / Other's : 1.00373 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 20744507 ns
Average runtime : 0.730774 ns/op
Ops per second : 1368412370 op/s
-- Other function --
Total time : 20693238 ns
Average runtime : 0.728968 ns/op
Ops per second : 1371802711 op/s
-- Average runtime ratio --
Mine / Other's : 1.00248
Performance tests with inputs in low integral range:
-- My function --
Total time : 120379232 ns
Average runtime : 0.740429 ns/op
Ops per second : 1350567845 op/s
-- Other function --
Total time : 123587524 ns
Average runtime : 0.760163 ns/op
Ops per second : 1315507542 op/s
-- Average runtime ratio --
Mine / Other's : 0.97404
Performance tests with inputs in high integral range:
-- My function --
Total time : 101387167 ns
Average runtime : 0.741276 ns/op
Ops per second : 1349025957 op/s
-- Other function --
Total time : 102848999 ns
Average runtime : 0.751964 ns/op
Ops per second : 1329851737 op/s
-- Average runtime ratio --
Mine / Other's : 0.985787
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 465738241 ns
Average runtime : 0.694004 ns/op
Ops per second : 1440913588 op/s
-- Other function --
Total time : 466243245 ns
Average runtime : 0.694757 ns/op
Ops per second : 1439352885 op/s
-- Average runtime ratio --
Mine / Other's : 0.998917
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 233235352 ns
Average runtime : 0.695096 ns/op
Ops per second : 1438651032 op/s
-- Other function --
Total time : 233489136 ns
Average runtime : 0.695852 ns/op
Ops per second : 1437087334 op/s
-- Average runtime ratio --
Mine / Other's : 0.998913 </code></pre></details></li>
<li><details><summary>floorf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 90951945 ns
Average runtime : 1.12286 ns/op
Ops per second : 890580184 op/s
-- Other function --
Total time : 62432292 ns
Average runtime : 0.770769 ns/op
Ops per second : 1297405515 op/s
-- Average runtime ratio --
Mine / Other's : 1.45681
Performance tests with inputs in low integral range:
-- My function --
Total time : 137575114 ns
Average runtime : 1.09187 ns/op
Ops per second : 915863315 op/s
-- Other function --
Total time : 93894450 ns
Average runtime : 0.745194 ns/op
Ops per second : 1341932350 op/s
-- Average runtime ratio --
Mine / Other's : 1.46521
Performance tests with inputs in high integral range:
-- My function --
Total time : 72227946 ns
Average runtime : 1.14648 ns/op
Ops per second : 872238565 op/s
-- Other function --
Total time : 50292806 ns
Average runtime : 0.798299 ns/op
Ops per second : 1252664247 op/s
-- Average runtime ratio --
Mine / Other's : 1.43615
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 42520020 ns
Average runtime : 1.0391 ns/op
Ops per second : 962370196 op/s
-- Other function --
Total time : 28351928 ns
Average runtime : 0.692862 ns/op
Ops per second : 1443288089 op/s
-- Average runtime ratio --
Mine / Other's : 1.49972
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21274495 ns
Average runtime : 1.03981 ns/op
Ops per second : 961714954 op/s
-- Other function --
Total time : 14205323 ns
Average runtime : 0.694297 ns/op
Ops per second : 1440305158 op/s
-- Average runtime ratio --
Mine / Other's : 1.49764 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 33261272 ns
Average runtime : 1.17171 ns/op
Ops per second : 853456235 op/s
-- Other function --
Total time : 25649048 ns
Average runtime : 0.903548 ns/op
Ops per second : 1106748289 op/s
-- Average runtime ratio --
Mine / Other's : 1.29678
Performance tests with inputs in low integral range:
-- My function --
Total time : 190160563 ns
Average runtime : 1.16964 ns/op
Ops per second : 854963392 op/s
-- Other function --
Total time : 145453695 ns
Average runtime : 0.894657 ns/op
Ops per second : 1117746235 op/s
-- Average runtime ratio --
Mine / Other's : 1.30736
Performance tests with inputs in high integral range:
-- My function --
Total time : 162844320 ns
Average runtime : 1.19061 ns/op
Ops per second : 839905991 op/s
-- Other function --
Total time : 123049804 ns
Average runtime : 0.899658 ns/op
Ops per second : 1111533017 op/s
-- Average runtime ratio --
Mine / Other's : 1.3234
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693306926 ns
Average runtime : 1.03311 ns/op
Ops per second : 967953059 op/s
-- Other function --
Total time : 461548015 ns
Average runtime : 0.68776 ns/op
Ops per second : 1453995116 op/s
-- Average runtime ratio --
Mine / Other's : 1.50213
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 347115967 ns
Average runtime : 1.03449 ns/op
Ops per second : 966663339 op/s
-- Other function --
Total time : 231026326 ns
Average runtime : 0.688512 ns/op
Ops per second : 1452407116 op/s
-- Average runtime ratio --
Mine / Other's : 1.5025 </code></pre></details></li>
<li><details><summary>roundf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 62447103 ns
Average runtime : 0.770952 ns/op
Ops per second : 1297097801 op/s
-- Other function --
Total time : 62440877 ns
Average runtime : 0.770875 ns/op
Ops per second : 1297227135 op/s
-- Average runtime ratio --
Mine / Other's : 1.0001
Performance tests with inputs in low integral range:
-- My function --
Total time : 94400798 ns
Average runtime : 0.749213 ns/op
Ops per second : 1334734479 op/s
-- Other function --
Total time : 94884237 ns
Average runtime : 0.75305 ns/op
Ops per second : 1327933953 op/s
-- Average runtime ratio --
Mine / Other's : 0.994905
Performance tests with inputs in high integral range:
-- My function --
Total time : 50059977 ns
Average runtime : 0.794603 ns/op
Ops per second : 1258490390 op/s
-- Other function --
Total time : 50856811 ns
Average runtime : 0.807251 ns/op
Ops per second : 1238772128 op/s
-- Average runtime ratio --
Mine / Other's : 0.984332
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 28401693 ns
Average runtime : 0.694079 ns/op
Ops per second : 1440759182 op/s
-- Other function --
Total time : 28879516 ns
Average runtime : 0.705756 ns/op
Ops per second : 1416921253 op/s
-- Average runtime ratio --
Mine / Other's : 0.983455
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14279256 ns
Average runtime : 0.697911 ns/op
Ops per second : 1432847761 op/s
-- Other function --
Total time : 14345866 ns
Average runtime : 0.701166 ns/op
Ops per second : 1426194835 op/s
-- Average runtime ratio --
Mine / Other's : 0.995357 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 53785360 ns
Average runtime : 1.89472 ns/op
Ops per second : 527783768 op/s
-- Other function --
Total time : 22020101 ns
Average runtime : 0.77571 ns/op
Ops per second : 1289142134 op/s
-- Average runtime ratio --
Mine / Other's : 2.44256
Performance tests with inputs in low integral range:
-- My function --
Total time : 253315755 ns
Average runtime : 1.5581 ns/op
Ops per second : 641808954 op/s
-- Other function --
Total time : 125119262 ns
Average runtime : 0.769584 ns/op
Ops per second : 1299402804 op/s
-- Average runtime ratio --
Mine / Other's : 2.02459
Performance tests with inputs in high integral range:
-- My function --
Total time : 152789877 ns
Average runtime : 1.1171 ns/op
Ops per second : 895176582 op/s
-- Other function --
Total time : 106247966 ns
Average runtime : 0.776815 ns/op
Ops per second : 1287308596 op/s
-- Average runtime ratio --
Mine / Other's : 1.43805
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1619397381 ns
Average runtime : 2.41309 ns/op
Ops per second : 414406351 op/s
-- Other function --
Total time : 461488078 ns
Average runtime : 0.687671 ns/op
Ops per second : 1454183958 op/s
-- Average runtime ratio --
Mine / Other's : 3.50908
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 477495646 ns
Average runtime : 1.42305 ns/op
Ops per second : 702716941 op/s
-- Other function --
Total time : 231528605 ns
Average runtime : 0.690009 ns/op
Ops per second : 1449256259 op/s
-- Average runtime ratio --
Mine / Other's : 2.06236 </code></pre></details></li>
<li><details><summary>roundevenf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 176712810 ns
Average runtime : 2.18164 ns/op
Ops per second : 458370844 op/s
-- Other function --
Total time : 61913248 ns
Average runtime : 0.764361 ns/op
Ops per second : 1308282195 op/s
-- Average runtime ratio --
Mine / Other's : 2.8542
Performance tests with inputs in low integral range:
-- My function --
Total time : 227197144 ns
Average runtime : 1.80315 ns/op
Ops per second : 554584436 op/s
-- Other function --
Total time : 93120035 ns
Average runtime : 0.739048 ns/op
Ops per second : 1353092274 op/s
-- Average runtime ratio --
Mine / Other's : 2.43983
Performance tests with inputs in high integral range:
-- My function --
Total time : 92904094 ns
Average runtime : 1.47467 ns/op
Ops per second : 678118662 op/s
-- Other function --
Total time : 49510580 ns
Average runtime : 0.785882 ns/op
Ops per second : 1272455301 op/s
-- Average runtime ratio --
Mine / Other's : 1.87645
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 115383627 ns
Average runtime : 2.81974 ns/op
Ops per second : 354643037 op/s
-- Other function --
Total time : 28487671 ns
Average runtime : 0.69618 ns/op
Ops per second : 1436410859 op/s
-- Average runtime ratio --
Mine / Other's : 4.0503
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 35279093 ns
Average runtime : 1.7243 ns/op
Ops per second : 579946882 op/s
-- Other function --
Total time : 14556966 ns
Average runtime : 0.711484 ns/op
Ops per second : 1405512659 op/s
-- Average runtime ratio --
Mine / Other's : 2.42352 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 20617717 ns
Average runtime : 0.726307 ns/op
Ops per second : 1376827511 op/s
-- Other function --
Total time : 20752523 ns
Average runtime : 0.731056 ns/op
Ops per second : 1367883798 op/s
-- Average runtime ratio --
Mine / Other's : 0.993504
Performance tests with inputs in low integral range:
-- My function --
Total time : 122841634 ns
Average runtime : 0.755575 ns/op
Ops per second : 1323495257 op/s
-- Other function --
Total time : 122612020 ns
Average runtime : 0.754163 ns/op
Ops per second : 1325973750 op/s
-- Average runtime ratio --
Mine / Other's : 1.00187
Performance tests with inputs in high integral range:
-- My function --
Total time : 101884602 ns
Average runtime : 0.744912 ns/op
Ops per second : 1342439557 op/s
-- Other function --
Total time : 101872233 ns
Average runtime : 0.744822 ns/op
Ops per second : 1342602551 op/s
-- Average runtime ratio --
Mine / Other's : 1.00012
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 462178142 ns
Average runtime : 0.688699 ns/op
Ops per second : 1452012760 op/s
-- Other function --
Total time : 464624879 ns
Average runtime : 0.692345 ns/op
Ops per second : 1444366391 op/s
-- Average runtime ratio --
Mine / Other's : 0.994734
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 231846273 ns
Average runtime : 0.690956 ns/op
Ops per second : 1447270536 op/s
-- Other function --
Total time : 230976197 ns
Average runtime : 0.688363 ns/op
Ops per second : 1452722333 op/s
-- Average runtime ratio --
Mine / Other's : 1.00377 </code></pre></details></li>
<li><details><summary>truncf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 90940836 ns
Average runtime : 1.12273 ns/op
Ops per second : 890688974 op/s
-- Other function --
Total time : 61911295 ns
Average runtime : 0.764337 ns/op
Ops per second : 1308323465 op/s
-- Average runtime ratio --
Mine / Other's : 1.46889
Performance tests with inputs in low integral range:
-- My function --
Total time : 137270630 ns
Average runtime : 1.08945 ns/op
Ops per second : 917894818 op/s
-- Other function --
Total time : 93188680 ns
Average runtime : 0.739593 ns/op
Ops per second : 1352095554 op/s
-- Average runtime ratio --
Mine / Other's : 1.47304
Performance tests with inputs in high integral range:
-- My function --
Total time : 72440348 ns
Average runtime : 1.14985 ns/op
Ops per second : 869681078 op/s
-- Other function --
Total time : 49474976 ns
Average runtime : 0.785317 ns/op
Ops per second : 1273371006 op/s
-- Average runtime ratio --
Mine / Other's : 1.46418
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 42561768 ns
Average runtime : 1.04012 ns/op
Ops per second : 961426226 op/s
-- Other function --
Total time : 28451416 ns
Average runtime : 0.695294 ns/op
Ops per second : 1438241246 op/s
-- Average runtime ratio --
Mine / Other's : 1.49595
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21311808 ns
Average runtime : 1.04163 ns/op
Ops per second : 960031171 op/s
-- Other function --
Total time : 14209351 ns
Average runtime : 0.694494 ns/op
Ops per second : 1439896867 op/s
-- Average runtime ratio --
Mine / Other's : 1.49984 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30947672 ns
Average runtime : 1.0902 ns/op
Ops per second : 917259301 op/s
-- Other function --
Total time : 20710856 ns
Average runtime : 0.729588 ns/op
Ops per second : 1370635767 op/s
-- Average runtime ratio --
Mine / Other's : 1.49427
Performance tests with inputs in low integral range:
-- My function --
Total time : 174654134 ns
Average runtime : 1.07426 ns/op
Ops per second : 930870150 op/s
-- Other function --
Total time : 122762940 ns
Average runtime : 0.755091 ns/op
Ops per second : 1324343649 op/s
-- Average runtime ratio --
Mine / Other's : 1.42269
Performance tests with inputs in high integral range:
-- My function --
Total time : 148150309 ns
Average runtime : 1.08318 ns/op
Ops per second : 923210494 op/s
-- Other function --
Total time : 101995443 ns
Average runtime : 0.745723 ns/op
Ops per second : 1340980694 op/s
-- Average runtime ratio --
Mine / Other's : 1.45252
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 692839640 ns
Average runtime : 1.03241 ns/op
Ops per second : 968605895 op/s
-- Other function --
Total time : 462109538 ns
Average runtime : 0.688597 ns/op
Ops per second : 1452228324 op/s
-- Average runtime ratio --
Mine / Other's : 1.4993
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346581054 ns
Average runtime : 1.03289 ns/op
Ops per second : 968155287 op/s
-- Other function --
Total time : 231177978 ns
Average runtime : 0.688964 ns/op
Ops per second : 1451454342 op/s
-- Average runtime ratio --
Mine / Other's : 1.4992 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30629069 ns
Average runtime : 1.07898 ns/op
Ops per second : 926800615 op/s
-- Other function --
Total time : 20636353 ns
Average runtime : 0.726964 ns/op
Ops per second : 1375584145 op/s
-- Average runtime ratio --
Mine / Other's : 1.48423
Performance tests with inputs in low integral range:
-- My function --
Total time : 174703695 ns
Average runtime : 1.07457 ns/op
Ops per second : 930606075 op/s
-- Other function --
Total time : 122751791 ns
Average runtime : 0.755022 ns/op
Ops per second : 1324463933 op/s
-- Average runtime ratio --
Mine / Other's : 1.42323
Performance tests with inputs in high integral range:
-- My function --
Total time : 148052490 ns
Average runtime : 1.08246 ns/op
Ops per second : 923820463 op/s
-- Other function --
Total time : 101984457 ns
Average runtime : 0.745643 ns/op
Ops per second : 1341125148 op/s
-- Average runtime ratio --
Mine / Other's : 1.45172
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693412192 ns
Average runtime : 1.03326 ns/op
Ops per second : 967806115 op/s
-- Other function --
Total time : 464646973 ns
Average runtime : 0.692378 ns/op
Ops per second : 1444297712 op/s
-- Average runtime ratio --
Mine / Other's : 1.49234
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346503174 ns
Average runtime : 1.03266 ns/op
Ops per second : 968372889 op/s
-- Other function --
Total time : 231625448 ns
Average runtime : 0.690298 ns/op
Ops per second : 1448650322 op/s
-- Average runtime ratio --
Mine / Other's : 1.49596 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30650147 ns
Average runtime : 1.07972 ns/op
Ops per second : 926163257 op/s
-- Other function --
Total time : 20784465 ns
Average runtime : 0.732181 ns/op
Ops per second : 1365781606 op/s
-- Average runtime ratio --
Mine / Other's : 1.47467
Performance tests with inputs in low integral range:
-- My function --
Total time : 174658529 ns
Average runtime : 1.07429 ns/op
Ops per second : 930846726 op/s
-- Other function --
Total time : 123258993 ns
Average runtime : 0.758142 ns/op
Ops per second : 1319013858 op/s
-- Average runtime ratio --
Mine / Other's : 1.417
Performance tests with inputs in high integral range:
-- My function --
Total time : 147957723 ns
Average runtime : 1.08177 ns/op
Ops per second : 924412171 op/s
-- Other function --
Total time : 102547160 ns
Average runtime : 0.749757 ns/op
Ops per second : 1333766044 op/s
-- Average runtime ratio --
Mine / Other's : 1.44283
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 694198202 ns
Average runtime : 1.03444 ns/op
Ops per second : 966710311 op/s
-- Other function --
Total time : 465022827 ns
Average runtime : 0.692938 ns/op
Ops per second : 1443130360 op/s
-- Average runtime ratio --
Mine / Other's : 1.49283
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346547363 ns
Average runtime : 1.03279 ns/op
Ops per second : 968249410 op/s
-- Other function --
Total time : 232162639 ns
Average runtime : 0.691899 ns/op
Ops per second : 1445298353 op/s
-- Average runtime ratio --
Mine / Other's : 1.49269 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30609579 ns
Average runtime : 1.07829 ns/op
Ops per second : 927390736 op/s
-- Other function --
Total time : 20738566 ns
Average runtime : 0.730565 ns/op
Ops per second : 1368804381 op/s
-- Average runtime ratio --
Mine / Other's : 1.47597
Performance tests with inputs in low integral range:
-- My function --
Total time : 175061971 ns
Average runtime : 1.07677 ns/op
Ops per second : 928701528 op/s
-- Other function --
Total time : 123395386 ns
Average runtime : 0.758981 ns/op
Ops per second : 1317555909 op/s
-- Average runtime ratio --
Mine / Other's : 1.41871
Performance tests with inputs in high integral range:
-- My function --
Total time : 148048950 ns
Average runtime : 1.08244 ns/op
Ops per second : 923842553 op/s
-- Other function --
Total time : 102829875 ns
Average runtime : 0.751824 ns/op
Ops per second : 1330099059 op/s
-- Average runtime ratio --
Mine / Other's : 1.43975
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693616822 ns
Average runtime : 1.03357 ns/op
Ops per second : 967520594 op/s
-- Other function --
Total time : 465755087 ns
Average runtime : 0.694029 ns/op
Ops per second : 1440861471 op/s
-- Average runtime ratio --
Mine / Other's : 1.48923
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346465373 ns
Average runtime : 1.03255 ns/op
Ops per second : 968478544 op/s
-- Other function --
Total time : 232156372 ns
Average runtime : 0.69188 ns/op
Ops per second : 1445337369 op/s
-- Average runtime ratio --
Mine / Other's : 1.49238 </code></pre></details></li>
<li><details><summary>rintf16_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 64604818 ns
Average runtime : 0.79759 ns/op
Ops per second : 1253776459 op/s
-- Other function --
Total time : 63281331 ns
Average runtime : 0.781251 ns/op
Ops per second : 1279998361 op/s
-- Average runtime ratio --
Mine / Other's : 1.02091
Performance tests with inputs in low integral range:
-- My function --
Total time : 95993774 ns
Average runtime : 0.761855 ns/op
Ops per second : 1312585126 op/s
-- Other function --
Total time : 94649251 ns
Average runtime : 0.751185 ns/op
Ops per second : 1331230819 op/s
-- Average runtime ratio --
Mine / Other's : 1.01421
Performance tests with inputs in high integral range:
-- My function --
Total time : 50615885 ns
Average runtime : 0.803427 ns/op
Ops per second : 1244668546 op/s
-- Other function --
Total time : 51674439 ns
Average runtime : 0.820229 ns/op
Ops per second : 1219171435 op/s
-- Average runtime ratio --
Mine / Other's : 0.979515
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 45472494 ns
Average runtime : 1.11125 ns/op
Ops per second : 899884664 op/s
-- Other function --
Total time : 28927856 ns
Average runtime : 0.706937 ns/op
Ops per second : 1414553501 op/s
-- Average runtime ratio --
Mine / Other's : 1.57193
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14664591 ns
Average runtime : 0.716744 ns/op
Ops per second : 1395197452 op/s
-- Other function --
Total time : 14509969 ns
Average runtime : 0.709187 ns/op
Ops per second : 1410065038 op/s
-- Average runtime ratio --
Mine / Other's : 1.01066 </code></pre></details></li>
<li><details><summary>rintf16_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 64182902 ns
Average runtime : 0.792382 ns/op
Ops per second : 1262018348 op/s
-- Other function --
Total time : 62873739 ns
Average runtime : 0.776219 ns/op
Ops per second : 1288296215 op/s
-- Average runtime ratio --
Mine / Other's : 1.02082
Performance tests with inputs in low integral range:
-- My function --
Total time : 98030680 ns
Average runtime : 0.778021 ns/op
Ops per second : 1285311904 op/s
-- Other function --
Total time : 93839722 ns
Average runtime : 0.74476 ns/op
Ops per second : 1342714975 op/s
-- Average runtime ratio --
Mine / Other's : 1.04466
Performance tests with inputs in high integral range:
-- My function --
Total time : 50873250 ns
Average runtime : 0.807512 ns/op
Ops per second : 1238371835 op/s
-- Other function --
Total time : 51040324 ns
Average runtime : 0.810164 ns/op
Ops per second : 1234318183 op/s
-- Average runtime ratio --
Mine / Other's : 0.996727
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 45566325 ns
Average runtime : 1.11355 ns/op
Ops per second : 898031605 op/s
-- Other function --
Total time : 28935181 ns
Average runtime : 0.707116 ns/op
Ops per second : 1414195404 op/s
-- Average runtime ratio --
Mine / Other's : 1.57477
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14627441 ns
Average runtime : 0.714929 ns/op
Ops per second : 1398740900 op/s
-- Other function --
Total time : 14534912 ns
Average runtime : 0.710406 ns/op
Ops per second : 1407645261 op/s
-- Average runtime ratio --
Mine / Other's : 1.00637 </code></pre></details></li>
<li><details><summary>rintf16_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 64090780 ns
Average runtime : 0.791244 ns/op
Ops per second : 1263832332 op/s
-- Other function --
Total time : 63683675 ns
Average runtime : 0.786218 ns/op
Ops per second : 1271911522 op/s
-- Average runtime ratio --
Mine / Other's : 1.00639
Performance tests with inputs in low integral range:
-- My function --
Total time : 96572469 ns
Average runtime : 0.766448 ns/op
Ops per second : 1304719671 op/s
-- Other function --
Total time : 94780843 ns
Average runtime : 0.752229 ns/op
Ops per second : 1329382563 op/s
-- Average runtime ratio --
Mine / Other's : 1.0189
Performance tests with inputs in high integral range:
-- My function --
Total time : 66740886 ns
Average runtime : 1.05938 ns/op
Ops per second : 943949110 op/s
-- Other function --
Total time : 49690674 ns
Average runtime : 0.788741 ns/op
Ops per second : 1267843539 op/s
-- Average runtime ratio --
Mine / Other's : 1.34313
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 29067424 ns
Average runtime : 0.710348 ns/op
Ops per second : 1407761485 op/s
-- Other function --
Total time : 29097616 ns
Average runtime : 0.711085 ns/op
Ops per second : 1406300777 op/s
-- Average runtime ratio --
Mine / Other's : 0.998962
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14509115 ns
Average runtime : 0.709145 ns/op
Ops per second : 1410148034 op/s
-- Other function --
Total time : 15377360 ns
Average runtime : 0.751582 ns/op
Ops per second : 1330527476 op/s
-- Average runtime ratio --
Mine / Other's : 0.943537 </code></pre></details></li>
<li><details><summary>rintf16_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 64161866 ns
Average runtime : 0.792122 ns/op
Ops per second : 1262432111 op/s
-- Other function --
Total time : 63007040 ns
Average runtime : 0.777865 ns/op
Ops per second : 1285570628 op/s
-- Average runtime ratio --
Mine / Other's : 1.01833
Performance tests with inputs in low integral range:
-- My function --
Total time : 98006551 ns
Average runtime : 0.77783 ns/op
Ops per second : 1285628345 op/s
-- Other function --
Total time : 95009643 ns
Average runtime : 0.754045 ns/op
Ops per second : 1326181175 op/s
-- Average runtime ratio --
Mine / Other's : 1.03154
Performance tests with inputs in high integral range:
-- My function --
Total time : 51326864 ns
Average runtime : 0.814712 ns/op
Ops per second : 1227427415 op/s
-- Other function --
Total time : 50445190 ns
Average runtime : 0.800717 ns/op
Ops per second : 1248880220 op/s
-- Average runtime ratio --
Mine / Other's : 1.01748
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 45451457 ns
Average runtime : 1.11074 ns/op
Ops per second : 900301171 op/s
-- Other function --
Total time : 28981609 ns
Average runtime : 0.70825 ns/op
Ops per second : 1411929889 op/s
-- Average runtime ratio --
Mine / Other's : 1.56829
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14912354 ns
Average runtime : 0.728854 ns/op
Ops per second : 1372016785 op/s
-- Other function --
Total time : 14888713 ns
Average runtime : 0.727699 ns/op
Ops per second : 1374195338 op/s
-- Average runtime ratio --
Mine / Other's : 1.00159 </code></pre></details></li>
</li></ul></details>
<li><details><summary>Google Tensor G3, Clang 17, <code>-mcpu=cortex-x3</code></summary><ul>
<li><details><summary>ceilf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 20744182 ns
Average runtime : 0.730762 ns/op
Ops per second : 1368433809 op/s
-- Other function --
Total time : 20767089 ns
Average runtime : 0.731569 ns/op
Ops per second : 1366924367 op/s
-- Average runtime ratio --
Mine / Other's : 0.998897
Performance tests with inputs in low integral range:
-- My function --
Total time : 118964030 ns
Average runtime : 0.731725 ns/op
Ops per second : 1366634267 op/s
-- Other function --
Total time : 123160563 ns
Average runtime : 0.757537 ns/op
Ops per second : 1320068015 op/s
-- Average runtime ratio --
Mine / Other's : 0.965926
Performance tests with inputs in high integral range:
-- My function --
Total time : 100619955 ns
Average runtime : 0.735666 ns/op
Ops per second : 1359312076 op/s
-- Other function --
Total time : 102568807 ns
Average runtime : 0.749915 ns/op
Ops per second : 1333484555 op/s
-- Average runtime ratio --
Mine / Other's : 0.981
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 463130819 ns
Average runtime : 0.690119 ns/op
Ops per second : 1449025917 op/s
-- Other function --
Total time : 464068767 ns
Average runtime : 0.691516 ns/op
Ops per second : 1446097233 op/s
-- Average runtime ratio --
Mine / Other's : 0.997979
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 231589397 ns
Average runtime : 0.69019 ns/op
Ops per second : 1448875830 op/s
-- Other function --
Total time : 232256754 ns
Average runtime : 0.692179 ns/op
Ops per second : 1444712690 op/s
-- Average runtime ratio --
Mine / Other's : 0.997127 </code></pre></details></li>
<li><details><summary>ceilf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 62398886 ns
Average runtime : 0.770357 ns/op
Ops per second : 1298100097 op/s
-- Other function --
Total time : 61858154 ns
Average runtime : 0.763681 ns/op
Ops per second : 1309447417 op/s
-- Average runtime ratio --
Mine / Other's : 1.00874
Performance tests with inputs in low integral range:
-- My function --
Total time : 95350463 ns
Average runtime : 0.75675 ns/op
Ops per second : 1321440882 op/s
-- Other function --
Total time : 93445964 ns
Average runtime : 0.741635 ns/op
Ops per second : 1348372841 op/s
-- Average runtime ratio --
Mine / Other's : 1.02038
Performance tests with inputs in high integral range:
-- My function --
Total time : 49408935 ns
Average runtime : 0.784269 ns/op
Ops per second : 1275073020 op/s
-- Other function --
Total time : 49409546 ns
Average runtime : 0.784279 ns/op
Ops per second : 1275057253 op/s
-- Average runtime ratio --
Mine / Other's : 0.999988
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 28854695 ns
Average runtime : 0.705149 ns/op
Ops per second : 1418140098 op/s
-- Other function --
Total time : 28596395 ns
Average runtime : 0.698837 ns/op
Ops per second : 1430949600 op/s
-- Average runtime ratio --
Mine / Other's : 1.00903
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 14244629 ns
Average runtime : 0.696218 ns/op
Ops per second : 1436330844 op/s
-- Other function --
Total time : 14190633 ns
Average runtime : 0.693579 ns/op
Ops per second : 1441796148 op/s
-- Average runtime ratio --
Mine / Other's : 1.00381 </code></pre></details></li>
<li><details><summary>floorf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 30655518 ns
Average runtime : 1.07991 ns/op
Ops per second : 926000989 op/s
-- Other function --
Total time : 20757853 ns
Average runtime : 0.731244 ns/op
Ops per second : 1367532567 op/s
-- Average runtime ratio --
Mine / Other's : 1.47682
Performance tests with inputs in low integral range:
-- My function --
Total time : 174611450 ns
Average runtime : 1.074 ns/op
Ops per second : 931097702 op/s
-- Other function --
Total time : 122998291 ns
Average runtime : 0.756539 ns/op
Ops per second : 1321809585 op/s
-- Average runtime ratio --
Mine / Other's : 1.41963
Performance tests with inputs in high integral range:
-- My function --
Total time : 148687988 ns
Average runtime : 1.08711 ns/op
Ops per second : 919872020 op/s
-- Other function --
Total time : 102241455 ns
Average runtime : 0.747522 ns/op
Ops per second : 1337754045 op/s
-- Average runtime ratio --
Mine / Other's : 1.45428
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693154215 ns
Average runtime : 1.03288 ns/op
Ops per second : 968166312 op/s
-- Other function --
Total time : 464356079 ns
Average runtime : 0.691945 ns/op
Ops per second : 1445202486 op/s
-- Average runtime ratio --
Mine / Other's : 1.49272
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346448609 ns
Average runtime : 1.0325 ns/op
Ops per second : 968525406 op/s
-- Other function --
Total time : 231649699 ns
Average runtime : 0.69037 ns/op
Ops per second : 1448498666 op/s
-- Average runtime ratio --
Mine / Other's : 1.49557 </code></pre></details></li>
<li><details><summary>floorf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 90904297 ns
Average runtime : 1.12228 ns/op
Ops per second : 891046987 op/s
-- Other function --
Total time : 61781332 ns
Average runtime : 0.762732 ns/op
Ops per second : 1311075649 op/s
-- Average runtime ratio --
Mine / Other's : 1.47139
Performance tests with inputs in low integral range:
-- My function --
Total time : 137819824 ns
Average runtime : 1.09381 ns/op
Ops per second : 914237127 op/s
-- Other function --
Total time : 94190267 ns
Average runtime : 0.747542 ns/op
Ops per second : 1337717834 op/s
-- Average runtime ratio --
Mine / Other's : 1.46321
Performance tests with inputs in high integral range:
-- My function --
Total time : 72396485 ns
Average runtime : 1.14915 ns/op
Ops per second : 870207994 op/s
-- Other function --
Total time : 49650920 ns
Average runtime : 0.78811 ns/op
Ops per second : 1268858663 op/s
-- Average runtime ratio --
Mine / Other's : 1.45811
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 42444336 ns
Average runtime : 1.03725 ns/op
Ops per second : 964086232 op/s
-- Other function --
Total time : 28394613 ns
Average runtime : 0.693905 ns/op
Ops per second : 1441118426 op/s
-- Average runtime ratio --
Mine / Other's : 1.4948
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21719075 ns
Average runtime : 1.06154 ns/op
Ops per second : 942029068 op/s
-- Other function --
Total time : 14246297 ns
Average runtime : 0.6963 ns/op
Ops per second : 1436162674 op/s
-- Average runtime ratio --
Mine / Other's : 1.52454 </code></pre></details></li>
<li><details><summary>roundf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31146199 ns
Average runtime : 1.0972 ns/op
Ops per second : 911412657 op/s
-- Other function --
Total time : 20611572 ns
Average runtime : 0.726091 ns/op
Ops per second : 1377237990 op/s
-- Average runtime ratio --
Mine / Other's : 1.5111
Performance tests with inputs in low integral range:
-- My function --
Total time : 174132039 ns
Average runtime : 1.07105 ns/op
Ops per second : 933661151 op/s
-- Other function --
Total time : 124449829 ns
Average runtime : 0.765467 ns/op
Ops per second : 1306392474 op/s
-- Average runtime ratio --
Mine / Other's : 1.39921
Performance tests with inputs in high integral range:
-- My function --
Total time : 147489664 ns
Average runtime : 1.07835 ns/op
Ops per second : 927345796 op/s
-- Other function --
Total time : 103984334 ns
Average runtime : 0.760264 ns/op
Ops per second : 1315331980 op/s
-- Average runtime ratio --
Mine / Other's : 1.41838
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693241659 ns
Average runtime : 1.03301 ns/op
Ops per second : 968044189 op/s
-- Other function --
Total time : 477017252 ns
Average runtime : 0.710811 ns/op
Ops per second : 1406843373 op/s
-- Average runtime ratio --
Mine / Other's : 1.45328
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 347093913 ns
Average runtime : 1.03442 ns/op
Ops per second : 966724760 op/s
-- Other function --
Total time : 237472046 ns
Average runtime : 0.707722 ns/op
Ops per second : 1412984330 op/s
-- Average runtime ratio --
Mine / Other's : 1.46162 </code></pre></details></li>
<li><details><summary>roundf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 90937175 ns
Average runtime : 1.12268 ns/op
Ops per second : 890724832 op/s
-- Other function --
Total time : 62709228 ns
Average runtime : 0.774188 ns/op
Ops per second : 1291675923 op/s
-- Average runtime ratio --
Mine / Other's : 1.45014
Performance tests with inputs in low integral range:
-- My function --
Total time : 137451782 ns
Average runtime : 1.09089 ns/op
Ops per second : 916685096 op/s
-- Other function --
Total time : 93099243 ns
Average runtime : 0.738883 ns/op
Ops per second : 1353394463 op/s
-- Average runtime ratio --
Mine / Other's : 1.4764
Performance tests with inputs in high integral range:
-- My function --
Total time : 73934570 ns
Average runtime : 1.17356 ns/op
Ops per second : 852104773 op/s
-- Other function --
Total time : 49927612 ns
Average runtime : 0.792502 ns/op
Ops per second : 1261826822 op/s
-- Average runtime ratio --
Mine / Other's : 1.48084
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 42346842 ns
Average runtime : 1.03487 ns/op
Ops per second : 966305822 op/s
-- Other function --
Total time : 28484375 ns
Average runtime : 0.696099 ns/op
Ops per second : 1436577070 op/s
-- Average runtime ratio --
Mine / Other's : 1.48667
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21241008 ns
Average runtime : 1.03817 ns/op
Ops per second : 963231123 op/s
-- Other function --
Total time : 14231527 ns
Average runtime : 0.695578 ns/op
Ops per second : 1437653176 op/s
-- Average runtime ratio --
Mine / Other's : 1.49253 </code></pre></details></li>
<li><details><summary>roundevenf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 50303386 ns
Average runtime : 1.77205 ns/op
Ops per second : 564316684 op/s
-- Other function --
Total time : 31010946 ns
Average runtime : 1.09243 ns/op
Ops per second : 915387747 op/s
-- Average runtime ratio --
Mine / Other's : 1.62212
Performance tests with inputs in low integral range:
-- My function --
Total time : 241941610 ns
Average runtime : 1.48814 ns/op
Ops per second : 671981640 op/s
-- Other function --
Total time : 173667073 ns
Average runtime : 1.06819 ns/op
Ops per second : 936160880 op/s
-- Average runtime ratio --
Mine / Other's : 1.39313
Performance tests with inputs in high integral range:
-- My function --
Total time : 155146972 ns
Average runtime : 1.13433 ns/op
Ops per second : 881576470 op/s
-- Other function --
Total time : 146547404 ns
Average runtime : 1.07146 ns/op
Ops per second : 933308378 op/s
-- Average runtime ratio --
Mine / Other's : 1.05868
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 1588331666 ns
Average runtime : 2.3668 ns/op
Ops per second : 422511604 op/s
-- Other function --
Total time : 692989949 ns
Average runtime : 1.03264 ns/op
Ops per second : 968395805 op/s
-- Average runtime ratio --
Mine / Other's : 2.292
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 501818319 ns
Average runtime : 1.49554 ns/op
Ops per second : 668656896 op/s
-- Other function --
Total time : 346982951 ns
Average runtime : 1.03409 ns/op
Ops per second : 967033910 op/s
-- Average runtime ratio --
Mine / Other's : 1.44623 </code></pre></details></li>
<li><details><summary>roundevenf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 150701742 ns
Average runtime : 1.86052 ns/op
Ops per second : 537485492 op/s
-- Other function --
Total time : 62692017 ns
Average runtime : 0.773976 ns/op
Ops per second : 1292030530 op/s
-- Average runtime ratio --
Mine / Other's : 2.40384
Performance tests with inputs in low integral range:
-- My function --
Total time : 187246501 ns
Average runtime : 1.48608 ns/op
Ops per second : 672909770 op/s
-- Other function --
Total time : 94662435 ns
Average runtime : 0.751289 ns/op
Ops per second : 1331045414 op/s
-- Average runtime ratio --
Mine / Other's : 1.97804
Performance tests with inputs in high integral range:
-- My function --
Total time : 74820679 ns
Average runtime : 1.18763 ns/op
Ops per second : 842013208 op/s
-- Other function --
Total time : 51619792 ns
Average runtime : 0.819362 ns/op
Ops per second : 1220462104 op/s
-- Average runtime ratio --
Mine / Other's : 1.44946
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 100581137 ns
Average runtime : 2.45799 ns/op
Ops per second : 406835727 op/s
-- Other function --
Total time : 28983398 ns
Average runtime : 0.708294 ns/op
Ops per second : 1411842738 op/s
-- Average runtime ratio --
Mine / Other's : 3.4703
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 31212199 ns
Average runtime : 1.52552 ns/op
Ops per second : 655512929 op/s
-- Other function --
Total time : 15378824 ns
Average runtime : 0.751653 ns/op
Ops per second : 1330400816 op/s
-- Average runtime ratio --
Mine / Other's : 2.02956 </code></pre></details></li>
<li><details><summary>truncf</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31359375 ns
Average runtime : 1.10471 ns/op
Ops per second : 905217020 op/s
-- Other function --
Total time : 21111084 ns
Average runtime : 0.743687 ns/op
Ops per second : 1344650989 op/s
-- Average runtime ratio --
Mine / Other's : 1.48545
Performance tests with inputs in low integral range:
-- My function --
Total time : 175893352 ns
Average runtime : 1.08189 ns/op
Ops per second : 924311909 op/s
-- Other function --
Total time : 126116333 ns
Average runtime : 0.775717 ns/op
Ops per second : 1289129775 op/s
-- Average runtime ratio --
Mine / Other's : 1.39469
Performance tests with inputs in high integral range:
-- My function --
Total time : 151054118 ns
Average runtime : 1.10441 ns/op
Ops per second : 905463034 op/s
-- Other function --
Total time : 108085979 ns
Average runtime : 0.790253 ns/op
Ops per second : 1265417783 op/s
-- Average runtime ratio --
Mine / Other's : 1.39754
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 695501832 ns
Average runtime : 1.03638 ns/op
Ops per second : 964898335 op/s
-- Other function --
Total time : 481244751 ns
Average runtime : 0.717111 ns/op
Ops per second : 1394484944 op/s
-- Average runtime ratio --
Mine / Other's : 1.44521
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 347197469 ns
Average runtime : 1.03473 ns/op
Ops per second : 966436422 op/s
-- Other function --
Total time : 236767416 ns
Average runtime : 0.705622 ns/op
Ops per second : 1417189432 op/s
-- Average runtime ratio --
Mine / Other's : 1.46641 </code></pre></details></li>
<li><details><summary>truncf16</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 90990722 ns
Average runtime : 1.12334 ns/op
Ops per second : 890200651 op/s
-- Other function --
Total time : 62254761 ns
Average runtime : 0.768577 ns/op
Ops per second : 1301105308 op/s
-- Average runtime ratio --
Mine / Other's : 1.46159
Performance tests with inputs in low integral range:
-- My function --
Total time : 138274983 ns
Average runtime : 1.09742 ns/op
Ops per second : 911227738 op/s
-- Other function --
Total time : 93033488 ns
Average runtime : 0.738361 ns/op
Ops per second : 1354351026 op/s
-- Average runtime ratio --
Mine / Other's : 1.48629
Performance tests with inputs in high integral range:
-- My function --
Total time : 72355103 ns
Average runtime : 1.14849 ns/op
Ops per second : 870705691 op/s
-- Other function --
Total time : 50634236 ns
Average runtime : 0.803718 ns/op
Ops per second : 1244217450 op/s
-- Average runtime ratio --
Mine / Other's : 1.42898
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 42454753 ns
Average runtime : 1.03751 ns/op
Ops per second : 963849677 op/s
-- Other function --
Total time : 28358317 ns
Average runtime : 0.693018 ns/op
Ops per second : 1442962923 op/s
-- Average runtime ratio --
Mine / Other's : 1.49708
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21255737 ns
Average runtime : 1.03889 ns/op
Ops per second : 962563659 op/s
-- Other function --
Total time : 14191040 ns
Average runtime : 0.693599 ns/op
Ops per second : 1441754797 op/s
-- Average runtime ratio --
Mine / Other's : 1.49783 </code></pre></details></li>
<li><details><summary>rintf_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 33239176 ns
Average runtime : 1.17093 ns/op
Ops per second : 854023577 op/s
-- Other function --
Total time : 25720012 ns
Average runtime : 0.906048 ns/op
Ops per second : 1103694663 op/s
-- Average runtime ratio --
Mine / Other's : 1.29235
Performance tests with inputs in low integral range:
-- My function --
Total time : 186917358 ns
Average runtime : 1.14969 ns/op
Ops per second : 869797870 op/s
-- Other function --
Total time : 147608277 ns
Average runtime : 0.90791 ns/op
Ops per second : 1101430917 op/s
-- Average runtime ratio --
Mine / Other's : 1.26631
Performance tests with inputs in high integral range:
-- My function --
Total time : 156676433 ns
Average runtime : 1.14551 ns/op
Ops per second : 872970601 op/s
-- Other function --
Total time : 123930176 ns
Average runtime : 0.906095 ns/op
Ops per second : 1103636938 op/s
-- Average runtime ratio --
Mine / Other's : 1.26423
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 694944946 ns
Average runtime : 1.03555 ns/op
Ops per second : 965671545 op/s
-- Other function --
Total time : 478404704 ns
Average runtime : 0.712879 ns/op
Ops per second : 1402763297 op/s
-- Average runtime ratio --
Mine / Other's : 1.45263
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 348248372 ns
Average runtime : 1.03786 ns/op
Ops per second : 963520024 op/s
-- Other function --
Total time : 237400717 ns
Average runtime : 0.707509 ns/op
Ops per second : 1413408873 op/s
-- Average runtime ratio --
Mine / Other's : 1.46692 </code></pre></details></li>
<li><details><summary>rintf_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31388550 ns
Average runtime : 1.10574 ns/op
Ops per second : 904375640 op/s
-- Other function --
Total time : 20767700 ns
Average runtime : 0.731591 ns/op
Ops per second : 1366884151 op/s
-- Average runtime ratio --
Mine / Other's : 1.51141
Performance tests with inputs in low integral range:
-- My function --
Total time : 175310018 ns
Average runtime : 1.0783 ns/op
Ops per second : 927387503 op/s
-- Other function --
Total time : 124780721 ns
Average runtime : 0.767502 ns/op
Ops per second : 1302928198 op/s
-- Average runtime ratio --
Mine / Other's : 1.40494
Performance tests with inputs in high integral range:
-- My function --
Total time : 148729208 ns
Average runtime : 1.08741 ns/op
Ops per second : 919617080 op/s
-- Other function --
Total time : 104318400 ns
Average runtime : 0.762707 ns/op
Ops per second : 1311119802 op/s
-- Average runtime ratio --
Mine / Other's : 1.42572
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 694060262 ns
Average runtime : 1.03423 ns/op
Ops per second : 966902438 op/s
-- Other function --
Total time : 473573731 ns
Average runtime : 0.70568 ns/op
Ops per second : 1417073025 op/s
-- Average runtime ratio --
Mine / Other's : 1.46558
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 347297079 ns
Average runtime : 1.03503 ns/op
Ops per second : 966159234 op/s
-- Other function --
Total time : 235412191 ns
Average runtime : 0.701583 ns/op
Ops per second : 1425347933 op/s
-- Average runtime ratio --
Mine / Other's : 1.47527 </code></pre></details></li>
<li><details><summary>rintf_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31384888 ns
Average runtime : 1.10561 ns/op
Ops per second : 904481163 op/s
-- Other function --
Total time : 20918254 ns
Average runtime : 0.736895 ns/op
Ops per second : 1357046338 op/s
-- Average runtime ratio --
Mine / Other's : 1.50036
Performance tests with inputs in low integral range:
-- My function --
Total time : 175266317 ns
Average runtime : 1.07803 ns/op
Ops per second : 927618739 op/s
-- Other function --
Total time : 125078776 ns
Average runtime : 0.769335 ns/op
Ops per second : 1299823400 op/s
-- Average runtime ratio --
Mine / Other's : 1.40125
Performance tests with inputs in high integral range:
-- My function --
Total time : 148534952 ns
Average runtime : 1.08599 ns/op
Ops per second : 920819767 op/s
-- Other function --
Total time : 104041219 ns
Average runtime : 0.76068 ns/op
Ops per second : 1314612817 op/s
-- Average runtime ratio --
Mine / Other's : 1.42765
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693949586 ns
Average runtime : 1.03407 ns/op
Ops per second : 967056647 op/s
-- Other function --
Total time : 473126588 ns
Average runtime : 0.705014 ns/op
Ops per second : 1418412274 op/s
-- Average runtime ratio --
Mine / Other's : 1.46673
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346883261 ns
Average runtime : 1.03379 ns/op
Ops per second : 967311824 op/s
-- Other function --
Total time : 235660441 ns
Average runtime : 0.702323 ns/op
Ops per second : 1423846440 op/s
-- Average runtime ratio --
Mine / Other's : 1.47196 </code></pre></details></li>
<li><details><summary>rintf_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 31407918 ns
Average runtime : 1.10642 ns/op
Ops per second : 903817948 op/s
-- Other function --
Total time : 20794393 ns
Average runtime : 0.732531 ns/op
Ops per second : 1365129532 op/s
-- Average runtime ratio --
Mine / Other's : 1.5104
Performance tests with inputs in low integral range:
-- My function --
Total time : 175254679 ns
Average runtime : 1.07796 ns/op
Ops per second : 927680338 op/s
-- Other function --
Total time : 124779297 ns
Average runtime : 0.767493 ns/op
Ops per second : 1302943067 op/s
-- Average runtime ratio --
Mine / Other's : 1.40452
Performance tests with inputs in high integral range:
-- My function --
Total time : 149214030 ns
Average runtime : 1.09095 ns/op
Ops per second : 916629086 op/s
-- Other function --
Total time : 103991862 ns
Average runtime : 0.760319 ns/op
Ops per second : 1315236763 op/s
-- Average runtime ratio --
Mine / Other's : 1.43486
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 693378662 ns
Average runtime : 1.03321 ns/op
Ops per second : 967852916 op/s
-- Other function --
Total time : 471207560 ns
Average runtime : 0.702154 ns/op
Ops per second : 1424188864 op/s
-- Average runtime ratio --
Mine / Other's : 1.47149
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 346975423 ns
Average runtime : 1.03407 ns/op
Ops per second : 967054891 op/s
-- Other function --
Total time : 234961467 ns
Average runtime : 0.70024 ns/op
Ops per second : 1428082162 op/s
-- Average runtime ratio --
Mine / Other's : 1.47673 </code></pre></details></li>
<li><details><summary>rintf16_upward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 92414144 ns
Average runtime : 1.14092 ns/op
Ops per second : 876489209 op/s
-- Other function --
Total time : 62845011 ns
Average runtime : 0.775864 ns/op
Ops per second : 1288885127 op/s
-- Average runtime ratio --
Mine / Other's : 1.47051
Performance tests with inputs in low integral range:
-- My function --
Total time : 140241659 ns
Average runtime : 1.11303 ns/op
Ops per second : 898449154 op/s
-- Other function --
Total time : 94991333 ns
Average runtime : 0.753899 ns/op
Ops per second : 1326436802 op/s
-- Average runtime ratio --
Mine / Other's : 1.47636
Performance tests with inputs in high integral range:
-- My function --
Total time : 74192749 ns
Average runtime : 1.17766 ns/op
Ops per second : 849139583 op/s
-- Other function --
Total time : 51313883 ns
Average runtime : 0.814506 ns/op
Ops per second : 1227737920 op/s
-- Average runtime ratio --
Mine / Other's : 1.44586
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 43436361 ns
Average runtime : 1.06149 ns/op
Ops per second : 942067867 op/s
-- Other function --
Total time : 29008179 ns
Average runtime : 0.7089 ns/op
Ops per second : 1410636634 op/s
-- Average runtime ratio --
Mine / Other's : 1.49738
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21725626 ns
Average runtime : 1.06186 ns/op
Ops per second : 941745015 op/s
-- Other function --
Total time : 14487793 ns
Average runtime : 0.708103 ns/op
Ops per second : 1412223380 op/s
-- Average runtime ratio --
Mine / Other's : 1.49958 </code></pre></details></li>
<li><details><summary>rintf16_downward</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 99804565 ns
Average runtime : 1.23216 ns/op
Ops per second : 811586123 op/s
-- Other function --
Total time : 65428060 ns
Average runtime : 0.807754 ns/op
Ops per second : 1238000943 op/s
-- Average runtime ratio --
Mine / Other's : 1.52541
Performance tests with inputs in low integral range:
-- My function --
Total time : 153427653 ns
Average runtime : 1.21768 ns/op
Ops per second : 821233966 op/s
-- Other function --
Total time : 99204956 ns
Average runtime : 0.787341 ns/op
Ops per second : 1270097836 op/s
-- Average runtime ratio --
Mine / Other's : 1.54657
Performance tests with inputs in high integral range:
-- My function --
Total time : 77328410 ns
Average runtime : 1.22744 ns/op
Ops per second : 814707039 op/s
-- Other function --
Total time : 52782267 ns
Average runtime : 0.837814 ns/op
Ops per second : 1193582685 op/s
-- Average runtime ratio --
Mine / Other's : 1.46505
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 43075155 ns
Average runtime : 1.05267 ns/op
Ops per second : 949967562 op/s
-- Other function --
Total time : 29095662 ns
Average runtime : 0.711038 ns/op
Ops per second : 1406395221 op/s
-- Average runtime ratio --
Mine / Other's : 1.48047
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21728475 ns
Average runtime : 1.062 ns/op
Ops per second : 941621535 op/s
-- Other function --
Total time : 14367147 ns
Average runtime : 0.702207 ns/op
Ops per second : 1424082317 op/s
-- Average runtime ratio --
Mine / Other's : 1.51237 </code></pre></details></li>
<li><details><summary>rintf16_towardzero</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 91252116 ns
Average runtime : 1.12657 ns/op
Ops per second : 887650649 op/s
-- Other function --
Total time : 63164754 ns
Average runtime : 0.779812 ns/op
Ops per second : 1282360729 op/s
-- Average runtime ratio --
Mine / Other's : 1.44467
Performance tests with inputs in low integral range:
-- My function --
Total time : 139606446 ns
Average runtime : 1.10799 ns/op
Ops per second : 902537122 op/s
-- Other function --
Total time : 95080363 ns
Average runtime : 0.754606 ns/op
Ops per second : 1325194772 op/s
-- Average runtime ratio --
Mine / Other's : 1.4683
Performance tests with inputs in high integral range:
-- My function --
Total time : 73444336 ns
Average runtime : 1.16578 ns/op
Ops per second : 857792491 op/s
-- Other function --
Total time : 51124878 ns
Average runtime : 0.811506 ns/op
Ops per second : 1232276779 op/s
-- Average runtime ratio --
Mine / Other's : 1.43657
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 43473511 ns
Average runtime : 1.0624 ns/op
Ops per second : 941262830 op/s
-- Other function --
Total time : 28833252 ns
Average runtime : 0.704625 ns/op
Ops per second : 1419194754 op/s
-- Average runtime ratio --
Mine / Other's : 1.50776
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21731567 ns
Average runtime : 1.06215 ns/op
Ops per second : 941487560 op/s
-- Other function --
Total time : 14557821 ns
Average runtime : 0.711526 ns/op
Ops per second : 1405430112 op/s
-- Average runtime ratio --
Mine / Other's : 1.49278 </code></pre></details></li>
<li><details><summary>rintf16_nearest</summary><pre><code>Performance tests with inputs in normal integral range:
-- My function --
Total time : 92676270 ns
Average runtime : 1.14415 ns/op
Ops per second : 874010143 op/s
-- Other function --
Total time : 63078370 ns
Average runtime : 0.778745 ns/op
Ops per second : 1284116885 op/s
-- Average runtime ratio --
Mine / Other's : 1.46922
Performance tests with inputs in low integral range:
-- My function --
Total time : 139450399 ns
Average runtime : 1.10675 ns/op
Ops per second : 903547074 op/s
-- Other function --
Total time : 95437297 ns
Average runtime : 0.757439 ns/op
Ops per second : 1320238564 op/s
-- Average runtime ratio --
Mine / Other's : 1.46117
Performance tests with inputs in high integral range:
-- My function --
Total time : 72607910 ns
Average runtime : 1.15251 ns/op
Ops per second : 867674059 op/s
-- Other function --
Total time : 50669312 ns
Average runtime : 0.804275 ns/op
Ops per second : 1243356136 op/s
-- Average runtime ratio --
Mine / Other's : 1.43298
Performance tests with inputs in normal fractional range:
-- My function --
Total time : 43465576 ns
Average runtime : 1.06221 ns/op
Ops per second : 941434665 op/s
-- Other function --
Total time : 28445353 ns
Average runtime : 0.695145 ns/op
Ops per second : 1438547800 op/s
-- Average runtime ratio --
Mine / Other's : 1.52804
Performance tests with inputs in subnormal fractional range:
-- My function --
Total time : 21713176 ns
Average runtime : 1.06125 ns/op
Ops per second : 942284997 op/s
-- Other function --
Total time : 14358724 ns
Average runtime : 0.701795 ns/op
Ops per second : 1424917701 op/s
-- Average runtime ratio --
Mine / Other's : 1.51219 </code></pre></details></li>
</li></ul></details>
</ul>
https://github.com/llvm/llvm-project/pull/98376
More information about the libc-commits
mailing list