DDC-1889: generate persisters #2385

Closed
opened 2026-01-22 13:51:19 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Jun 21, 2012).

Jira issue originally created by user @FabioBatSilva:

I'm not sure if this is really possible..

but to improve performance we should consider generate custom entity persisters.

Now entity persister are not cached,
if we generate it, we can create performance improvement in hidrators, avoiding checks and sql generation every time that an persister is called.

Originally created by @doctrinebot on GitHub (Jun 21, 2012). Jira issue originally created by user @FabioBatSilva: I'm not sure if this is really possible.. but to improve performance we should consider generate custom entity persisters. Now entity persister are not cached, if we generate it, we can create performance improvement in hidrators, avoiding checks and sql generation every time that an persister is called.
admin added the New Feature label 2026-01-22 13:51:19 +01:00
admin closed this issue 2026-01-22 13:51:19 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 21, 2012):

Comment created by @beberlei:

This should be relatively easy in the first step by ust generate the RSM and SQL statements in the constructor and extending from the default persister.

@doctrinebot commented on GitHub (Jun 21, 2012): Comment created by @beberlei: This should be relatively easy in the first step by ust generate the RSM and SQL statements in the constructor and extending from the default persister.
Author
Owner

@beberlei commented on GitHub (Dec 5, 2020):

Not really critical anymore with PHP 7 perf improvements.

@beberlei commented on GitHub (Dec 5, 2020): Not really critical anymore with PHP 7 perf improvements.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2385