|
70 | 70 | } |
71 | 71 | """ |
72 | 72 |
|
| 73 | +""" |
73 | 74 | # Linux S390x |
74 | 75 | data = { |
75 | 76 | 'Operation': ['Comparisons', 'Addition', 'Subtraction', 'Multiplication', 'Division', 'Modulo'], |
76 | 77 | 'unsigned __int128': [14415854, 1232397, 1239808, 1928533, 8102813, 9072599], |
77 | 78 | 'uint128_t': [12658246, 1423451, 775766, 2600663, 5759377, 6648180], |
78 | 79 | 'boost::mp::uint128_t': [16561079, 2909066, 2744664, 2384775, 7828137, 9172574] |
79 | 80 | } |
| 81 | +""" |
| 82 | + |
| 83 | +# Linux ppc64le |
| 84 | +data = { |
| 85 | + 'Operation': ['Comparisons', 'Addition', 'Subtraction', 'Multiplication', 'Division', 'Modulo'], |
| 86 | + 'unsigned __int128': [5242604, 221776, 222894, 194494, 4821119, 4955570], |
| 87 | + 'uint128_t': [4450958, 193063, 175259, 192929, 4896360, 4273487], |
| 88 | + 'boost::mp::uint128_t': [5704848, 847504, 786659, 795187, 5344637, 5407877] |
| 89 | +} |
80 | 90 |
|
81 | 91 | df = pd.DataFrame(data) |
82 | 92 |
|
@@ -115,7 +125,7 @@ def get_colors_by_rank(row): |
115 | 125 |
|
116 | 126 | ax1.set_xlabel('Operations', fontsize=12) |
117 | 127 | ax1.set_ylabel('Time (nanoseconds)', fontsize=12) |
118 | | -ax1.set_title('GCC 13 - s390x Benchmark Results', fontsize=14, fontweight='bold') |
| 128 | +ax1.set_title('GCC 14 - ppc64le Benchmark Results', fontsize=14, fontweight='bold') |
119 | 129 | ax1.set_xticks(x) |
120 | 130 | ax1.set_xticklabels(operations, rotation=45, ha='right') |
121 | 131 | ax1.legend(loc='upper left') |
@@ -144,15 +154,15 @@ def get_colors_by_rank(row): |
144 | 154 |
|
145 | 155 | ax2.set_xlabel('Operations', fontsize=12) |
146 | 156 | ax2.set_ylabel('Time (nanoseconds) - Log Scale', fontsize=12) |
147 | | -ax2.set_title('GCC 13 - s390x Benchmark Results (Log Scale)', fontsize=14, fontweight='bold') |
| 157 | +ax2.set_title('GCC 14 - ppc64le Benchmark Results (Log Scale)', fontsize=14, fontweight='bold') |
148 | 158 | ax2.set_yscale('log') |
149 | 159 | ax2.set_xticks(x) |
150 | 160 | ax2.set_xticklabels(operations, rotation=45, ha='right') |
151 | 161 | ax2.legend(loc='upper left') |
152 | 162 | ax2.grid(axis='y', alpha=0.3, which='both') |
153 | 163 |
|
154 | 164 | plt.tight_layout() |
155 | | -plt.savefig('s390x_benchmarks.png', dpi=300, bbox_inches='tight') |
| 165 | +plt.savefig('ppc64le_benchmarks.png', dpi=300, bbox_inches='tight') |
156 | 166 | plt.show() |
157 | 167 |
|
158 | 168 | # Create a normalized performance chart |
@@ -192,7 +202,7 @@ def get_colors_by_rank(row): |
192 | 202 | fontsize=10, verticalalignment='top', style='italic') |
193 | 203 |
|
194 | 204 | plt.tight_layout() |
195 | | -plt.savefig('s390x_relative_performance.png', dpi=300, bbox_inches='tight') |
| 205 | +plt.savefig('ppc64le_relative_performance.png', dpi=300, bbox_inches='tight') |
196 | 206 | plt.show() |
197 | 207 |
|
198 | 208 | # Generate summary statistics |
|
0 commit comments