Benchmark gravitation

See 0dbc299fdc4 for the cost of templatisation (between 15% and 20%).
Both before and after, the difference between native and CLR is about 10%.
Can we make this function const?