Created
September 21, 2019 13:01
-
-
Save straussmaximilian/bfe464146b21c7fb7b0b671423d2cd9e to your computer and use it in GitHub Desktop.
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
import perfplot | |
plt.figure(figsize=(10, 10)) | |
plt.title('Quantitative Comparison of Filtering Speeds') | |
perfplot.show( | |
setup=random_array, | |
kernels=[loop, boolean_index, loop_numba, boolean_index_numba], | |
n_range=[2**k for k in range(2, 22)], | |
logx=True, | |
logy=True, | |
equality_check=False, | |
xlabel='len(df)') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment