Skip to content

Commit

Permalink
fix test_translation_performance
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush-iitkgp committed Sep 11, 2024
1 parent 1eb8ef4 commit cdcf303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/benchmark/test_translation_performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cdcf303

Please sign in to comment.