Optimization of record label computation.
Record labels are identified based on module entity fieldnames. For easy reference or access, these entity name fields data is precomputed and store in vtiger_crmentity table under column 'label'.
Computation of the 'label' column is performed via post save hander using raw update query. This creates load on the table on high concurrency and also update query is executed on all saves even if data is not changed.
To overcome this issue, we should remove the dependency of handler and handle computation on label in CRMEnity, inserIntoEntityTable() api for better performance.