Stefan4472 / simple-search-engine

GNU General Public License v3.0
0 stars 0 forks source link

Add simple benchmarks #4

Open Stefan4472 opened 3 years ago

Stefan4472 commented 2 years ago

https://pypi.org/project/pytest-benchmark/ looks pretty cool.

The simplest option would be to just use timeit. Later we can do more sophisticated analysis with cProfile (but that's more for performance analysis. I'm just interested in overall execution time for now).

Stefan4472 commented 2 years ago

pytest-benchmark: https://pytest-benchmark.readthedocs.io/en/stable/usage.html https://github.com/ionelmc/pytest-benchmark