We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
decode_threads
1 parent 609bf07 commit e83742cCopy full SHA for e83742c
tests/options_test.py
@@ -87,8 +87,8 @@ def test_decode_threads():
87
start_time_two_threads = perf_counter()
88
open_heif(test_image, convert_hdr_to_8bit=False).load()
89
total_time_two_threads = perf_counter() - start_time_two_threads
90
- # decoding in two threads should be faster at least by 20%
91
- assert total_time_one_thread > total_time_two_threads * 1.2
+ # decoding in two threads should be faster at least by 15%
+ assert total_time_one_thread > total_time_two_threads * 1.15
92
finally:
93
options.DECODE_THREADS = 4
94
0 commit comments