performance testing. including model establishment, performance test case design, Tool introduction, script code writing, scene design, performance analysis and so on.
Front-end performance testing, as well as front-end performance test analysis tools HttpWatch, DynaTrace Ajax, FireBug, YSlow.
Functional test Tools QTP, WinRunner, Jmeter
Software = program + documentationProgram: A collection of instructions that implement a functio
range to minimize the number of user domain name resolution, reduce the amount of data downloaded by users, increase concurrency and so on. In fact, we just clean up the pipes to make the pipes bigger, or add more pipes, or just try to keep the water inside the pipe a little less, so that it can be smoother. Resource examplesPerformance analysisThere are tools that can be used to perform detailed analysis of JavaScript performance and even DOM parsing, such as
Markup Validation Service
Unit Test
qunit/Jasmine
Mocha/should/Chai
Automated testing
Webdriver
Front End Library/framework
jQuery/underscore/Mootools/prototype.js
YUI3/Dojo/ExtJS
Backbone/knockoutjs/emberjs
Front-end standards/specifications
HTTP1.1
Ecmascript3/5
W3c/dom/bom/xhtml/xml/json/jsonp
in the sencha Ext: Open Discussion Forum performance best practices thread
Tips for optimizing Internet Explorer 8 and higher
Information about dynatrace performance management technology for Internet Explorer and Firefox
Chrome speed tracer website and tutorial
Firebug profiler tutorial
Author:Don GriffinDon Griffin is a member of the ext JS core team. he was an ext JS user for 2 years before joining sencha and has over 20 years of
There are a large number of log articles discussing jQuery selectors and their performance impact. As you know, you can use ID, TagName, or ClassName to select elements. Depending on the selector, jQuery uses the local method of the browser, for example, using ID or label to select an element, alternatively, you must manually retrieve the elements from the DOM when using the class name selection (because the corresponding getElementsByClssName does not exist in IE ).
Analyze the two seconds in m
the following algorithm:
The overall time complexity of this algorithm is O (N3). If it is calculated separately, the complexity is O (N x O x P ). However, when analyzing this code, we may find some strange scenarios:
In the development environment, test data shows that the time complexity of the left branch (N-> M-> Heavy operation) is greater than that of the O and P on the right, so we only saw the left branch in our analyzer.
In the production environment, your maintenance team may f
Coding style
jslint / jshint
csslint
Markup Validation Service
Unit Test
qunit / Jasmine
mocha / should / Chai
automation test
webdriver
Front End Library/framework
jQuery/underscore/Mootools/prototype.js
YUI3/Doj
. The tool displays a beautiful chart to measure the loading time.
5. Which Loads Faster
This is an open-source tool that allows you to compare the speed of two websites online, such as Google vs Bing and Apple vs Adobe, to help you know which website is loading faster.
6. Show Slow
Show Slow is an open-source tool that helps you monitor various website performance metrics. Able to test the website status in YSlow, Page Speed, WebPageTest, and dynaTrace
bottlenecksThe key to making the system very efficient in application development is to monitor the performance of your system in the real world. You must be able to monitor program activity through specific devices and your Web infrastructure.Monitoring activity is the most positive-it tells you what's going on and leaves the problem to your discovery and eventual resolution.Monitoring can reveal several different issues. They include:
Server downtime.
The server is out of a probl
have occurred on the server.The server did not send the correct content.The application's overall performance monitoring tools, such as New Relic and Dynatrace, can help you monitor the time it takes to load a webpage from the remote, and nginx can help you monitor the application's delivery side. When you need to consider adding capacity to your infrastructure to meet your traffic needs, application performance data can tell you that your optimizati
}
Commonhelper.shownobtnalert (typname, links);
}
function Trainlinks (arr) {
var links = "This can have, for the time being!" ";
if (Arr.length > 0) {
Links = ' }
for (i = 0, j = arr.length I Links + = ' }
if (Arr.length > 0) {
Links + = ' }
return links;
}
Secondary storage The recommended article List JS (future by modifying this file to maintain the recommended article):
Copy Code code as follows:
var Links = {
HTML: [],
CSS: [[http://www.cnblogs.com/just
. 4. Which loads faster?
Just like its name, compare the speed of the test two pages, at a glance, quickly test and your opponent's data bar. 5. Webpagetest
Very good real-time browser rendering speed (Chrome,firefox and IE), you can choose from several locations around the world to carry out experiments. 6. Web Page Analyzer
Quite an old performance testing tool, first released in 2003, provides your Web page size, resources and load time data, and gives good advice. 7. Show Slow
It can be
.... Here is a code snippet:
JQuery script example in onLoad
The onLoad event processor is filled with such calls. By using the free dynaTrace AJAX Edition, you will see the $ call parsed as a selector, and with those method calls, the selector can get at least one object. The following uses PurePath to observe the onLoad event processor, which not only shows the time consumed by each selector call, it also includes the number of objects actually fou
representation, and the more connections.
Pre-judgment algorithm: This algorithm uses the observation algorithm to calculate the score, but the pre-judgment algorithm will analyze the change trend of the score to determine whether the performance of a server is improving or decreasing. Servers with improved trends will get more connections. The algorithm is suitable for most environments.
Performance Tuning Community Dynatrace shared custome
consider using different selectors to improve performance.
About jQuery Selector
There are a large number of log articles discussing jQuery selectors and their performance impact. As you know, you can use ID, TagName, or ClassName to select elements. Depending on the selector, jQuery uses the local method of the browser, for example, using ID or label to select an element, alternatively, you must manually retrieve the elements from the DOM when selecting a class name (because the corresponding
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.