Frontmatter
| id | 8618 |
| title | Implement insertNodeBatch support for StringBasedRenderer |
| state | Closed |
| labels | aiperformancecore |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 8:53 PM |
| updatedAt | Jan 14, 2026, 12:24 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8618 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 14, 2026, 12:24 AM |
Implement insertNodeBatch support for StringBasedRenderer
tobiu added parent issue #8601 on Jan 13, 2026, 8:54 PM
tobiu assigned to @tobiu on Jan 13, 2026, 8:59 PM

tobiu
Jan 14, 2026, 12:23 AM
Input from Gemini 3 Pro:
✦ Enabled
insertNodeBatchsupport forStringBasedRendererinDeltaUpdates.
- Removed
NeoConfig.useDomApiRendererrestriction on batching.- Updated
insertNodeBatchto handleStringBasedRenderercreation viacreateNode.- Verified with new test case in
FragmentDeltaUpdates.spec.mjs.
tobiu closed this issue on Jan 14, 2026, 12:24 AM
Currently,
DeltaUpdates.updateonly enablesinsertNodeBatchoptimization ifNeoConfig.useDomApiRendereris true.StringBasedRendererusers miss out on this performance gain (sequential inserts causing multiple reflows).Goal: Update
DeltaUpdates.updatelogic to allow batching forStringBasedRenderer. ImplementinsertNodeBatchlogic forStringBasedRenderer(concatenating HTML strings or creating aDocumentFragmentfrom multiple HTML strings) to perform a single DOM insertion.