Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependencies method benchmark #367

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Feb 9, 2024

Increases the file size from 1,000 to 10,000 for the row based benchmarks, and also use more than one file for __get_item__() and __contains__().

method string object pyarrow
Dependencies.__call__() 0.000 0.000 0.000
Dependencies.__contains__(10000 files) 0.005 0.005 0.004
Dependencies.__get_item__(10000 files) 0.311 0.223 0.907
Dependencies.__len__() 0.000 0.000 0.000
Dependencies.__str__() 0.006 0.005 0.006
Dependencies.archives 0.145 0.112 0.144
Dependencies.attachments 0.029 0.018 0.017
Dependencies.attachment_ids 0.028 0.018 0.016
Dependencies.files 0.031 0.011 0.042
Dependencies.media 0.132 0.072 0.088
Dependencies.removed_media 0.118 0.063 0.081
Dependencies.table_ids 0.035 0.025 0.022
Dependencies.tables 0.028 0.017 0.016
Dependencies.archive(10000 files) 0.046 0.043 0.064
Dependencies.bit_depth(10000 files) 0.042 0.042 0.060
Dependencies.channels(10000 files) 0.041 0.042 0.060
Dependencies.checksum(10000 files) 0.043 0.041 0.064
Dependencies.duration(10000 files) 0.042 0.042 0.059
Dependencies.format(10000 files) 0.044 0.042 0.064
Dependencies.removed(10000 files) 0.041 0.042 0.059
Dependencies.sampling_rate(10000 files) 0.043 0.043 0.061
Dependencies.type(10000 files) 0.043 0.042 0.060
Dependencies.version(10000 files) 0.044 0.041 0.066
Dependencies._add_attachment() 0.068 0.057 0.222
Dependencies._add_media(10000 files) 0.057 0.057 0.068
Dependencies._add_meta() 0.121 0.138 0.148
Dependencies._drop() 0.077 0.076 0.117
Dependencies._remove() 0.061 0.065 0.066
Dependencies._update_media() 0.087 0.087 0.149
Dependencies._update_media_version(10000 files) 0.011 0.011 0.026

@hagenw hagenw merged commit 38822b5 into main Feb 9, 2024
9 checks passed
@hagenw hagenw deleted the update-method-benchmakrs branch February 9, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant