I,This article only analyzes the performance of various frameworks from the page test results. It does not mean that the framework with the best test results is the best framework. After all, many factors are involved and you are welcome to participate in the discussion.
II,All the examples in this test are taken from ASP. net Ajax (Atlas), anthem. net and Ajax. net professional implementation of a small comparison, which only replaces the version of anthem.net from 1.3.2 to 1.4.0. If you have any questions about the test results, you can go to the above mentionedArticleDownloadSource codeTest. In addition, due to the differences between the test software and the comparison methodDflying ChenThe test results in the client call server method-Asp. Net Ajax (Atlas), anthem. net, and Ajax. net Professional implementations are not comparable.
III,Test software:FiddlerTest Platform: WINXP + iis5 +. net2.0Browser:Ie7.0Official version Number of tests: three times. The test data obtained three times has not changed.
The data tested based on the example is as follows:
1. PageData comparison during the first loading: |
Data Type/framework name |
Asp.net Ajax |
Anthem. net |
Ajax Pro |
Bytes Sent |
547 |
546 |
544 |
Bytes encoded ed |
4,328 |
1,525 |
1630 |
2.PressGet server timeData comparison when pressing and executing the server method: |
Bytes Sent |
541 |
715 |
596 |
Bytes encoded ed |
260 |
365 |
278 |
3.Comparison of other aspects: |
Total page generation scripts |
320,211 |
22,484 |
23,962 |
PairASP. NETApplicability |
Good |
Good |
Normal |
* Byte sent:Data volume sent by the clientBytes encoded Ed:Data size received by the client The preceding values are as follows:Bytes.
Analysis result:
1.When the page is interceptedBytesBasically the same, but the amount of data receivedAsp.net AjaxTo4328 bytes, Which is several times larger than the other two frameworks.Anthem.netBest Performance, only1525 bytes.
2.When you press the pageGet server timeWhen you press and execute the server method,Anthem. netThe number of sent messages reaches715 bytes, Obviously more than the other two frameworks, and more data is received than the other frameworks.100 bytesWhich of the following is the best?Asp.net AjaxAre541 bytesAnd260 bytes.
3.In addition, I save the generated page as a file and view the scripts generated in the folder.Anthem.net is only 22484, AndAsp.net AjaxThe generated script is more than 10 times larger than the other two frameworks.
4.SlaveAsp.netIn terms of applicability,Asp.net AjaxIs MicrosoftAsp.netCustomized, easy to use, needless to say,Anthem.netForAsp.netA framework developed for basic usability andAsp.net AjaxIt is more convenient and even better in some aspects (The details will be compared from the next trial note), Ajax proPairASP. NETThe applicability is slightly inferior.
from the above, we can see that anthem. net implements some simple functions. For example, the overall performance of the server-side method execution in this example is the best, although the number of methods sent and received by the execution Server is a little greater than that of the other two frameworks, the other two frameworks are better than the other two. Of course, this conclusion is for the testing method used in this article. After all, it involves more aspects, such as application scope, technical support, stability, popularity, and other factors. Personally, Asp. net the most professional development framework on the platform is Asp. net Ajax . After all, it is supported by Microsoft, but anthem. net is also an upper choice except Asp.net Ajax , as an open-source project, it also has more scalability.