Skip to content

fix(clienttranslator): Fill the generated table before parenting it - #848

Open
oiisin wants to merge 1 commit into
Quenty:mainfrom
oiisin:users/oiisin/translator-detached-until-start
Open

oiisin wants to merge 1 commit into
Quenty:mainfrom
oiisin:users/oiisin/translator-detached-until-start

Conversation

@oiisin

@oiisin oiisin commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

TranslatorService now creates its LocalizationTable unparented and parents it on Start, after any flush already queued has landed, because each write to a table under LocalizationService costs about 7 ms on a Studio client against 0.006 ms unparented, and a service bag whose Init spans several frames flushes once per frame. Other services in the same realm still share the unparented table, the last one destroyed destroys it if it was never parented, and a table saved in the place is used where it is. The measurements are in docs/engine-behavior.md and the design in docs/design.md.

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Deploy Results

Package Status Try it
@quenty/integration ✅ Deployed (v274) (2.0s) Open | Play

1 package deployed, 1 passed, 0 failed in 3.1s · View logs

Test Results

Package Status Try it
@quenty/clienttranslator ✅ Passed (193/193) (3.5s) Open | Play
@quenty/chatproviderservice ✅ Passed (9/9) (2.7s) Open | Play
@quenty/gameconfig ✅ Passed (16/16) (3.0s) Open | Play
@quenty/access ✅ Passed (311/311) (5.4s) Open | Play
@quenty/gameproductservice ✅ Passed (92/92) (3.8s) Open | Play
@quenty/inputkeymaputils ✅ Passed (6/6) (2.5s) Open | Play
@quenty/scoredactionservice ✅ Passed (107/107) (4.0s) Open | Play
@quenty/settings-inputkeymap ✅ Passed (1/1) (2.8s) Open | Play
@quenty/metricutils ✅ Passed (270/270) (8.4s) Open | Play
@quenty/time ✅ Passed (191/191) (3.9s) Open | Play
@quenty/countdowntext ✅ Passed (8/8) (2.1s) Open | Play
@quenty/saveslot ✅ Passed (249/249) (7.9s) Open | Play

12 packages tested, 12 passed, 0 failed in 57.5s · View logs

@oiisin
oiisin force-pushed the users/oiisin/translator-detached-until-start branch from 643e635 to adb079c Compare November 20, 2026 23:26
@oiisin
oiisin deployed to integration November 20, 2026 23:26 — with GitHub Actions Active
Writes to a LocalizationTable under LocalizationService cost
milliseconds each, and a service bag whose Init spans several frames
flushes once per frame. TranslatorService now creates its table
unparented and parents it on Start, after any flush already queued has
landed. Other services in the realm still share it, the last holder
destroys a table that was never parented, and a table saved in the
place is used where it is.
@oiisin
oiisin force-pushed the users/oiisin/translator-detached-until-start branch from adb079c to 53f20e8 Compare December 2, 2026 03:20
@oiisin
oiisin deployed to integration December 2, 2026 03:20 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
integration — 53f20e8b Deployed Dec 2, 2026 by oiisin via integration-build #877
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants