Usually Arm cpus have a lot more registers to pass values in. > On Feb 3, 2022, at 9:21 AM, Didier Spezia <didier...@gmail.com> wrote: > > We are using our own benchmark to evaluate the performance of different CPU > models of cloud providers. > https://github.com/AmadeusITGroup/cpubench1A > > One point we have realized is the results of such benchmark can be biased > depending on the version of the Go compiler. > > For instance, the register-based ABI has a measurable positive impact on > performance, but it does not come with the same version of Go depending on > the CPU architecture. When we run different versions of Go against the same > code base for recent Intel and ARM CPUs, we get: > https://github.com/AmadeusITGroup/cpubench1A/issues/8 > > It is about +10% throughput for x86_86 (from go 1.16.13 -> 1.17.6) and +17% > for Aarch64 (from go 1.17.6 -> 1.18beta1). Yay! > > It seems Aarch64 benefits more from the register-based ABI than x86_64. > I don''t see really why. Does anyone have a clue? > Thanks. > > Best regards, > Didier. > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/0dae635a-768a-4cf4-ae05-84e294ca8745n%40googlegroups.com.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/FDD03561-166B-436B-9475-B0E653FA5F3C%40ix.netcom.com.