https://github.com/bdice/python_microbenchmarks
Microbenchmarks showing relative performance of different Python functions/patterns.
https://github.com/bdice/python_microbenchmarks
Last synced: over 1 year ago
JSON representation
Microbenchmarks showing relative performance of different Python functions/patterns.
- Host: GitHub
- URL: https://github.com/bdice/python_microbenchmarks
- Owner: bdice
- License: mit
- Created: 2021-05-20T18:37:48.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-04T22:10:40.000Z (over 1 year ago)
- Last Synced: 2025-03-17T03:51:14.046Z (over 1 year ago)
- Language: Python
- Size: 52.7 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python_microbenchmarks
Microbenchmarks showing relative performance of different Python functions/patterns.
These are designed to answer the question "Is code snippet X faster than code snippet Y?".
Several microbenchmarks have baked-in assumptions about data sizes and access patterns, so be careful not to overgeneralize the results.