Skip to content

Commit a3058dd

Browse files
committed
Add benchmark data of Intel libbid run with MSVC
1 parent a930b39 commit a3058dd

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

doc/modules/ROOT/pages/benchmarks.adoc

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ To run the GCC benchmarks you can use the following command: `gcc benchmark_libd
2929
To run the Intel benchmarks you will need both the https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html[Intel Compiler], and the https://www.intel.com/content/www/us/en/developer/articles/tool/intel-decimal-floating-point-math-library.html[library].
3030
You can the use the following command: `icx benchmark_libbid.c -O3 $PATH_TO_LIBBID/libbid.a -std=c17` followed by: `./a.out`
3131
You can also use `gcc` instead of `icx`.
32+
On windows the command is similarly: `cl benchmark_libbid.c /O2 /std:c17 ..\PATH_TO_LIBBID\cl000libbid.lib`, followed by: `.\benchmark_libbid.exe`.
3233

3334
NOTE: The Intel benchmarks can only be run on one of their supported architectures: IA-32, IA-64, and Intel x64
3435

@@ -725,6 +726,15 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.14.
725726
| `decimal_fast128_t`
726727
| 801,708
727728
| 4.300
729+
| Intel `BID_UINT32`
730+
| 4,372,973
731+
| 23.457
732+
| Intel `BID_UINT64`
733+
| 9,345,300
734+
| 50.129
735+
| Intel `BID_UINT128`
736+
| 11,504,914
737+
| 61.714
728738
|===
729739

730740
=== Addition
@@ -755,6 +765,15 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.14.
755765
| `decimal_fast128_t`
756766
| 3,109,101
757767
| 38.914
768+
| Intel `BID_UINT32`
769+
| 4,967,728
770+
| 62.177
771+
| Intel `BID_UINT64`
772+
| 6,268,077
773+
| 78.452
774+
| Intel `BID_UINT128`
775+
| 4,847,330
776+
| 60.670
758777
|===
759778

760779
=== Subtraction
@@ -785,6 +804,15 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.14.
785804
| `decimal_fast128_t`
786805
| 2,963,570
787806
| 9.167
807+
| Intel `BID_UINT32`
808+
| 4,603,462
809+
| 14.240
810+
| Intel `BID_UINT64`
811+
| 5,627,305
812+
| 17.407
813+
| Intel `BID_UINT128`
814+
| 5,824,263
815+
| 18.016
788816
|===
789817

790818
=== Multiplication
@@ -815,6 +843,15 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.14.
815843
| `decimal_fast128_t`
816844
| 9,236,110
817845
| 117.434
846+
| Intel `BID_UINT32`
847+
| 3,833,363
848+
| 48.740
849+
| Intel `BID_UINT64`
850+
| 11,671,369
851+
| 148.398
852+
| Intel `BID_UINT128`
853+
| 62,036,577
854+
| 788.778
818855
|===
819856

820857
=== Division
@@ -845,6 +882,15 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.14.
845882
| `decimal_fast128_t`
846883
| 11,587,763
847884
| 129,737
885+
| Intel `BID_UINT32`
886+
| 5,037,576
887+
| 46.401
888+
| Intel `BID_UINT64`
889+
| 8,768,259
890+
| 98.170
891+
| Intel `BID_UINT128`
892+
| 38,519,644
893+
| 431.269
848894
|===
849895

850896
=== `from_chars`

0 commit comments

Comments
 (0)