1111 'absl::int128': [741269, 92323, 90394, 89558, 1200439, 1293439],
1212}
1313"""
14-
14+ """
1515# Linux ARM64
1616data = {
1717 'Operation': ['Comparisons', 'Addition', 'Subtraction', 'Multiplication', 'Division', 'Modulo'],
2222}
2323
2424"""
25+
2526# Linux s390x
2627data = {
2728 'Operation' : ['Comparisons' , 'Addition' , 'Subtraction' , 'Multiplication' , 'Division' , 'Modulo' ],
28- '`__int128`': [7033705, 558950, 534362, 911317, 4371582, 4375939],
29- 'int128_t': [6231386, 689575, 329127, 946090, 3574992, 3727994],
30- 'boost::mp::int128_t': [10322828, 1673032, 2149206, 1362947, 3669927, 4419901]
29+ '`__int128`' : [14099505 , 1151086 , 1223119 , 1904542 , 8768877 , 8661233 ],
30+ 'int128_t' : [12588237 , 1374984 , 753561 , 2060986 , 7080113 , 7180650 ],
31+ 'boost::mp::int128_t' : [21074294 , 3303931 , 4224613 , 3034387 , 7306287 , 8801605 ],
32+ 'absl::int128' : [13972778 , 1195725 , 1295929 , 1733150 , 7968543 , 8175497 ],
3133}
32- """
34+
3335"""
3436# Linux ppc64le
3537data = {
@@ -122,7 +124,7 @@ def get_colors_by_rank(row):
122124
123125ax1 .set_xlabel ('Operations' , fontsize = 12 )
124126ax1 .set_ylabel ('Time (nanoseconds)' , fontsize = 12 )
125- ax1 .set_title ('GCC 13 - ARM64 Benchmark Results' , fontsize = 14 , fontweight = 'bold' )
127+ ax1 .set_title ('GCC 13 - s390x Benchmark Results' , fontsize = 14 , fontweight = 'bold' )
126128ax1 .set_xticks (x )
127129ax1 .set_xticklabels (operations , rotation = 45 , ha = 'right' )
128130ax1 .legend (loc = 'upper left' )
@@ -151,15 +153,15 @@ def get_colors_by_rank(row):
151153
152154ax2 .set_xlabel ('Operations' , fontsize = 12 )
153155ax2 .set_ylabel ('Time (nanoseconds) - Log Scale' , fontsize = 12 )
154- ax2 .set_title ('GCC 13 - ARM64 Benchmark Results (Log Scale)' , fontsize = 14 , fontweight = 'bold' )
156+ ax2 .set_title ('GCC 13 - s390x Benchmark Results (Log Scale)' , fontsize = 14 , fontweight = 'bold' )
155157ax2 .set_yscale ('log' )
156158ax2 .set_xticks (x )
157159ax2 .set_xticklabels (operations , rotation = 45 , ha = 'right' )
158160ax2 .legend (loc = 'upper left' )
159161ax2 .grid (axis = 'y' , alpha = 0.3 , which = 'both' )
160162
161163plt .tight_layout ()
162- plt .savefig ('arm64_benchmarks .png' , dpi = 300 , bbox_inches = 'tight' )
164+ plt .savefig ('s390x_benchmarks .png' , dpi = 300 , bbox_inches = 'tight' )
163165plt .show ()
164166
165167# Create a normalized performance chart
@@ -188,7 +190,7 @@ def get_colors_by_rank(row):
188190
189191ax3 .set_xlabel ('Operations' , fontsize = 12 )
190192ax3 .set_ylabel ('Relative Performance (vs __int128)' , fontsize = 12 )
191- ax3 .set_title ('Relative Performance Comparison - ARM64 ' , fontsize = 14 , fontweight = 'bold' )
193+ ax3 .set_title ('Relative Performance Comparison - s390x ' , fontsize = 14 , fontweight = 'bold' )
192194ax3 .set_xticks (x )
193195ax3 .set_xticklabels (operations , rotation = 45 , ha = 'right' )
194196ax3 .legend ()
@@ -199,7 +201,7 @@ def get_colors_by_rank(row):
199201 fontsize = 10 , verticalalignment = 'top' , style = 'italic' )
200202
201203plt .tight_layout ()
202- plt .savefig ('arm64_relative_performance .png' , dpi = 300 , bbox_inches = 'tight' )
204+ plt .savefig ('s390x_relative_performance .png' , dpi = 300 , bbox_inches = 'tight' )
203205plt .show ()
204206
205207# Generate summary statistics
0 commit comments