Benchmark of a semi-Lagrangian and a Lagrangian code for gyrokinetic simulations