Skip to content

Conversation

ShaneHarvey
Copy link
Member

@ShaneHarvey ShaneHarvey commented Apr 10, 2024

Reduce max benchmark time to 60 seconds and increase min time to 30 seconds.

Also introduces a new FASTBENCH setting to the benchmarks more quickly:

$ FASTBENCH=1 python test/performance/perf_test.py -v TestDeepEncoding
runTest (__main__.TestDeepEncoding.runTest) ... Completed TestDeepEncoding 179.236 MB/s, MEDIAN=0.011s, total time=0.100s, iterations=9

VS without:

$ python test/performance/perf_test.py -v TestDeepEncoding
runTest (__main__.TestDeepEncoding.runTest) ... Completed TestDeepEncoding 181.506 MB/s, MEDIAN=0.108s, total time=30.103s, iterations=277

https://jira.mongodb.org/browse/PYTHON-4350

…n times

Reduce max benchmark time to 60 seconds and increase min time to 30 seconds.
@ShaneHarvey ShaneHarvey marked this pull request as ready for review April 10, 2024 01:06
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot requested a review from Jibola April 10, 2024 01:18
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ShaneHarvey ShaneHarvey merged commit 8be31bf into mongodb:master Apr 10, 2024
@ShaneHarvey ShaneHarvey deleted the PYTHON-4350 branch April 10, 2024 01:50
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.

2 participants