From cdcf303cb755079e8140ed59b278241e4b7b8627 Mon Sep 17 00:00:00 2001 From: ayush-iitkgp Date: Wed, 11 Sep 2024 14:46:56 +0200 Subject: [PATCH] fix test_translation_performance --- tests/benchmark/test_translation_performance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/benchmark/test_translation_performance.py b/tests/benchmark/test_translation_performance.py index 4e71c79..78759d8 100644 --- a/tests/benchmark/test_translation_performance.py +++ b/tests/benchmark/test_translation_performance.py @@ -50,7 +50,7 @@ def test_translation_performance(num_sections: int, num_paragraphs: int) -> None sync_duration = end_time - start_time start_time = time.time() - _ = HTMLTranslationService.translate_html(large_html) + _ = HTMLTranslationService.parallel_thread_translate_tags(tag) end_time = time.time() parallel_duration = end_time - start_time