Closed Bug 1940142 Opened 1 year ago Closed 1 year ago

Add a perftest for Full Page Translations

Categories

(Firefox :: Translations, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(3 files)

Description

Now that we have end-to-end testing capability in Firefox CI, we should add a perf test for Full Page Translations

Steps to implement

  • Add test infrastructure for perftests to Translations
  • Add a perf test that uses the es-en model available in Firefox CI

Adds an HTML test file for benchmarking translations
from Spanish into other languages.

Adds a CLI script that will calculate the word count
and SentencePiece token count of a Translations
benchmark HTML test file.

Attachment #9445936 - Attachment description: WIP: Bug 1940142 - WIP → WIP: Bug 1940142 - Add Translations Perf Test (es-en)
Attachment #9445968 - Attachment description: WIP: Bug 1940142 - Add Translations Spanish Benchmark Page → Bug 1940142 - Add Translations Spanish Benchmark Page r=#translations-reviewers!
Attachment #9445969 - Attachment description: WIP: Bug 1940142 - Add Translations perfdata script → Bug 1940142 - Add Translations perfdata script r=#translations-reviewers!
Attachment #9445936 - Attachment description: WIP: Bug 1940142 - Add Translations Perf Test (es-en) → Bug 1940142 - Add Translations Perf Test (es-en) r=#translations-reviewers!,#perftest-reviewers!
Blocks: 1941657
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac1da3d549ff Add Translations Spanish Benchmark Page r=translations-reviewers,gregtatum https://hg.mozilla.org/integration/autoland/rev/69b0ec9b6ef1 Add Translations perfdata script r=translations-reviewers,gregtatum https://hg.mozilla.org/integration/autoland/rev/1dfb1d845297 Add Translations Perf Test (es-en) r=perftest-reviewers,translations-reviewers,sparky,gregtatum
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Blocks: 1944065
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: