![]() |
#1 |
Участник
|
axinthefield: Do not assume, Benchmark your X++ code
Источник: http://blogs.msdn.com/b/axinthefield...your-code.aspx
============== Some might argue Dynamics AX is an opened source ERP. With the developer license, you can see the whole stack of Microsoft code (SYS and SYP layers), and you can overwrite its core business logic to match your specific needs (VAR or CUS layers). That flexibility is maybe the number one strength of the product, but it can also leads into performance issues if the customized code doesn't match the Microsoft Best Practices. Premier Field Engineering has the great opportunity to see the product running live and the performance troubleshooting often means doing a code review of all layers. We often demonstrate the need to optimise the code with the 10/10/80% application rule:
The latest version of the tool has been released with Dynamics AX 2012 R2 and allows you to analyse AX 2012 ETL trace file but also AX 2009 TRC file.
The Premier Field Engineer team delivers Dynamics AX Code Review to help customers and partners assess the customization and remediate most important findings with code optimization. The Code Review also covers the Best Practice results, Performance improvement (SQL operations with Update_RecordSet and Insert_RecordSet, use of aggregate functions, Join instead of If statement, abusive display methods). Bottom line: if you have performance issue, leverage Trace Parser to find the root cause. And if you don’t have yet any performance issue, validate your new development with Trace Parser before any release. Note: you can import both AX 2009 TRC and AX 2012 ETL files into the same Trace Parser. Here are the work around:
Источник: http://blogs.msdn.com/b/axinthefield...your-code.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|