AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.12.2013, 11:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Pawan's Ax blog: Form Performance - Checklist
Источник: http://pawansaxblog.blogspot.com/201...checklist.html
==============


qSet the caching of display methods correctly depending on their usage.
Infrequently used display methods should not be cached.


qSet OnlyFetchActive=Yes on datasources if no fields from the table are being used in X++
This optimizes the amount of data that is fetched from the database and moved from the database, to the AOS and finally to the client.


qSet AutoSearch=No on infrequently used datasources and only execute the query when the data is displayed


qEnable or disable controls in a single RPC call to the server.
This means that you get all relevant data needed, and then enable or disable controls on the form based on the data. Do not get a specific piece of data, disable a control, and then get another piece of data (database call), and disable a control, and repeat the process until you have worked through the display elements.


qWrap calls that cause a layout change or window redraws in element.lock() and element.unLock() to minimize extraneous drawing that result in flicker.
The element.lock() and element.unlock() methods are new in Dynamics AX 2012. When the form is 'locked', the form will not be redrawn (changes in the layout will not be addressed). Once a form is 'unlocked' any layout changes will be made. This has been implemented as a way of minimizing the times a form has to update the layout.


qMinimize the work that you do in a datasource's active() method.
Like accessing additional database, complex calculations in datasource's active() method.


qMake first FactBox on your form cheap to display.
The first FactBox is expanded initially by default,the data retrieved for the fact box is not a complex query, and that it will execute quickly.



qCorrectly set the LinkType property of datasources to minimize the number of queries sent to the server.


Источник: http://pawansaxblog.blogspot.com/201...checklist.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
dynamicsaxtraining: Vendor returns Blog bot DAX Blogs 0 11.10.2012 00:11
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:37.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.