Today, I built vim (git) for x86-64 and for the x32 ABI, with --disable-gui for simplicity. Then, I collected some benchmark results by running make test. (If there are better benchmarks, let me know.)
The results show a 10 % speedup for x32 - very cool. I repeated all benchmarks three times for 5 different C compilers (gcc 9, gcc 10, gcc 11, gcc 12, clang-13, all as packaged by Ubuntu 22.04) and the speedup is quite consistent.
compiler user (sec) system (sec)
clang13-64 65.831 16.128
clang13-64 66.131 16.001 clang13-64 65.589 16.050 clang13-x32 61.136 12.583 clang13-x32 61.631 12.387 clang13-x32 61.182 12.315 gcc9-64 66.414 15.806 gcc9-64 67.507 15.940 gcc9-64 67.501 16.158 gcc9-x32 62.375 12.500 gcc9-x32 62.437 12.311 gcc9-x32 62.225 12.175 gcc10-64 67.035 15.894 gcc10-64 67.431 16.096 gcc10-64 67.028 15.790 gcc10-x32 61.796 12.772 gcc10-x32 61.850 12.307 gcc10-x32 61.576 12.916 gcc11-64 66.885 15.842 gcc11-64 66.272 15.556 gcc11-64 66.558 16.139 gcc11-x32 61.940 12.418 gcc11-x32 61.811 12.657 gcc11-x32 61.762 12.429 gcc12-64 67.489 15.473 gcc12-64 67.257 15.750 gcc12-64 66.455 15.779 gcc12-x32 62.361 12.705 gcc12-x32 62.252 12.379 gcc12-x32 61.865 12.31
Greetings
Sven
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/935bddd1-2e12-42b5-af8a-a21e5129b4bfn%40googlegroups.com.
No comments:
Post a Comment