Inline vs Function Call

__attribute__(always_inline) int foo(int x, int y) {
  return x + y;
}
__attribute__(noinline) int foo(int x, int y) {
  return x + y;
}

* The benchmark is run under AMD Ryzen 9.

* For the full benchmark code, please refer here.