the cluster scenario, this adds serialization and communication work that will result in additional performance and scalability issues.In some projects, the solution to these problems is to add a number of memory and switch to a 64-bit JVM. They cannot resist the temptation to add only a few G-sized stacks of memory. However, rather than providing a solution to the real problem, it is better to hide the phenomenon. This "solution" is only temporary, and a new question is introduced at the same
by other tools are supported by this tool.
This tool can track the entire process of JavaScript from execution to local XMLHttpRequest, sending network requests, and then returning requests.
What is dynaTrace Ajax?With the rise of jQuery, Dojo, YUI, and other frameworks, it is easier to build Web applications, but the problems with locating and other applications become increasingly difficult, especially those related to performance.
extensions. 3. httpwatch Tool Httpwatch is a Web data analysis tool that can be used in IE and Firefox. Of course, firebug is already a powerful tool on Firefox. on IE, httpwatch is a good choice. 4. Page SPEED TOOL The page speed tool is a front-end performance optimization tool based on firebug. It was created and released by Google. The page speed tool checks the page based on some rules, and provides corresponding suggestions for finding the problem that can be optimized. 5.
httpwatch Professional Edition is free of charge, and the free version has some functional limitations.
Dynatrace's Ajax edition:
Dynatrace is a free tool that I often use. It not only detects resource loading waterfall graphs, but also monitors page presentation time, CPU usage, JS analysis, and execution time, CSS parsing time.
Speed tracer:
Speed trace is a plug-in of Google Chrome. The advantage of speed
Tss Translation: common Java memory problems Part 1
Http://www.theserverside.com/news/thread.tss? Thread_id = 62217
Http://blog.dynatrace.com/2011/04/20/the-top-java-memory-problems-part-1/
Memory and garbage collector have always been one of the most noteworthy issues in Java applications. When we talk about the JVM memory collection mechanism in Java, I am afraid most people will be confused about the GC garbage collection mechanism. Michael Kopp of
instructions on the official website.
Java console:
...
Page speed:
Analyze the webpage loading status, and provide related suggestions and optimized files. You can also directly click to jump to the optimized documentation, which is useful.
Yslow:
Why is it slow? Yahoo tells you. According to the 35 best practices of the famous Yahoo 7 categoriesEvaluate and prompt your website.
Seoquake:
Seo. I have a little knowledge about Seo. I have probably read it. It feels good. I want to add it to my f
WebPerformance Testing ToolsMainly divided into three kinds: one is to test the load speed of the page resources; one is to test the page after loading finished page rendering, JS operation speed; One is the overall evaluation of the page analysis1.Firebug: Firebug is the most classic development tool in Firefox, which integrates HTML viewing and editing, JavaScript consoles, and network health monitors, and is the right helper for developing JavaScript, CSS, HTML, and Ajax. can monitor the requ
WebTool minor ProblemsErlang's observation tools such as Crashdump,appmon,cover have two different interfaces: GS (WX) and the Web. These tool follow a certain interface, the user can expand these functions, so that can be integrated into the toolbar or webtool system. It is convenient to use the WebTool online, because it is a web interface, easy to cross the firewall or something.WebTool uses the following interface:However, the default WebTool at s
Erlang tool andCodeLibrary Erlang has a set of common tool libraries: Appmon -Process Group graphical monitoring (on local and remote nodes ). ASN.1 -Supports the ASN.1 basic markup method and the code package at compile time and runtime of the BER, der, and per encoding rules. Compiler -Erlang compiler. Debugger -Graphical Erlang debugger. ERTs -The Erlang runtime system, including virtual machines, garbage collection, and port ing daemon processes.
notifies the top-level supervisor to close (shutdown). The shutdown process is as follows: all processes and applications of the entire monitoring tree are terminated in the reverse order of startup. after shutdown is completed, the application master calls module: Stop/1. the application master is terminated. the application is stopped, but it is still in the loaded state (loaded ).
%log4erl stopstop(_State) -> log_filter_codegen:reset(), ok.
Start
beam %%找到参数 --setcookieOpen a new shell, use the same cookie, different nodename$ erl --setcookie cookiename -name [emailprotected]Enter the system with the start remote shellErlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]Eshell V5.10.3 (abort with ^G)([emailprotected])1> net_adm:ping(‘[emailprotected]‘).pong([emailprotected])2> nodes().[‘[emailprotected]‘]([emailprotected])3> User switch command --> h c [nn] - connect to job
@ localhost)28> gettableinfo = fun (item)-> mnesia: table_info (Dictionary, item) end.
# Fun
(A @ localhost)29> getfragnodes = fun ()-> mnesia: Activity (sync_dirty, gettableinfo, [frag_dist], mnesia_frag) end. # Fun
Test:
(A @ localhost)30> getfragnodes ().
[{B @ localhost, 0}, {c @ localhost, 0}, {A @ localhost, 1}]
Now you can add a shard. Through the node list returned by getfragnodes, mnesia can add the new Shard to a relatively idle node by load balancing:
(A @ localhost)35
information, such as Appmon,webtool. However, the system memory is seriously insufficient, there is no way to start these tools, fortunately there are Erlang shell.
The Erlang shell takes a lot of useful commands and can use the Help () method to view
Copy Code code as follows:
> Help ().
Erlang system memory consumption
Top results show a memory problem, so the first step is to look at the system memory consumption in Erlan
compressor to compress JavaScript files (in fact, today Nodejs tools are more useful)
compressing JavaScript files on the server (GZIP encoded)
cache JavaScript files by correctly setting HTTP response headers to avoid caching problems by adding timestamps to filenames
Using CDN
Iv. Post-release performance testing and problem tracking
Use the Network analysis tool to find bottlenecks in loading scripts and other resources on the page.
Lazy loading of scripts can s
important JS loading hour, which is the product policy accounting methodTotal download Shicheneme promised to calculate the onload hour, such as promised to account for the synchronization load of all the time-loaded resources. If there is a lot of asynchronous foil on the page, you can end the asynchronous foil as the total download hourIv. Functional Monitoring ToolsBecause the method and policy of aggregating data are different, the front-end Function monitoring is divided into two types, no
fastest. But this situation is often impossible, let alone easy to achieve.If you can not reduce the complexity of the algorithm, you can also find the key points in the algorithm and improve the method, to play a role in improving performance. Suppose we have the following algorithm:The overall time complexity of the algorithm is O (N3), and the complexity is O (N x O x P) if calculated in individual access order. But anyway, when we analyze this code, we find some strange scenarios:
lay out the table once the entire first row has been received. Cells in subsequent rows do not affect column widths. Any cell that has content that overflows uses the ‘overflow’ property to determine whether to clip the overflow content.
Automatic layout, CSS 2.1 Specification
This algorithm may be inefficient since it requires the user agent to have access to all the content in the table before determining the final layout and may demand more than one pass.
Several tools and several articles
of JS, the entire page other places of the JS performance is also to be considered, such as the process of a single Ajax request, a front-end operation of the use of JS, and JS In addition to time performance will have CPU, memory consumption performance considerations, These dynatrace tools are available.In addition, during the whole process of downloading the external resources, we should try to avoid all kinds of request errors.Of course, in addit
As you know, jQuery selectors can be obtained in the following ways: 1. IDS such as $ (# ID); 2. tagnames such: $ (A); 3. Use ClassName For example: $ (. className); The above are several frequently used JQuery selectors. For jQuery usage optimization, let's take a look at jQuery selectors.
As you know, jQuery selectors can be obtained in the following ways:
1. You can use the ID such as $ ("# ID ");
2. Use TagName such as: $ ("");
3. Use ClassName For example: $ (". ClassName ");
The above are
Front-end performance monitoring system ShowSlow, monitoring system showslow
Author: zhanhailiang Date:1. Introduction
ShowSlow is an open-source front-end performance monitoring system that provides the following functions:
Frontend performance indicator data collection function: ShowSlow native provides data collection toolsDOM Monster!However, it also supports reporting performance data to the server through third-party tools such as YSlow and PageSpeed (the server provides the data collect
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.