|
42 | 42 | } |
43 | 43 | """ |
44 | 44 |
|
| 45 | +""" |
45 | 46 | # x64 macOS |
46 | 47 | data = { |
47 | 48 | 'Operation': ['Comparisons', 'Addition', 'Subtraction', 'Multiplication', 'Division', 'Modulo'], |
48 | 49 | 'unsigned __int128': [688225, 104921, 129150, 120363, 2333812, 2621949], |
49 | 50 | 'uint128_t': [712352, 124992, 102302, 119652, 1981469, 2219481], |
50 | 51 | 'boost::mp::uint128_t': [689146, 137819, 153484, 164100, 2784139, 2736682] |
51 | 52 | } |
| 53 | +""" |
| 54 | + |
| 55 | +# Linux x64 |
| 56 | +data = { |
| 57 | + 'Operation': ['Comparisons', 'Addition', 'Subtraction', 'Multiplication', 'Division', 'Modulo'], |
| 58 | + 'unsigned __int128': [2068491, 383258, 208155, 291075, 3953939, 4042166], |
| 59 | + 'uint128_t': [2416378, 180522, 192633, 241174, 4246753, 3953441], |
| 60 | + 'boost::mp::uint128_t': [3191439, 545521, 420573, 675361, 4976285, 4478923] |
| 61 | +} |
| 62 | + |
52 | 63 |
|
53 | 64 | df = pd.DataFrame(data) |
54 | 65 |
|
@@ -87,7 +98,7 @@ def get_colors_by_rank(row): |
87 | 98 |
|
88 | 99 | ax1.set_xlabel('Operations', fontsize=12) |
89 | 100 | ax1.set_ylabel('Time (nanoseconds)', fontsize=12) |
90 | | -ax1.set_title('Clang 15 - x64 Benchmark Results', fontsize=14, fontweight='bold') |
| 101 | +ax1.set_title('GCC 14 - x64 Benchmark Results', fontsize=14, fontweight='bold') |
91 | 102 | ax1.set_xticks(x) |
92 | 103 | ax1.set_xticklabels(operations, rotation=45, ha='right') |
93 | 104 | ax1.legend(loc='upper left') |
@@ -116,7 +127,7 @@ def get_colors_by_rank(row): |
116 | 127 |
|
117 | 128 | ax2.set_xlabel('Operations', fontsize=12) |
118 | 129 | ax2.set_ylabel('Time (nanoseconds) - Log Scale', fontsize=12) |
119 | | -ax2.set_title('Clang 15 - x64 Benchmark Results (Log Scale)', fontsize=14, fontweight='bold') |
| 130 | +ax2.set_title('GCC 14 - x64 Benchmark Results (Log Scale)', fontsize=14, fontweight='bold') |
120 | 131 | ax2.set_yscale('log') |
121 | 132 | ax2.set_xticks(x) |
122 | 133 | ax2.set_xticklabels(operations, rotation=45, ha='right') |
|
0 commit comments