def test_slash_add(self): slash = '/' left = 'a' right ='b' for x in range(10000): path = left + '/' + right def test_slash_join(self): slash = '/' left = 'a' right ='b' for x in range(10000): path = slash.join((left, right)) def test_slash_percent(self): slash = '%s/%s' left = 'a' right ='b' for x in range(10000): path = slash % (left, right)