From e81fbaefab18a5a9118f31eac6580824622b6ec6 Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Wed, 9 Aug 2023 19:18:58 +0200 Subject: [PATCH] TST: Add test_image_new_property benchmark (#2074) --- tests/bench.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/bench.py b/tests/bench.py index 2b5cc7f6a..0309a99b2 100644 --- a/tests/bench.py +++ b/tests/bench.py @@ -151,3 +151,9 @@ def test_read_string_from_stream_performance(benchmark): Runs < 100ms on a 2019 notebook. Takes 10 seconds prior to #1350. """ benchmark(read_string_from_stream_performance) + + +def test_image_new_property_performance(benchmark): + from .test_images import test_image_new_property + + benchmark(test_image_new_property)