Different calculation methods over a table of one million rows were used as a simple benchmark. The measurements are in CPU milliseconds for four different cases and three different test methods.