Created
May 1, 2019 16:48
-
-
Save chhetripradeep/3b0cecfa5c7ead2a41bbf1d77e3d3e49 to your computer and use it in GitHub Desktop.
Python Benchmarks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iterations = 100 | |
def test_concat_basic(benchmark): | |
benchmark(concat_basic, iterations) | |
def test_concat_join(benchmark): | |
benchmark(concat_join, iterations) | |
def test_concat_comprehensions(benchmark): | |
benchmark(concat_comprehensions, iterations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment