test the efficiency of a few python string parsing methods