Ticket #183 (closed refactoring: fixed)

Opened 16 months ago

Last modified 16 months ago

Optimize reflection on entities

Reported by: mikey Owned by: mikey
Priority: major Milestone: 0.12.0
Component: Database Persistence Version: SVN-trunk
Keywords: Cc:

Description

On each request to the persistence API reflection is done on the entity class. If you have a page which selects a single instance and wants to do an update on the instance, this will lead to two reflections on the entity class. This could be optimized in a way that only one reflection would be required. It could even be enhanced in a way that the reflection result is cached in production mode, as it is most likely that the entity class does not change between requests.

Change History

Changed 16 months ago by mikey

  • status changed from new to assigned

Changed 16 months ago by mikey

Realized with r1925. However, now caching inbetween requests was introduced. First we want to measure the improvements with the new behaviour.

Changed 16 months ago by mikey

  • status changed from assigned to closed
  • resolution set to fixed

Caching between request will not be introduced now.

Note: See TracTickets for help on using tickets.