[GH-ISSUE #4168] [Issue]: Roleplay composer retains a small typing latency #2258

Closed
opened 2026-10-21 05:46:45 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4168

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Typing in the Roleplay composer still feels slightly less responsive than typing in the Conversation composer.

Expected behavior

Roleplay input should respond with the same immediacy as Conversation input.

Actual behavior

Roleplay has a small but perceptible input delay that is not present in Conversation.

Steps to reproduce

  1. Open a populated Roleplay chat.
  2. Type continuously in the message composer.
  3. Compare the input response with the composer in Conversation mode.

Environment

  • Marinara Engine version: current staging
  • Install type: not provided
  • OS + version: not provided
  • Browser or app shell: not provided

Logs, screenshots, or video

Synthetic browser profiling on a populated transcript measured warmed key-to-input delay at approximately 0.42 ms average (0.7 ms p95) in Roleplay versus 0.17 ms average (0.3 ms p95) in Conversation.

Additional context

Roleplay used React's normalized change event path while Conversation used the direct native input event path.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4168 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Typing in the Roleplay composer still feels slightly less responsive than typing in the Conversation composer. ## Expected behavior Roleplay input should respond with the same immediacy as Conversation input. ## Actual behavior Roleplay has a small but perceptible input delay that is not present in Conversation. ## Steps to reproduce 1. Open a populated Roleplay chat. 2. Type continuously in the message composer. 3. Compare the input response with the composer in Conversation mode. ## Environment - Marinara Engine version: current `staging` - Install type: not provided - OS + version: not provided - Browser or app shell: not provided ## Logs, screenshots, or video Synthetic browser profiling on a populated transcript measured warmed key-to-input delay at approximately 0.42 ms average (0.7 ms p95) in Roleplay versus 0.17 ms average (0.3 ms p95) in Conversation. ## Additional context Roleplay used React's normalized `change` event path while Conversation used the direct native `input` event path. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:46:45 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 27, 2026):

Fixed by #4169 and merged into staging.

<!-- gh-comment-id:5090956898 --> @SpicyMarinara commented on GitHub (Jul 27, 2026): Fixed by #4169 and merged into `staging`.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 27, 2026):

The direct input-event fix improved the handler path, but testing still found a residual Roleplay-only hitch in populated scenes. Reopening for the paint-containment and inactive guided-action subscription follow-up.

<!-- gh-comment-id:5091235985 --> @SpicyMarinara commented on GitHub (Jul 27, 2026): The direct input-event fix improved the handler path, but testing still found a residual Roleplay-only hitch in populated scenes. Reopening for the paint-containment and inactive guided-action subscription follow-up.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2258
No description provided.