Skip to content

Commit 9ccd937

Browse files
committed
Update macos to_chars benchmark data
1 parent caccbfd commit 9ccd937

File tree

1 file changed

+76
-52
lines changed

1 file changed

+76
-52
lines changed

doc/modules/ROOT/pages/benchmarks.adoc

Lines changed: 76 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -790,30 +790,36 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.11.
790790
| 3.064
791791
|===
792792

793-
===== M1 macOS Results
793+
===== M4 macOS Results
794794

795-
Run using a Macbook pro with M1 pro chipset running macOS Sonoma 15.0 and homebrew GCC 14.2.0
795+
Run using a Macbook pro with M4 Max chipset running macOS Sequoia 15.5 and homebrew GCC 15.1.0
796796

797797
|===
798798
| Type | Runtime (us) | Ratio to `double`
799799
| `float`
800-
| 2,917,920
801-
| 0.849
800+
| 2,223,891
801+
| 0.882
802802
| `double`
803-
| 3,435,671
803+
| 2,520,203
804804
| 1.000
805805
| `decimal32_t`
806-
| 4,636,747
807-
| 1.350
806+
| 2,983,523
807+
| 1.184
808808
| `decimal64_t`
809-
| 5,680,800
810-
| 1.653
809+
| 3,348,702
810+
| 1.329
811+
| `decimal128_t`
812+
| 8,899,289
813+
| 3.531
811814
| `decimal_fast32_t`
812-
| 4,675,951
813-
| 1.361
815+
| 3,383,567
816+
| 1.343
814817
| `decimal_fast64_t`
815-
| 5,900,272
816-
| 1.717
818+
| 3,436,470
819+
| 1.364
820+
| `decimal_fast128_t`
821+
| 12,509,443
822+
| 4.964
817823
|===
818824

819825
==== `to_chars` general 6-digits of precision
@@ -870,30 +876,36 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.11.
870876
| 1.276
871877
|===
872878

873-
===== M1 macOS Results
879+
===== M4 macOS Results
874880

875-
Run using a Macbook pro with M1 pro chipset running macOS Sonoma 15.0 and homebrew GCC 14.2.0
881+
Run using a Macbook pro with M4 Max chipset running macOS Sequoia 15.5 and homebrew GCC 15.1.0
876882

877883
|===
878884
| Type | Runtime (us) | Ratio to `double`
879885
| `float`
880-
| 6,320,719
881-
| 0.962
886+
| 4,664,538
887+
| 0.948
882888
| `double`
883-
| 6,572,846
889+
| 4,915,699
884890
| 1.000
885891
| `decimal32_t`
886-
| 4,133,466
887-
| 0.629
892+
| 2,570,339
893+
| 0.523
888894
| `decimal64_t`
889-
| 6,106,989
890-
| 0.929
895+
| 3,309,343
896+
| 0.673
897+
| `decimal128_t
898+
| 5,962,030
899+
| 1.212
891900
| `decimal_fast32_t`
892-
| 3,458,534
893-
| 0.526
901+
| 2,213,792
902+
| 0.450
894903
| `decimal_fast64_t`
895-
| 5,997,442
896-
| 0.912
904+
| 3,067,584
905+
| 0.624
906+
| `decimal_fast128_t`
907+
| 6,006,157
908+
| 1.222
897909
|===
898910

899911
==== `to_chars` scientific shortest representation
@@ -950,30 +962,36 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.11.
950962
| 2.323
951963
|===
952964

953-
===== M1 macOS Results
965+
===== M4 macOS Results
954966

955-
Run using a Macbook pro with M1 pro chipset running macOS Sonoma 15.0 and homebrew GCC 14.2.0
967+
Run using a Macbook pro with M4 Max chipset running macOS Sequoia 15.5 and homebrew GCC 15.1.0
956968

957969
|===
958970
| Type | Runtime (us) | Ratio to `double`
959971
| `float`
960-
| 2,814,527
961-
| 0.817
972+
| 2,119,538
973+
| 0.848
962974
| `double`
963-
| 3,442,930
975+
| 2,500,900
964976
| 1.000
965977
| `decimal32_t`
966-
| 3,048,663
967-
| 0.885
978+
| 1,757,416
979+
| 0.703
968980
| `decimal64_t`
969-
| 3,786,216
970-
| 1.010
981+
| 2,187,911
982+
| 0.875
983+
| `decimal128_t`
984+
| 6,976,380
985+
| 2.790
971986
| `decimal_fast32_t`
972-
| 2,813,360
973-
| 0.817
987+
| 1,739,069
988+
| 0.695
974989
| `decimal_fast64_t`
975-
| 4,082,146
976-
| 1.186
990+
| 2,060,848
991+
| 0.824
992+
| `decimal_fast128_t`
993+
| 12,509,443
994+
| 5.002
977995
|===
978996

979997
==== `to_chars` scientific 6-digits of precision
@@ -1030,28 +1048,34 @@ Run using an Intel i9-11900k chipset running Windows 11 and Visual Studio 17.11.
10301048
| 1.511
10311049
|===
10321050

1033-
===== M1 macOS Results
1051+
===== M4 macOS Results
10341052

1035-
Run using a Macbook pro with M1 pro chipset running macOS Sonoma 15.0 and homebrew GCC 14.2.0
1053+
Run using a Macbook pro with M4 Max chipset running macOS Sequoia 15.5 and homebrew GCC 15.1.0
10361054

10371055
|===
10381056
| Type | Runtime (us) | Ratio to `double`
10391057
| `float`
1040-
| 5,636,010
1041-
| 0.952
1058+
| 4,157,977
1059+
| 0.933
10421060
| `double`
1043-
| 5,922,301
1061+
| 4,457,878
10441062
| 1.000
10451063
| `decimal32_t`
1046-
| 3,048,058
1047-
| 0.515
1064+
| 1,764,018
1065+
| 0.395
10481066
| `decimal64_t`
1049-
| 5,140,604
1050-
| 0.868
1067+
| 2,625,621
1068+
| 0.589
1069+
| `decimal128_t`
1070+
| 4,060,487
1071+
| 0.911
10511072
| `decimal_fast32_t`
1052-
| 2,821,707
1053-
| 0.476
1073+
| 1,728,473
1074+
| 0.388
10541075
| `decimal_fast64_t`
1055-
| 5,525,549
1056-
| 0.933
1076+
| 2,734,955
1077+
| 0.614
1078+
| `decimal_fast128_t`
1079+
| 5,300,774
1080+
| 1.189
10571081
|===

0 commit comments

Comments
 (0)