use timeit for testing conversion.