File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,11 @@ def benchmark_function(name: str) -> None:
9393 print (f"{ key :21} { value } " )
9494 print ("a man a plan a canal panama" )
9595
96- benchmark_function ( "is_palindrome" ) # finished 100000 runs in 0.33785 seconds
97- benchmark_function (
98- "is_palindrome_traversal"
99- ) # finished 100000 runs in 0.70002 seconds
100- benchmark_function (
101- "is_palindrome_recursive"
102- ) # finished 100000 runs in 0.48514 seconds
103- benchmark_function ("is_palindrome_slice" ) # finished 100000 runs in 0.18703 seconds
96+ # finished 100,000 runs in 0.18703 seconds
97+ benchmark_function ("is_palindrome_slice" )
98+ # finished 100,000 runs in 0.33785 seconds
99+ benchmark_function ( "is_palindrome" )
100+ # finished 100,000 runs in 0.48514 seconds
101+ benchmark_function ( "is_palindrome_recursive" )
102+ # finished 100,000 runs in 0.70002 seconds
103+ benchmark_function ("is_palindrome_traversal" )
You can’t perform that action at this time.
0 commit comments