'This will show higher overhead due to unboxing in the native version.'

def test_overhead(self):

    cr = compiler.compile_isolated(overhead, [types.int32])
    cfunc = cr.entry_point
    disp = registry.CPUDispatcher(overhead)
    disp.add_overload(cr)
    x = 321
    def python():
        overhead(x)
    def pycfunc():
        cfunc(x)
    def overloaded():
        disp(x)
    print(overhead)
    print(utils.benchmark(python, maxsec=0.5))
    print(utils.benchmark(pycfunc, maxsec=0.5))
    print(utils.benchmark(overloaded, maxsec=0.5))
