CN101917286A - Web performance analysis system and method for realizing cross-browser in internet application system - Google Patents

Web performance analysis system and method for realizing cross-browser in internet application system Download PDF

Info

Publication number
CN101917286A
CN101917286A CN2010102406647A CN201010240664A CN101917286A CN 101917286 A CN101917286 A CN 101917286A CN 2010102406647 A CN2010102406647 A CN 2010102406647A CN 201010240664 A CN201010240664 A CN 201010240664A CN 101917286 A CN101917286 A CN 101917286A
Authority
CN
China
Prior art keywords
browser
javascript
http
data
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102406647A
Other languages
Chinese (zh)
Other versions
CN101917286B (en
Inventor
曹宗伟
顾伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PRIMETON INFORMATION TECHNOLOGY CO., LTD.
Original Assignee
PRIMETON TECHNOLOGIES Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PRIMETON TECHNOLOGIES Ltd filed Critical PRIMETON TECHNOLOGIES Ltd
Priority to CN 201010240664 priority Critical patent/CN101917286B/en
Publication of CN101917286A publication Critical patent/CN101917286A/en
Application granted granted Critical
Publication of CN101917286B publication Critical patent/CN101917286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a Web performance analysis system for realizing a cross-browser in an internet application system. The system comprises a result showing layer, a data acquisition layer and an application and operation layer, wherein the result showing layer is connected with the application and operation layer through the data acquisition layer. The invention also relates to a Web performance analysis method for realizing the cross-browser in the internet application system on the basis of the system. By adopting the Web performance analysis system and method for realizing the cross-browser in the internet application system, the Javascript performance analysis of the cross-browser is realized, a uniform approach to the performance analysis is provided, and the efficiency of the performance analysis is improved. The invention has simple and vivid operation, rapidness, convenience, higher operation efficiency of the whole performance analysis environment, stable and reliable working performance and wider application scope. Moreover, the method also can report a performance result to users in a graphical mode and provide an optimized proposal, which lays a solid foundation for the performance tuning of internet application.

Description

Realize the Web performance analysis system and the method for browser-cross in the Internet application system
Technical field
The present invention relates to the Internet application system field, be particularly related to enterprise Web application system field and the Internet Web application and mobile Internet WAP and use and the Widget applied technical field, specifically be meant the Web performance analysis system and the method that realize browser-cross in a kind of Internet application system.
Background technology
Along with the development of modern social science technology, Internet technology has been deep into different social sectors.In enterprise uses, the computer software of large enterprise is the continuous progress of enterprise application system, C/S (client/server) pattern by the past changes present B/S (browser/server) pattern into, and traditional enterprise application system has become enterprise Web application system; In the internet, applications, the fast development of Internet technology is that the web of core technology uses main flow, particularly RIA technology and the Widget technology become Internet technology already and more brought revolutionary development with HTML, CSS, Javascript; In the mobile Internet, the arriving in 3G epoch makes WAP and Widget technology also enter develop rapidly period.
The development of Internet technology has driven the development of browser, and the browser on desktop computer and the mobile device emerges in an endless stream.Numerous browsers such as Internet Explorer, the Firefox on the desktop computer, Chrome, Safari, Opera have launched the browser Great War, and the Opear Mini on the mobile device, Windows Mobile IE, Gorilla, UCWEB also are the redactions that occurs frequently.HTML, CSS, Javascript technology are the bases of Internet technology, a kind of especially requisite script of Javascript language.Though each browser manufacturer is all in the operational efficiency that improves Javascript as possible, the consumer-user of Internet technology relatively, performance issue remains a significant problem of internet, applications.
At present only at 8.0 versions of the Firefox of desktop operating system browser and IE browser performance analysis tool is arranged, the API that their performance analysis tool all is based on browser to be provided develops.Yet other numerous browsers but do not have performance analysis tool.
Present Javascript debugging acid mainly can be debugged Javascript under IE and firefox, because IE and Firefox provide the debugging interface of javascript respectively.With Firefox is example, and Fig. 1 has illustrated the relation of the performance analysis tool Firebug on the Firefox, Page Speed and firefox.Firefox provides Javascript debugging interface: jsdIDebuggerService, can inject the hook of some debugging to it, and realize performance evaluation, the debugging interface that it provides mainly contains functionHook, scriptHook, topLevelHook etc.The user is registered to it among the jsdIDebuggerService as long as realize these interfaces, can do the ruuning situation performance evaluation of Javascript in Firefox.Firefox provides Http the interface nsIStreamListener of request equally, utilizes its onDataAvailable method can do the performance evaluation of Network Transmission.
Yet several drawbacks of this method for analyzing performance comprise: can not browser-cross, because the interface difference that browser provides, can not be general based on the performance analysis tool that browser develops, present performance analysis tool all is to use on IE, Firefox, and on browsers such as chrome, safari, opera and Opear Mini, Windows MobileIE, Gorilla, UCWEB on the mobile device all can not do performance evaluation; Need plug-in unit is installed, this type of performance analysis tool all need be installed plug-in unit on browser; The upgrading of browser version can cause performance analysis tool not use; Be difficult to accomplish combine analysis or the like with CPU, internal memory etc.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, provide a kind of internet system that does not rely on concrete browser and plug-in unit carry out Web performance evaluation, visual pattern, convenient to use, support multiple browser, stable and reliable working performance, the scope of application to realize the Web performance analysis system and the method for browser-cross comparatively widely in the Internet application system.
In order to realize above-mentioned purpose, realize in the Internet application system of the present invention that the Web performance analysis system and the method for browser-cross is as follows:
Realize the Web performance analysis system of browser-cross in this Internet application system, its main feature is that described system comprises:
Presentation layer operates on the graphical desktop operating system as a result, and carries out the displaying of results of performance analysis with the form of user interface;
Data collection layer is connected with described presentation layer as a result, is the conversion that the collection of data and performance evaluation, performance analysis data are carried out in the basis with the Http acting server;
Use firing floor, be connected with described data collection layer, comprising the application program and the Javascript ruuning situation collector that run in the browser.
Presentation layer as a result in this Internet application system in the Web performance analysis system of realization browser-cross comprises that the result shows Subscriber Interface Module SIM, Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module, described Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module all shows that with described result Subscriber Interface Module SIM is connected with JS memory analysis module.
Graphical desktop operating system in this Internet application system in the Web performance analysis system of realization browser-cross can be Windows operating system or (SuSE) Linux OS.
The displaying of carrying out results of performance analysis in this Internet application system in the Web performance analysis system of realization browser-cross is specially:
User interface form display performance analysis result with form, tree, time series chart.
Data collection layer in this Internet application system in the Web performance analysis system of realization browser-cross comprises the Http acting server, JS performance evaluation compiler engine module, JS performance evaluation server, Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module, described presentation layer as a result is respectively by Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module and described Http acting server, JS performance evaluation compiler engine module is connected with JS performance evaluation server, and described Http acting server, JS performance evaluation compiler engine module is connected with described application firing floor with JS performance evaluation server.
Javascript ruuning situation collector in this Internet application system in the Web performance analysis system of realization browser-cross comprises Javascript performance evaluation code module and Javascript performance data reporting module, and described Javascript performance evaluation code module all is connected with described data collection layer with Javascript performance data reporting module.
Browser in this Internet application system in the Web performance analysis system of realization browser-cross is Internet Explorer browser, Firefox browser, Chrome browser, Safari browser, Opera browser, Opear Mini browser, Windows Mobile IE browser, Gorilla browser or UCWEB browser.
The type of the data in this Internet application system in the Web performance analysis system of realization browser-cross comprises time data, Javascript function execution statistics, the cpu data of Javascript execution and the internal storage data of Javascript execution of Http request content packed data, picture compression data, Javascript code compaction data, Http request number optimization data, browser caching data, Javascript call-tree.
Should realize the Web performance analysis method of browser-cross in the Internet application system based on above-mentioned system, main feature is that described method may further comprise the steps:
(1) system operates according to the user, starts and initialization operation;
(2) system carries out the data collection operations of Javascript implementation status;
(3) system carries out CPU, internal storage data is collected operation;
(4) system carries out the data of Http content compression data, picture compression data, Http request number, the collection operation of browser caching data respectively;
(5) system shows corresponding results of performance analysis according to user's the request of checking.
Startup and initialization operation in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(11) system receives the URL that needs analytical performance or selects local html file according to user's input operation;
(12) browser of use need to be selected according to user's operation by system;
(13) system disposes the port of Http server according to user's operation;
(14) system is according to user's operation, the performance analysis tool in the start-up system;
(15) described performance analysis tool starts a Http server according to pre-configured monitoring port, and the record server address;
(16) described performance analysis tool generates client URL according to the URL of user's input and the port of Http server;
(17) described performance analysis tool open any browser, and allow browser open the client URL of generation;
(18) described performance analysis tool sends the event notice that startability is analyzed.
Javascript implementation status data collection operations in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(21) system operates according to the user, opens the monitoring switch of performance analysis tool, and allows browser forward the URL of appointment to according to the input parameter open any browser;
(22) described browser sends the Http request to the Http server;
(23) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(24) the Http acting server is set up the Http connection, transmits this browser and submits the data of coming to, obtains the content of this URL;
(25) contentType judges the type that this request is returned among the Http acting server header that connection is returned according to Http, carries out resource according to contenType and handles operation;
(26) the performed a certain function of the javascript in the browser is carried out javascript performance evaluation code before earlier, obtains the current time, generates the numbering of an execution;
(27) the performed a certain function of the javascript in the browser is carried out javascript performance evaluation code afterwards again, obtains the current time, obtains the numbering of father's function, in order to contents such as record allocating stacks;
(28) the javascript performance data reporting module in the browser is regularly submitted the Javascript performance analysis data by the mode of Ajax to Javascript performance evaluation server;
(29) Javascript performance evaluation server will submit to the data of coming up to transfer Javascript performance data model to;
(2a) Javascript performance evaluation server is initiated Javascript performance data model modification notice.
The form of the Javascript performance analysis data in this realization Internet application system in the Web performance analysis method of browser-cross is:
[performance data [function numbering, address, capable number, time started, concluding time, duration], call relation data].
Carrying out resource according to contenType and handle operation in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(251) if the type of request is text/html, then calls compiler engine and this html is compiled as the html code that has javascript performance evaluation code.And this code outputed to browser;
(252) if the type of request is text/javascript, then calls compiler engine and this javascript code is compiled as the javascript code that has javascript performance evaluation code.And this code outputed to browser;
(253) if the type of request is other types, then directly output to browser.
Javascript performance evaluation code in this realization Internet application system in the Web performance analysis method of browser-cross is at the performance evaluation code that front and back increased of each function, is used to write down zero-time that each function carries out, carries out information such as numbering, allocating stack.
CPU, internal storage data in this realization Internet application system in the Web performance analysis method of browser-cross are collected operation, may further comprise the steps:
(31) described performance analysis tool calls the code open any browser of C++ by JNI, the code open any browser of C++, and return the process ID of this browser;
(32) described performance analysis tool regularly calls CPU and the internal storage data that the C++ code obtains this process by JNI;
(33) described performance analysis tool is initiated Javascript performance data model modification notice.
The collection operation of the Http content compression data in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(41) browser sends the Http request to the Http acting server;
(42) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(43) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(44) described Http acting server writes down the time of this Http request, data volume;
(45) described Http acting server calls Gzip compression decision operation and judges that whether the return data of this Http request is through the Gzip compression;
(46) described Http acting server sends the data model update notification of Network Transmission content analysis.
The Gzip that calls in this realization Internet application system in the Web performance analysis method of browser-cross compresses decision operation, may further comprise the steps:
(451) if the return data of this Http request through the Gzip compression, then directly returns step (46);
(452) if the return data of this Http request not through the Gzip compression, then calls the content that the Gzip compression function compresses this Http request;
(453) described Http acting server calculates compression factor according to the resource size after compressing;
(454) described Http acting server upgrades the data model of Http compression.
The collection operation of the picture compression data in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(51) browser sends the Http request to the Http acting server;
(52) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(53) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(54) type returned according to the content type contentType judgment data in the Http head of described Http acting server;
(55), and compress this picture if content type contentType, then calls the compression applications routine interface API of Image for being image;
(56) described Http acting server calculates compression factor according to the resource size after compressing;
(57) described Http acting server upgrades the data model of picture compression;
(58) described Http acting server sends the data model update notification of Network Transmission content analysis.
The collection operation of the data of the Http request number in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(61) described browser sends the Http request to the Http acting server;
(62) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(63) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(64) type returned according to the content type contentType judgment data in the Http head of described Http acting server;
(65) described Http acting server is asked text/javascript and text/css classifying, updating in the data model of number to Http;
(66) described Http acting server provides Http merging suggestion according to the size of ICP/IP protocol;
(67) described Http acting server sends the data model update notification of Network Transmission content analysis.
The collection operation of the browser caching data in this realization Internet application system in the Web performance analysis method of browser-cross may further comprise the steps:
(71) browser sends the Http request to the Http acting server;
(72) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(73) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(74) described Http acting server obtains the browser rs cache setting according to the cache in the Http head, and calls the browser rs cache decision operation;
(75) described Http acting server sends the data model update notification of Network Transmission content analysis;
Call the browser rs cache decision operation in this realization Internet application system in the Web performance analysis method of browser-cross, may further comprise the steps:
(741) if the browser rs cache that is obtained after current date, then return;
(742) if the browser rs cache that is obtained is provided with, then upgrade the browser caching data model before current date or not.
Show results of performance analysis in this realization Internet application system in the Web performance analysis method of browser-cross, may further comprise the steps:
(81) system searches corresponding results and shows view according to user's operation;
(82) show that corresponding results shows view.
Result in this realization Internet application system in the Web performance analysis method of browser-cross shows that view comprises Http request content compression analysis view, picture compression data analysis view, the Javascript code compaction is analyzed view, Http request logarithmic data is analyzed view, browser caching data is analyzed view, the time series analysis view of Javascript call-tree, the Javascript function is carried out the statistical analysis view, the CPU that Javascript carries out analyzes the memory analysis view of view and Javascript execution.
The exhibition information that view is analyzed in the compression of Http request content in this realization Internet application system in the Web performance analysis method of browser-cross comprises the compression ratio of the content that content, content that Header, Http request that the Http request is returned is returned, content size that the Http request is returned, the size after the content compression that the Http request is returned and the Http request of Header, Http request of address, the Http request content of Http request content returned.
The exhibition information of the picture compression data analysis view in this realization Internet application system in the Web performance analysis method of browser-cross comprises picture size, the compression ratio of picture and the preview picture after the compression after the size, preview picture, compression of wide height, the picture of type, the picture of URL, the picture of picture.
The exhibition information of the Javascript code compaction analysis view in this realization Internet application system in the Web performance analysis method of browser-cross comprises size, the size after the Javascript compression and the compression ratio of Javascript of URL, the Javascript of Javascript.
The exhibition information that Http in this realization Internet application system in the Web performance analysis method of browser-cross request logarithmic data is analyzed view comprises the request number of Javascript file and asks the suggestion requests number of detailed URL, Javascript file and file merges the request number of tabulation, CSS file and asks the suggestion requests number of detailed URL, CSS file and file merges tabulation and the browser rs cache analysis result is showed.
The exhibition information that browser caching data in this realization Internet application system in the Web performance analysis method of browser-cross is analyzed view comprises the suggestion time of the Cache of Cache time of URL, Http request of Http request content and Http request.
The exhibition information of the time series analysis view of the Javascript call-tree in this realization Internet application system in the Web performance analysis method of browser-cross comprises the URL and the number of being expert at of the current function of Javascript at graphical, the current function of Javascript place of function name, Javascript allocating time, the shared percentage of Javascript allocating time, the shared percentage of Javascript allocating time of Javascript call-tree, the current function of Javascript.
The exhibition information of the Javascript function execution statistical analysis view in this realization Internet application system in the Web performance analysis method of browser-cross comprises the function name of Javascript function, Javascript function calls number of times, the shared time of Javascript function calls, the average time of Javascript function, the maximum execution time of Javascript function, the Javascript minimum of a function time of implementation, the percentage that the Javascript function calls is shared, the row at the URL at Javascript function place and Javascript function place number.
The exhibition information that the CPU that Javascript in this realization Internet application system in the Web performance analysis method of browser-cross carries out analyzes view comprises that browser filters out the Javascript function of carrying out in the current time at the CPU usage broken line graph of each time point with in selection during each time period.
The exhibition information of the memory analysis view that the Javascript in this realization Internet application system in the Web performance analysis method of browser-cross carries out comprises that browser filters out the Javascript function of carrying out in the current time at the memory size broken line graph of each time point with in selection during each time period.
The Web performance analysis system and the method that realize browser-cross in the Internet application system of this invention have been adopted, mainly contain two aspects owing to influence the problem of internet, applications performance: the execution speed of network transfer speeds and Javascript, performance evaluation of the present invention comprises contents such as the analysis of Network Transmission content and the analysis of code implementation status, and Network Transmission content analysis and the analysis of Javascript implementation status have been comprised, wherein, the Network Transmission content analysis comprises following content: the compression of Http request content is analyzed, picture compression is analyzed, the Javascript code compaction is analyzed, Http request number optimization analysis and browser rs cache analysis.The analysis of Javascript implementation status then comprises the time series analysis of Javascript call-tree, the Javascript function is carried out statistical analysis, the memory analysis that the CPU that Javascript carries out analyzes and Javascript carries out, each analytic function all comprises data acquisition, data analysis and analysis result are showed the content of several aspects, thereby realized the Javascript performance evaluation of browser-cross, the unified approach of performance evaluation is provided, improved the efficient of performance evaluation, image not only simple to operate, and it is efficient and convenient, the operational efficiency of whole performance evaluation environment is higher, stable and reliable working performance, the scope of application are comparatively extensive; Moreover, this method can also be in patterned mode to the user report results of property, provide to optimize suggestion, for the Performance tuning of internet, applications lays a solid foundation.
Description of drawings
Fig. 1 is the graph of a relation of Firebug of the present invention, Page Speed and firefox.
Fig. 2 is the configuration diagram that realizes the Web performance analysis system of browser-cross in the Internet application system of the present invention.
Fig. 3 is a data model schematic diagram of realizing the Network Transmission content analysis in the Web performance analysis method of browser-cross in the Internet application system of the present invention.
Fig. 4 is a data model schematic diagram of realizing in the Internet application system of the present invention that Javascript implementation status in the Web performance analysis method of browser-cross is analyzed.
Fig. 5 is a class model schematic diagram of realizing the Javascript performance evaluation compiler engine in the Web performance analysis method of browser-cross in the Internet application system of the present invention.
Fig. 6 is a model schematic diagram of realizing the Http acting server in the Web performance analysis method of browser-cross in the Internet application system of the present invention.
Embodiment
In order more to be expressly understood technology contents of the present invention, describe in detail especially exemplified by following examples.
See also illustrated in figures 1 and 2ly, realize the Web performance analysis system of browser-cross in this Internet application system, its main feature is that described system comprises:
(1) presentation layer as a result operates on the graphical desktop operating system, and carries out the displaying of results of performance analysis with the form of user interface; This as a result presentation layer comprise that the result shows Subscriber Interface Module SIM, Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module, described Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module all shows that with described result Subscriber Interface Module SIM is connected with JS memory analysis module; This graphical desktop operating system can be Windows operating system or (SuSE) Linux OS; The displaying that this carries out results of performance analysis is specially:
User interface form display performance analysis result with form, tree, time series chart;
(2) data collection layer is connected with described presentation layer as a result, is the conversion that the collection of data and performance evaluation, performance analysis data are carried out in the basis with the Http acting server; This data collection layer comprises the Http acting server, JS performance evaluation compiler engine module, JS performance evaluation server, Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module, described presentation layer as a result is respectively by Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module and described Http acting server, JS performance evaluation compiler engine module is connected with JS performance evaluation server, and described Http acting server, JS performance evaluation compiler engine module is connected with described application firing floor with JS performance evaluation server;
(3) use firing floor, be connected with described data collection layer, comprising the application program and the Javascript ruuning situation collector that run in the browser; This Javascript ruuning situation collector comprises Javascript performance evaluation code module and Javascript performance data reporting module, and described Javascript performance evaluation code module all is connected with described data collection layer with Javascript performance data reporting module; This browser is Internet Explorer browser, Firefox browser, Chrome browser, Safari browser, Opera browser, Opear Mini browser, Windows Mobile IE browser, Gorilla browser or UCWEB browser.
Simultaneously, the type of the data in the Web performance analysis system of realization browser-cross comprises that Http request content packed data, picture compression data, Javascript code compaction data, Http ask number to optimize the time data of data, browser caching data, Javascript call-tree, the Javascript function is carried out the cpu data of statistics, Javascript execution and the internal storage data of Javascript execution in this Internet application system.
See also Fig. 3 again to shown in Figure 6, should realize the Web performance analysis method of browser-cross in the Internet application system, may further comprise the steps among the master based on above-mentioned system:
(1) system operates according to the user, starts and initialization operation, may further comprise the steps:
(a) system receives the URL that needs analytical performance or selects local html file according to user's input operation;
(b) browser of use need to be selected according to user's operation by system;
(c) system disposes the port of Http server according to user's operation;
(d) system is according to user's operation, the performance analysis tool in the start-up system;
(e) described performance analysis tool starts a Http server according to pre-configured monitoring port, and the record server address;
(f) described performance analysis tool generates client URL according to the URL of user's input and the port of Http server;
(g) described performance analysis tool open any browser, and allow browser open the client URL of generation;
(h) described performance analysis tool sends the event notice that startability is analyzed;
(2) system carries out the data collection operations of Javascript implementation status, may further comprise the steps:
(a) system operates according to the user, opens the monitoring switch of performance analysis tool, and allows browser forward the URL of appointment to according to the input parameter open any browser;
(b) described browser sends the Http request to the Http server;
(c) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(d) the Http acting server is set up the Http connection, transmits this browser and submits the data of coming to, obtains the content of this URL;
(e) contentType judges the type that this request is returned among the Http acting server header that connection is returned according to Http, carries out resource according to contenType and handles operation, may further comprise the steps:
(i) if the type of request is text/html, then calls compiler engine and this html is compiled as the html code that has javascript performance evaluation code.And this code outputed to browser;
If (ii) Qing Qiu type is text/javascript, then calls compiler engine and this javascript code is compiled as the javascript code that has javascript performance evaluation code.And this code outputed to browser; This javascript performance evaluation code is at the performance evaluation code that front and back increased of each function, is used to write down zero-time that each function carries out, carries out information such as numbering, allocating stack;
If (iii) Qing Qiu type is other types, then directly output to browser;
(f) the performed a certain function of the javascript in the browser is carried out javascript performance evaluation code before earlier, obtains the current time, generates the numbering of an execution;
(g) the performed a certain function of the javascript in the browser is carried out javascript performance evaluation code afterwards again, obtains the current time, obtains the numbering of father's function, in order to contents such as record allocating stacks;
(h) the javascript performance data reporting module in the browser is regularly passed through the mode of Ajax to the Javascript performance
Analysis server is submitted the Javascript performance analysis data to; The form of this Javascript performance analysis data is: [performance data [function numbering, address, capable number, time started, concluding time, duration], call relation data];
(j) Javascript performance evaluation server will submit to the data of coming up to transfer Javascript performance data model to;
(k) Javascript performance evaluation server is initiated Javascript performance data model modification notice;
(3) system carries out CPU, internal storage data is collected operation, may further comprise the steps:
(a) described performance analysis tool calls the code open any browser of C++ by JNI, the code open any browser of C++, and return the process ID of this browser;
(b) described performance analysis tool regularly calls CPU and the internal storage data that the C++ code obtains this process by JNI;
(c) described performance analysis tool is initiated Javascript performance data model modification notice;
(4) system carries out the data of Http content compression data, picture compression data, Http request number, the collection operation of browser caching data respectively; The collection operation of these Http content compression data may further comprise the steps:
(a) browser sends the Http request to the Http acting server;
(b) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(c) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(d) described Http acting server writes down the time of this Http request, data volume;
(e) whether described Http acting server calls return data that Gzip compression decision operation judges this Http request through the Gzip compression, may further comprise the steps:
(i) if the return data of this Http request through the Gzip compression, then directly returns step (f);
If (ii) the return data of this Http request then calls the content that the Gzip compression function compresses this Http request not through the Gzip compression;
(iii) described Http acting server calculates compression factor according to the resource size after compressing;
(iv) described Http acting server upgrades the data model of Http compression;
(f) described Http acting server sends the data model update notification of Network Transmission content analysis;
The collection operation of these picture compression data may further comprise the steps:
(a) browser sends the Http request to the Http acting server;
(b) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(c) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(d) type returned according to the content type contentType judgment data in the Http head of described Http acting server;
(e), and compress this picture if content type contentType, then calls the compression applications routine interface API of Image for being image;
(f) described Http acting server calculates compression factor according to the resource size after compressing;
(g) described Http acting server upgrades the data model of picture compression;
(h) described Http acting server sends the data model update notification of Network Transmission content analysis;
The collection operation of the data of this Http request number may further comprise the steps:
(a) described browser sends the Http request to the Http acting server;
(b) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(c) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(d) type returned according to the content type contentType judgment data in the Http head of described Http acting server;
(e) described Http acting server is asked text/javascript and text/css classifying, updating in the data model of number to Http;
(f) described Http acting server provides Http merging suggestion according to the size of ICP/IP protocol;
(g) described Http acting server sends the data model update notification of Network Transmission content analysis;
The collection operation of this browser caching data may further comprise the steps:
(a) browser sends the Http request to the Http acting server;
(b) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(c) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(d) described Http acting server obtains the browser rs cache setting according to the cache in the Http head, and calls the browser rs cache decision operation, may further comprise the steps:
(i) if the browser rs cache that is obtained after current date, then return;
If (ii) the browser rs cache that is obtained is provided with, then upgrade the browser caching data model before current date or not;
(e) described Http acting server sends the data model update notification of Network Transmission content analysis;
(5) system shows corresponding results of performance analysis according to user's the request of checking, may further comprise the steps:
(a) system searches corresponding results and shows view according to user's operation;
(b) demonstration corresponding results demonstration view, this result shows that view comprises that Http request content compression analysis view, picture compression data analysis view, Javascript code compaction analysis view, Http ask logarithmic data analysis view, browser caching data to analyze the time series analysis view of view, Javascript call-tree, Javascript function execution statistical analysis view, the CPU analysis view of Javascript execution and the memory analysis view of Javascript execution; The exhibition information that view is analyzed in this Http request content compression comprises:
● the address of Http request content
● the Header of Http request content
● the content of Http request
● the Header that the Http request is returned
● the content that the Http request is returned
● the content size that the Http request is returned
● the size after the content compression that the Http request is returned
● the compression ratio of the content that the Http request is returned;
The exhibition information of this picture compression data analysis view comprises:
● the URL of picture
● the type of picture
● the wide height of picture
● the size of picture
● preview picture
● the picture size after the compression
● the compression ratio of picture
● the preview picture after the compression;
The exhibition information that this Javascript code compaction is analyzed view comprises:
● the URL of Javascript
● the size of Javascript
● the size after the Javascript compression
● the compression ratio of Javascript.
The exhibition information that this Http request logarithmic data is analyzed view comprises:
● the request number of Javascript file and ask detailed URL
● the suggestion requests number of Javascript file and file merge tabulation
● the request number of CSS file and ask detailed URL
● the suggestion requests number of CSS file and file merge tabulation
● the browser rs cache analysis result is showed.
The exhibition information that this browser caching data is analyzed view comprises:
● the URL of Http request content
● the Cache time of Http request
● the suggestion time of the Cache of Http request.
The exhibition information of the time series analysis view of this Javascript call-tree comprises:
● the Javascript call-tree
● the function name of the current function of Javascript
● the Javascript allocating time
● the shared percentage of Javascript allocating time
● the shared percentage of Javascript allocating time graphical
● the URL at the current function of Javascript place
● the number of being expert at of the current function of Javascript.
The exhibition information that this Javascript function is carried out the statistical analysis view comprises:
● the function name of Javascript function
● Javascript function calls number of times
● the shared time of Javascript function calls
● the average time of Javascript function
● the maximum execution time of Javascript function
● the Javascript minimum of a function time of implementation
● the percentage that the Javascript function calls is shared
● the URL at Javascript function place
● the row at Javascript function place number.
The exhibition information that the CPU that this Javascript carries out analyzes view comprises:
● browser is at the CPU usage broken line graph of each time point
● when selecting each time period, filter out the Javascript function of carrying out in the current time.
The exhibition information of the memory analysis view that this Javascript carries out comprises:
● browser is at the memory size broken line graph of each time point
● when selecting each time period, filter out the Javascript function of carrying out in the current time.
In the middle of reality is used, realize the Web method for analyzing performance of browser-cross in the Internet application system of the present invention, comprise Network Transmission content analysis and the analysis of Javascript implementation status, comprising following steps:
(1) user's startability analysis tool;
(2) user's startability Analysis server;
(3) performance analysis tool is collected Javascript implementation status data;
(4) performance analysis tool is collected CPU, internal storage data;
(5) performance analysis tool is collected Http content compression data, picture compression data, Http request msg, browser caching data;
(6) user checks results of performance analysis.
The operation of described startability analysis tool may further comprise the steps:
(1) user's input needs the URL of analytical performance or selects local html file;
(2) user need to select the browser of use, as IE, Firefox, Chrome etc.;
(3) user disposes the port of Http server;
(4) user clicks start button startability analysis tool;
(5) performance analysis tool starts a Http server according to pre-configured monitoring port, and the record server address;
(6) performance analysis tool generates client URL according to the URL of user's input and the port of Http server;
(7) performance analysis tool open any browser, and allow browser open the client URL of generation;
(8) performance analysis tool sends the event notice that startability is analyzed.
Described Javascript implementation status data collection operations may further comprise the steps:
(1) user opens the monitoring switch of performance analysis tool, and instrument is according to the input parameter open any browser and allow browser forward the URL of appointment to;
(2) browser sends the Http request to the Http server;
(3) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(4) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(5) the contentType attribute reads the type that this request is returned among the header that returns according to Http of Http acting server;
(6), then call the html code that compiler engine is compiled as this html band javascript performance evaluation code if the type of request is text/html.And this code outputed to browser.Javascript performance evaluation code is to increase the performance evaluation code in the front and back of each function, writes down zero-time that each function carries out, carries out information such as numbering, allocating stack;
(7), then call the javascript code that compiler engine is compiled as this javascript code band javascript performance evaluation code if the type of request is text/javascript.And this code outputed to browser.Javascript performance evaluation code is to increase the performance evaluation code in the front and back of each function, writes down zero-time that each function carries out, carries out information such as numbering, allocating stack;
(8) if the type of request is other types, then directly output to browser;
(9) before a certain function that the javascript in the browser carries out, can carry out javascript performance evaluation code earlier, obtain the current time, generate the numbering of an execution;
(10) after a certain function that the javascript in the browser carries out, can carry out javascript performance evaluation code, obtain the current time, obtain the numbering of father's function, in order to contents such as record allocating stacks;
(11) the javascript performance data reporting module in the browser can regularly be submitted the Javascript performance analysis data by the mode of Ajax to Javascript performance evaluation server.The data format of submitting to is as follows:
[performance data [function numbering, address, capable number, time started, concluding time, duration], call relation data]
(12) Javascript performance evaluation server will submit to the data of coming up to transfer Javascript performance data model to;
(13) Javascript performance evaluation server is initiated Javascript performance data model modification notice.
Described CPU, internal storage data are collected operation and be may further comprise the steps:
(1) performance analysis tool calls the code open any browser of C++ by JNI.The code open any browser of C++, and return the process ID of this browser;
(2) performance analysis tool regularly calls CPU and the internal storage data that the C++ code obtains this process by JNI;
(3) performance analysis tool is initiated Javascript performance data model modification notice.
Described Http content compression data collection operations may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) the Http acting server writes down the time of this request, data volume;
(5) the Http acting server obtains the coded message of the return data of this request;
(6) if the return data of this request through the Gzip compression, then directly returns;
(7) if the return data of this request not through the Gzip compression, then calls the content that the Gzip compression function compresses this request;
(8) the Http acting server calculates compression factor according to the resource size after compressing;
(9) the Http acting server upgrades the data model of Http compression;
(10) the Http acting server sends the data model update notification of Network Transmission content analysis.
Described picture compression data collection operations may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) type returned according to the contentType judgment data in the Http head of Http acting server;
(5) if the type of contentType is image, then call the compression API of Image, compress this picture;
(6) the Http acting server calculates compression factor according to the resource size after compressing;
(7) the Http acting server upgrades the data model of picture compression;
(8) the Http acting server sends the data model update notification of Network Transmission content analysis.
Described Http request msg is collected operation and be may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) type returned according to the contentType judgment data in the Http head of Http acting server;
(5) the Http acting server is asked text/javascript and text/css classifying, updating in the logarithmic data model to Http;
(6) the Http acting server provides Http merging suggestion according to the size of ICP/IP protocol;
(7) the Http acting server sends the data model update notification of Network Transmission content analysis.
Described browser caching data is collected operation and be may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) the Http acting server obtains the browser rs cache setting according to the cache in the Http head;
(5) if the browser rs cache that is obtained after current date, then return;
(6) if the browser rs cache that is obtained is provided with, then upgrade the browser caching data model before current date or not;
(7) the Http acting server sends the data model update notification of Network Transmission content analysis.
The execution mode of described Javascript performance evaluation compiler engine is as follows:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) contentType judges the type that this request is returned among the header that returns according to Http of Http acting server;
(5), then call compiling html operation if the contentType that the Http request is returned is text/html;
(6), then call compiling javascript operation if the contentType that the Http request is returned is text/javascript;
(7) the Http acting server outputs to browser to the content after compiling.
Describedly call compiling html operation and may further comprise the steps:
(1) the Http acting server calls the engine management class and receives compiler engine;
(2) the Http acting server calls the Compilation Method compiling html resource of compiler engine;
(3) compiler engine is resolved the html file content, if compiler engine runs into the script mark and this script mark is not provided with the src attribute, then notes the row number of script mark, compiles the Javascript in the middle of this script mark.
Describedly call compiling javascript operation and may further comprise the steps:
(1) the Http acting server calls the engine management class and receives compiler engine;
(2) the Http acting server calls the Compilation Method compiling Javascript resource of compiler engine.
The compile mode of described Javascript performance evaluation engine may further comprise the steps:
(1) Javascript performance evaluation compiler engine is resolved the javascript file;
(2) Javascript performance evaluation compiler engine is when being resolved to the javascript function, writes down the row number of current function, and generates the unique number of a function;
(3) Javascript performance evaluation compiler engine added the performance evaluation code before this javascript function, the time before record Javascript function is carried out;
(4) Javascript performance evaluation compiler engine adds the performance evaluation code after this javascript function, the time before record Javascript function is carried out, and call the profile analytical function;
(5) before the Javascript function is called, the mode by new Date () obtains the current time earlier, the numbering when obtaining to carry out by the $getProfileIndex function again;
(6) after the Javascript function was called, the mode by new Date () obtained the current time earlier, calls the performance data that the jsprofile function is preserved this function again;
(7) Javascript performance code regularly reports the javascript performance data to javascript performance evaluation server data by the Ajax mode.
The analysis mode of described Javascript performance evaluation server may further comprise the steps:
(1) Javascript performance evaluation server is accepted the Ajax request that Javascript performance evaluation code sends, and calls the relevant API of JSON the data of submitting to are transferred to the JSON form;
(2) Javascript performance evaluation server calculates the time of all javascript function calls;
(3) Javascript performance evaluation server calculates the execution total time of all javascript functions, goes out the shared time of each function according to this Time Calculation;
(4) Javascript performance evaluation server counts the execution number of times and the average time of implementation of each javascript function, maximum execution time and minimum time of implementation;
(5) Javascript performance evaluation server is converted to the data of JSON form the time data and the Javascript function execution statistics of Javascript call-tree again;
(6) Javascript performance evaluation server sends Javascript performance analysis data model modification notice;
(7) result shows that UI upgrades the time series analysis of Javascript call-tree, the Javascript function is carried out the CPU analysis of statistical analysis, Javascript execution and the view of the memory analysis that Javascript carries out.
Described CPU and memory analysis may further comprise the steps:
(1) definition native method in java class;
(2) order the C++ header file that generates SystemInformation.h by javah;
(3) use C++ to realize this header file, use this header file of include command reference;
(4) if windows operating system, then call the NtQuerySystemInformation method, obtain the internal memory operating position of a certain process, the CPU holding time of CPU holding time and all processes by process in the section sometime is than the CPU occupation rate that calculates this process;
(5) if unix or linux operating system then use the top order analysis to go out the CPU usage and the internal memory operating position of current process;
(6) Javascript performance evaluation server sends CPU occupation rate and internal memory operating position model modification notice;
(7) result shows that UI upgrades the CPU analysis of Javascript execution and the view of the memory analysis that Javascript carries out.Described Network Transmission content analysis may further comprise the steps:
(1) user's startability analysis tool, the performance analysis tool open any browser also allows browser forward the URL of appointment to;
(2) browser sends the Http request to the Http server;
(3) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(4) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(5) the Http acting server calls Http request content compression filter and analyzes Http request content compression situation;
(6) the Http acting server calls the picture compression filter and analyzes the picture compression situation;
(7) the Http acting server calls javascript code compaction filter analysis javascript code compaction situation;
(8) the Http acting server calls Http request number filter analysis Http request number situation;
(9) the Http acting server calls browser rs cache filter analysis browser rs cache situation;
(10) the Http acting server sends Network Transmission Content Data Model update notification;
(11) result shows that UI upgrades the view that Http request content compression analysis, picture compression analysis, the analysis of Javascript code compaction, Http request number optimization analysis and browser rs cache are analyzed.
In the implementation procedure of reality, described startability analysis tool operation may further comprise the steps:
(1) user's input needs the URL of analytical performance or selects local html file;
(2) user need to select the browser of use, as IE, Firefox, Chrome etc.;
(3) user disposes the port of Http server;
(4) user clicks start button startability analysis tool;
(5) performance analysis tool starts a Http server according to pre-configured monitoring port, and the record server address;
(6) performance analysis tool generates client URL according to the URL of user's input and the port of Http server;
(7) performance analysis tool open any browser, and the client URL that allows browser opening steps 6 generate;
(8) performance analysis tool sends the event notice that startability is analyzed.
Described Javascript implementation status data collection operations may further comprise the steps:
(1) user opens the monitoring switch of performance analysis tool, and instrument is according to the input parameter open any browser and allow browser forward the URL of appointment to;
(2) browser sends the Http request to the Http server;
(3) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(4) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(5) contentType judges the type that this request is returned among the header that returns according to Http of Http acting server;
If the type of i request is text/html, then call the html code that compiler engine is compiled as this html band iavascript performance evaluation code.And this code outputed to browser.Javascript performance evaluation code is to increase the performance evaluation code in the front and back of each function, writes down zero-time that each function carries out, carries out information such as numbering, allocating stack;
If the type of ii request is text/javascript, then call the javascript code that compiler engine is compiled as this javascript code band javascript performance evaluation code.And this code outputed to browser.Javascript performance evaluation code is to increase the performance evaluation code in the front and back of each function, writes down zero-time that each function carries out, carries out information such as numbering, allocating stack;
If the type of iii request is other types, then directly output to browser;
(6) before a certain function that the javascript in the browser carries out, can carry out javascript performance evaluation code earlier, obtain the current time, generate the numbering of an execution;
(7) after a certain function that the javascript in the browser carries out, can carry out javascript performance evaluation code, obtain the current time, obtain the numbering of father's function, in order to contents such as record allocating stacks;
(8) the javascript performance data reporting module in the browser can regularly be submitted the Javascript performance analysis data by the mode of Ajax to Javascript performance evaluation server.The data format of submitting to is:
[performance data [function numbering, address, capable number, time started, concluding time, duration], call relation data]
(9) Javascript performance evaluation server will submit to the data of coming up to transfer Javascript performance data model to;
(10) Javascript performance evaluation server is initiated Javascript performance data model modification notice.
Described CPU, internal storage data are collected operation and be may further comprise the steps:
(1) performance analysis tool calls the code open any browser of C++ by JNI.The code open any browser of C++, and return the process ID of this browser;
(2) performance analysis tool regularly calls CPU and the internal storage data that the C++ code obtains this process by JNI;
(3) performance analysis tool is initiated Javascript performance data model modification notice.
Described Http content compression data collection operations may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) the Http acting server writes down the time of this request, data volume;
(5) the Http acting server judges that whether the return data of this request is through the Gzip compression;
If the return data of this request of i then directly returns through the Gzip compression;
If the return data of this request of ii through the Gzip compression, does not then call the content that the Gzip compression function compresses this request;
Iii, Http acting server calculate compression factor according to the resource size after compressing;
Iv, Http acting server upgrade the data model of Http compression;
(6) the Http acting server sends the data model update notification of Network Transmission content analysis.
Described picture compression data collection operations may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) type returned according to the contentType judgment data in the Http head of Http acting server;
(5) if the type of contentType is image, then call the compression API of Image, compress this picture;
(6) the Http acting server calculates compression factor according to the resource size after compressing;
(7) the Http acting server upgrades the data model of picture compression;
(8) the Http acting server sends the data model update notification of Network Transmission content analysis.
Described Http request msg is collected operation and be may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) type returned according to the contentType judgment data in the Http head of Http acting server;
(5) the Http acting server is asked text/javascript and text/css classifying, updating in the logarithmic data model to Http;
(6) the Http acting server provides Http merging suggestion according to the size of ICP/IP protocol;
(7) the Http acting server sends the data model update notification of Network Transmission content analysis.
Described browser caching data is collected operation and be may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) the Http acting server obtains the browser rs cache setting according to the cache in the Http head;
If the browser rs cache that i obtained after current date, is then returned;
If the browser rs cache that ii obtained is provided with, then upgrade the browser caching data model before current date or not;
Iii, Http acting server send the data model update notification of Network Transmission content analysis.
The embodiment of described Javascript performance evaluation compiler engine may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) contentType judges the type that this request is returned among the header that returns according to Http of Http acting server;
(5) if the contentType that the Http request is returned is text/html, carry out following steps:
I, Http acting server call the engine management class and receive compiler engine;
Ii, Http acting server call the Compilation Method compiling html resource of compiler engine;
Iii, compiler engine are resolved the html file content, if compiler engine runs into the script mark and this script mark does not have
The src attribute is set, then notes the row number of script mark, compile the Javascript in the middle of this script mark;
(6) if the contentType that the Http request is returned is text/javascript, carry out following steps:
I, Http acting server call the engine management class and receive compiler engine;
Ii, Http acting server call the Compilation Method compiling Javascript resource of compiler engine;
(7) the Http acting server outputs to browser to the content after compiling;
The Fundamentals of Compiling of Javascript performance evaluation compiler engine recited above may further comprise the steps:
(1) Javascript performance evaluation compiler engine is resolved the javascript file;
(2) Javascript performance evaluation compiler engine is when being resolved to the javascript function, writes down the row number of current function, and generates the unique number of a function;
(3) Javascript performance evaluation compiler engine added the performance evaluation code before this javascript function, the time before record Javascript function is carried out;
(4) Javascript performance evaluation compiler engine adds the performance evaluation code after this javascript function, the time before record Javascript function is carried out, and call the profile analytical function.As follows before the Javascript performance evaluation compiler engine compiling javascript function with example code afterwards:
Before the compiling
function?a(c){
alert(c);
c1();
}
After the compiling
function?a(c){
var_start=new?Date();
var_func=′a′;
var_index=′1′;
var_url=′test.html′;
arguments[″_index″]=$getProfileIndex();
var_line=′14′;
var_result=function(){
alert(c);
c1();
}.apply(this,arguments);
var_end=new?Date();
$jsprofile(_start,_end,_func,_index,_url,_line,arguments);
return_result;
}
(5) before the Javascript function is called, the mode by new Date () obtains the current time earlier, the numbering when obtaining to carry out by the $getProfileIndex function again;
(6) after the Javascript function was called, the mode by new Date () obtained the current time earlier, calls the performance data that the jsprofile function is preserved this function again;
(7) Javascript performance code regularly reports the javascript performance data to javascript performance evaluation server data by the Ajax mode.The data format example that reports is as follows:
[{
funcName:′a′,
start:1257484481449,
end:1257484481460,
index:′1′,
url:′test.html′,
line:′14′,
funcId:2,
isRoot:false,
childIds:[3,4]
}]
The embodiment of described Http acting server is as follows:
The Http acting server be realize in the Internet application system browser-cross the Web method for analyzing performance the basis it started a Socket Server, by resolving the Http request, forward different data-analyzing machines to according to different Http requests.
The model of Http acting server sees also shown in Figure 6.
The embodiment of described Javascript performance evaluation server may further comprise the steps:
(1) Javascript performance evaluation server is accepted the Ajax request that Javascript performance evaluation code sends, and calls the relevant API of JSON the data of submitting to are transferred to the JSON form;
(2) Javascript performance evaluation server calculates the time of all javascript function calls;
(3) Javascript performance evaluation server calculates the execution total time of all javascript functions, goes out the shared time of each function according to this Time Calculation;
(4) Javascript performance evaluation server counts the execution number of times and the average time of implementation of each javascript function, maximum execution time and minimum time of implementation;
(5) Javascript performance evaluation server is converted to the data of JSON form the time data and the Javascript function execution statistics of Javascript call-tree again;
(6) Javascript performance evaluation server sends Javascript performance analysis data model modification notice;
(7) result shows that UI upgrades the time series analysis of Javascript call-tree, the Javascript function is carried out the CPU analysis of statistical analysis, Javascript execution and the view of the memory analysis that Javascript carries out.
The embodiment of described CPU and memory analysis may further comprise the steps:
(1) definition native method in java class, method is defined as follows:
public?class?SystemInformation?{
public?static?native?int?getCpuProcessUsage(int?pid);
public?static?native?int?getMemProcessUsage(int?pid);
}
(2) by the C++ header file of javah order generation SystemInformation.h, document definition is as follows:
#include<jni.h>
#ifndef_Included_SystemInformation
#define_Included_SystemInformation
#ifdef_cplusplus
extern″C″{
#endif
JNIEXPORT?jint?JNICALL?Java?SystemInformation_getCpuProcessUsage
(JNIEnv*,jclass,jint);
JNIEXPORT?jint?JNICALL?Java_SystemIntormation_getMemProcessUsage
(JNIEnv*,jclass,jint);
#ifdef_cplusplus
}
#endif
#endif
(3) use C++ to realize this header file, use this header file of include command reference;
(4) if windows operating system, then call the NtQuerySystemInformation method, obtain the internal memory operating position of a certain process, the CPU holding time of CPU holding time and all processes by process in the section sometime is than the CPU occupation rate that calculates this process;
(5) if unix or linux operating system then use the top order analysis to go out the CPU usage and the internal memory operating position of current process;
(6) Javascript performance evaluation server sends CPU occupation rate and internal memory operating position model modification notice;
(7) result shows that UI upgrades the CPU analysis of Javascript execution and the view of the memory analysis that Javascript carries out.The embodiment of described Network Transmission content analysis may further comprise the steps:
(1) browser sends the Http request to the Http server;
(2) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(3) the Http acting server is set up the Http connection, transmits browser and submits the data of coming to, obtains the content of this URL;
(4) the Http acting server calls Http request content compression filter and analyzes Http request content compression situation;
(5) the Http acting server calls the picture compression filter and analyzes the picture compression situation;
(6) the Http acting server calls javascript code compaction filter analysis javascript code compaction situation;
(7) the Http acting server calls Http request number filter analysis Http request number situation;
(8) the Http acting server calls browser rs cache filter analysis browser rs cache situation;
(9) the Http acting server sends Network Transmission Content Data Model update notification;
(10) result shows that UI upgrades the view that Http request content compression analysis, picture compression analysis, the analysis of Javascript code compaction, Http request number optimization analysis and browser rs cache are analyzed.
The Web performance analysis system and the method that realize browser-cross in the above-mentioned Internet application system have been adopted, mainly contain two aspects owing to influence the problem of internet, applications performance: the execution speed of network transfer speeds and Javascript, performance evaluation of the present invention comprises contents such as the analysis of Network Transmission content and the analysis of code implementation status, and Network Transmission content analysis and the analysis of Javascript implementation status have been comprised, wherein, the Network Transmission content analysis comprises following content: the compression of Http request content is analyzed, picture compression is analyzed, the Javascript code compaction is analyzed, Http request number optimization analysis and browser rs cache analysis.The analysis of Javascript implementation status then comprises the time series analysis of Javascript call-tree, the Javascript function is carried out statistical analysis, the memory analysis that the CPU that Javascript carries out analyzes and Javascript carries out, each analytic function all comprises data acquisition, data analysis and analysis result are showed the content of several aspects, thereby realized the Javascript performance evaluation of browser-cross, the unified approach of performance evaluation is provided, improved the efficient of performance evaluation, image not only simple to operate, and it is efficient and convenient, the operational efficiency of whole performance evaluation environment is higher, stable and reliable working performance, the scope of application are comparatively extensive; Moreover, this method can also be in patterned mode to the user report results of property, provide to optimize suggestion, for the Performance tuning of internet, applications lays a solid foundation.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (32)

1. realize the Web performance analysis system of browser-cross in the Internet application system, it is characterized in that described system comprises:
Presentation layer operates on the graphical desktop operating system as a result, and carries out the displaying of results of performance analysis with the form of user interface;
Data collection layer is connected with described presentation layer as a result, is the conversion that the collection of data and performance evaluation, performance analysis data are carried out in the basis with the Http acting server;
Use firing floor, be connected with described data collection layer, comprising the application program and the Javascript ruuning situation collector that run in the browser.
2. realize the Web performance analysis system of browser-cross in the Internet application system according to claim 1, it is characterized in that, described presentation layer as a result comprises that the result shows Subscriber Interface Module SIM, Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module, described Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module all shows that with described result Subscriber Interface Module SIM is connected with JS memory analysis module.
3. realize the Web performance analysis system of browser-cross in the Internet application system according to claim 1, it is characterized in that described graphical desktop operating system is Windows operating system or (SuSE) Linux OS.
4. realize the Web performance analysis system of browser-cross in the Internet application system according to claim 1, it is characterized in that the described displaying of carrying out results of performance analysis is specially:
User interface form display performance analysis result with form, tree, time series chart.
5. according to the Web performance analysis system of realizing browser-cross in each described Internet application system in the claim 1 to 4, it is characterized in that, described data collection layer comprises the Http acting server, JS performance evaluation compiler engine module, JS performance evaluation server, Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module, described presentation layer as a result is respectively by Http content compression module, the picture compression analysis module, JS code compaction module, Http asks counting module, the browser rs cache module, JS call-tree time statistical module, JS function statistical module, JS CPU analysis module and JS memory analysis module and described Http acting server, JS performance evaluation compiler engine module is connected with JS performance evaluation server, and described Http acting server, JS performance evaluation compiler engine module is connected with described application firing floor with JS performance evaluation server.
6. according to the Web performance analysis system of realizing browser-cross in each described Internet application system in the claim 1 to 4, it is characterized in that, described Javascript ruuning situation collector comprises Javascript performance evaluation code module and Javascript performance data reporting module, and described Javascript performance evaluation code module all is connected with described data collection layer with Javascript performance data reporting module.
7. according to the Web performance analysis system of realizing browser-cross in each described Internet application system in the claim 1 to 4, it is characterized in that described browser is Internet Explorer browser, Firefox browser, Chrome browser, Safari browser, Opera browser, Opear Mini browser, Windows Mobile IE browser, Gorilla browser or UCWEB browser.
8. according to the Web performance analysis system of realizing browser-cross in each described Internet application system in the claim 1 to 4, it is characterized in that the type of described data comprises time data, Javascript function execution statistics, the cpu data of Javascript execution and the internal storage data that Javascript carries out of Http request content packed data, picture compression data, Javascript code compaction data, Http request number optimization data, browser caching data, Javascript call-tree.
9. Web performance analysis method that realizes browser-cross in the Internet application system based on the described system of claim 1 is characterized in that described method may further comprise the steps:
(1) system operates according to the user, starts and initialization operation;
(2) system carries out the data collection operations of Javascript implementation status;
(3) system carries out CPU, internal storage data is collected operation;
(4) system carries out the data of Http content compression data, picture compression data, Http request number, the collection operation of browser caching data respectively;
(5) system shows corresponding results of performance analysis according to user's the request of checking.
10. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 9, and described startup and initialization operation may further comprise the steps:
(11) system receives the URL that needs analytical performance or selects local html file according to user's input operation;
(12) browser of use need to be selected according to user's operation by system;
(13) system disposes the port of Http server according to user's operation;
(14) system is according to user's operation, the performance analysis tool in the start-up system;
(15) described performance analysis tool starts a Http server according to pre-configured monitoring port, and the record server address;
(16) described performance analysis tool generates client URL according to the URL of user's input and the port of Http server;
(17) described performance analysis tool open any browser, and allow browser open the client URL of generation;
(18) described performance analysis tool sends the event notice that startability is analyzed.
11. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, described Javascript implementation status data collection operations may further comprise the steps:
(21) system operates according to the user, opens the monitoring switch of performance analysis tool, and allows browser forward the URL of appointment to according to the input parameter open any browser;
(22) described browser sends the Http request to the Http server;
(23) the Http acting server calculates real URL according to the contents such as address, user configured URL and port numbers of this Http request;
(24) the Http acting server is set up the Http connection, transmits this browser and submits the data of coming to, obtains the content of this URL;
(25) contentType judges the type that this request is returned among the Http acting server header that connection is returned according to Http, carries out resource according to contenType and handles operation;
(26) the performed a certain function of the javascript in the browser is carried out javascript performance evaluation code before earlier, obtains the current time, generates the numbering of an execution;
(27) the performed a certain function of the javascript in the browser is carried out javascript performance evaluation code afterwards again, obtains the current time, obtains the numbering of father's function, in order to contents such as record allocating stacks;
(28) the javascript performance data reporting module in the browser is regularly submitted the Javascript performance analysis data by the mode of Ajax to Javascript performance evaluation server;
(29) Javascript performance evaluation server will submit to the data of coming up to transfer Javascript performance data model to;
(2a) Javascript performance evaluation server is initiated Javascript performance data model modification notice.
12. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 11, the form of described Javascript performance analysis data is:
[performance data [function numbering, address, capable number, time started, concluding time, duration], call relation data].
13. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 11, describedly carries out resource according to contenType and handles operation, may further comprise the steps:
(251) if the type of request is text/html, then calls compiler engine and this html is compiled as the html code that has javascript performance evaluation code.And this code outputed to browser;
(252) if the type of request is text/javascript, then calls compiler engine and this javascript code is compiled as the javascript code that has javascript performance evaluation code.And this code outputed to browser;
(253) if the type of request is other types, then directly output to browser.
14. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 13, it is characterized in that, described javascript performance evaluation code is at the performance evaluation code that front and back increased of each function, is used to write down zero-time that each function carries out, carries out information such as numbering, allocating stack.
15. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, described CPU, internal storage data are collected operation, may further comprise the steps:
(31) described performance analysis tool calls the code open any browser of C++ by JNI, the code open any browser of C++, and return the process ID of this browser;
(32) described performance analysis tool regularly calls CPU and the internal storage data that the C++ code obtains this process by JNI;
(33) described performance analysis tool is initiated Javascript performance data model modification notice.
16. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, the collection operation of described Http content compression data may further comprise the steps:
(41) browser sends the Http request to the Http acting server;
(42) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(43) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(44) described Http acting server writes down the time of this Http request, data volume;
(45) described Http acting server calls Gzip compression decision operation and judges that whether the return data of this Http request is through the Gzip compression;
(46) described Http acting server sends the data model update notification of Network Transmission content analysis.
17. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 16, the described Gzip compression decision operation of calling may further comprise the steps:
(451) if the return data of this Http request through the Gzip compression, then directly returns step (46);
(452) if the return data of this Http request not through the Gzip compression, then calls the content that the Gzip compression function compresses this Http request;
(453) described Http acting server calculates compression factor according to the resource size after compressing;
(454) described Http acting server upgrades the data model of Http compression.
18. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, the collection operation of described picture compression data may further comprise the steps:
(51) browser sends the Http request to the Http acting server;
(52) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(53) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(54) type returned according to the content type contentType judgment data in the Http head of described Http acting server;
(55), and compress this picture if content type contentType, then calls the compression applications routine interface API of Image for being image;
(56) described Http acting server calculates compression factor according to the resource size after compressing;
(57) described Http acting server upgrades the data model of picture compression;
(58) described Http acting server sends the data model update notification of Network Transmission content analysis.
19. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, the collection operation of the data of described Http request number may further comprise the steps:
(61) described browser sends the Http request to the Http acting server;
(62) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(63) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(64) type returned according to the content type contentType judgment data in the Http head of described Http acting server;
(65) described Http acting server is asked text/javascript and text/css classifying, updating in the data model of number to Http;
(66) described Http acting server provides Http merging suggestion according to the size of ICP/IP protocol;
(67) described Http acting server sends the data model update notification of Network Transmission content analysis.
20. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, the collection operation of described browser caching data may further comprise the steps:
(71) browser sends the Http request to the Http acting server;
(72) described Http acting server calculates real URL according to the information of address, user configured URL and the port numbers of this Http request;
(73) described Http acting server is set up the Http connection, and transmits browser and submit the data of coming to, obtains the content of this URL;
(74) described Http acting server obtains the browser rs cache setting according to the cache in the Http head, and calls the browser rs cache decision operation;
(75) described Http acting server sends the data model update notification of Network Transmission content analysis;
21. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 20, the described browser rs cache decision operation of calling may further comprise the steps:
(741) if the browser rs cache that is obtained after current date, then return;
(742) if the browser rs cache that is obtained is provided with, then upgrade the browser caching data model before current date or not.
22. the Web performance analysis method of browser-cross is characterized in that in the realization Internet application system according to claim 10, the described results of performance analysis that shows may further comprise the steps:
(81) system searches corresponding results and shows view according to user's operation;
(82) show that corresponding results shows view.
23. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 22, it is characterized in that described result shows that view comprises Http request content compression analysis view, picture compression data analysis view, the Javascript code compaction is analyzed view, Http request logarithmic data is analyzed view, browser caching data is analyzed view, the time series analysis view of Javascript call-tree, the Javascript function is carried out the statistical analysis view, the CPU that Javascript carries out analyzes the memory analysis view of view and Javascript execution.
24. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information that view is analyzed in the compression of described Http request content comprises the compression ratio of the content that content, content that Header, Http request that the Http request is returned is returned, content size that the Http request is returned, the size after the content compression that the Http request is returned and the Http request of Header, Http request of address, the Http request content of Http request content returned.
25. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information of described picture compression data analysis view comprises picture size, the compression ratio of picture and the preview picture after the compression after the size, preview picture, compression of wide height, the picture of type, the picture of the URL of picture, picture.
26. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information that described Javascript code compaction is analyzed view comprises size, the size after the Javascript compression and the compression ratio of Javascript of URL, the Javascript of Javascript.
27. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information that described Http request logarithmic data is analyzed view comprises the request number of Javascript file and asks the suggestion requests number of detailed URL, Javascript file and file merges the request number of tabulation, CSS file and asks the suggestion requests number of detailed URL, CSS file and file merges tabulation and the browser rs cache analysis result is showed.
28. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information that described browser caching data is analyzed view comprises the suggestion time of the Cache of Cache time of URL, Http request of Http request content and Http request.
29. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information of the time series analysis view of described Javascript call-tree comprises the URL and the number of being expert at of the current function of Javascript at graphical, the current function of Javascript place of function name, Javascript allocating time, the shared percentage of Javascript allocating time, the shared percentage of Javascript allocating time of Javascript call-tree, the current function of Javascript.
30. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information of described Javascript function execution statistical analysis view comprises the function name of Javascript function, Javascript function calls number of times, the shared time of Javascript function calls, the average time of Javascript function, the maximum execution time of Javascript function, the Javascript minimum of a function time of implementation, the percentage that the Javascript function calls is shared, the row at the URL at Javascript function place and Javascript function place number.
31. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information that the CPU that described Javascript carries out analyzes view comprises that browser filters out the Javascript function of carrying out in the current time at the CPU usage broken line graph of each time point with in selection during each time period.
32. the Web performance analysis method of browser-cross in the realization Internet application system according to claim 23, it is characterized in that the exhibition information of the memory analysis view that described Javascript carries out comprises that browser filters out the Javascript function of carrying out in the current time at the memory size broken line graph of each time point with in selection during each time period.
CN 201010240664 2010-07-30 2010-07-30 Web performance analysis system and method for realizing cross-browser in internet application system Active CN101917286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010240664 CN101917286B (en) 2010-07-30 2010-07-30 Web performance analysis system and method for realizing cross-browser in internet application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010240664 CN101917286B (en) 2010-07-30 2010-07-30 Web performance analysis system and method for realizing cross-browser in internet application system

Publications (2)

Publication Number Publication Date
CN101917286A true CN101917286A (en) 2010-12-15
CN101917286B CN101917286B (en) 2013-01-02

Family

ID=43324683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010240664 Active CN101917286B (en) 2010-07-30 2010-07-30 Web performance analysis system and method for realizing cross-browser in internet application system

Country Status (1)

Country Link
CN (1) CN101917286B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020088A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Data processing device and method
CN103186551A (en) * 2011-12-28 2013-07-03 金蝶软件(中国)有限公司 Anomaly analysis method and simulation system based on web application platform
CN103577328A (en) * 2013-11-20 2014-02-12 北京奇虎科技有限公司 Method and device for analyzing performance of application
CN104424085A (en) * 2013-09-07 2015-03-18 镇江金软计算机科技有限责任公司 Method for acquiring CPU (Central Processing Unit) and internal memory utilization rate of native machine based on JNI (Java Native Interface)
CN104750471A (en) * 2013-12-30 2015-07-01 上海格尔软件股份有限公司 WEB page performance detection and analysis plug-in and method based on browser
CN104750680A (en) * 2013-12-26 2015-07-01 中富通股份有限公司 Continuous linear feature region rapid gathering algorithm based on stack circular detection
CN107153596A (en) * 2017-04-12 2017-09-12 合肥才来科技有限公司 A kind of monitoring method of application server all the period of time monitoring system
CN108075924A (en) * 2016-11-08 2018-05-25 佳能株式会社 Management system and control method
CN108255672A (en) * 2017-12-29 2018-07-06 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of data check
CN110266555A (en) * 2019-05-09 2019-09-20 重庆八戒电子商务有限公司 Method for analyzing web site service request
CN112416726A (en) * 2020-11-20 2021-02-26 深圳开源互联网安全技术有限公司 Method and device for analyzing static resource loading performance of WEB application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794661A (en) * 2005-12-26 2006-06-28 北京交通大学 Network performance analysis report system based on IPv6 and its implementing method
CN101222349A (en) * 2007-01-12 2008-07-16 中国电信股份有限公司 Method and system for collecting web user action and performance data
US20080320498A1 (en) * 2007-06-23 2008-12-25 Microsoft Corporation High Performance Script Behavior Detection Through Browser Shimming
CN101442515A (en) * 2007-11-22 2009-05-27 深圳市科陆电子科技股份有限公司 Remote control method based on browser
CN101620630A (en) * 2009-06-29 2010-01-06 北京黑米天成科技有限公司 WEB action data collecting model based on JS script

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794661A (en) * 2005-12-26 2006-06-28 北京交通大学 Network performance analysis report system based on IPv6 and its implementing method
CN101222349A (en) * 2007-01-12 2008-07-16 中国电信股份有限公司 Method and system for collecting web user action and performance data
US20080320498A1 (en) * 2007-06-23 2008-12-25 Microsoft Corporation High Performance Script Behavior Detection Through Browser Shimming
CN101442515A (en) * 2007-11-22 2009-05-27 深圳市科陆电子科技股份有限公司 Remote control method based on browser
CN101620630A (en) * 2009-06-29 2010-01-06 北京黑米天成科技有限公司 WEB action data collecting model based on JS script

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020088A (en) * 2011-09-27 2013-04-03 腾讯科技(深圳)有限公司 Data processing device and method
CN103186551A (en) * 2011-12-28 2013-07-03 金蝶软件(中国)有限公司 Anomaly analysis method and simulation system based on web application platform
CN103186551B (en) * 2011-12-28 2016-06-08 金蝶软件(中国)有限公司 Exception analysis method and analogue system based on web application platform
CN104424085A (en) * 2013-09-07 2015-03-18 镇江金软计算机科技有限责任公司 Method for acquiring CPU (Central Processing Unit) and internal memory utilization rate of native machine based on JNI (Java Native Interface)
CN103577328A (en) * 2013-11-20 2014-02-12 北京奇虎科技有限公司 Method and device for analyzing performance of application
CN103577328B (en) * 2013-11-20 2016-08-17 北京奇虎科技有限公司 The method for analyzing performance of a kind of application and device
CN104750680A (en) * 2013-12-26 2015-07-01 中富通股份有限公司 Continuous linear feature region rapid gathering algorithm based on stack circular detection
CN104750680B (en) * 2013-12-26 2018-01-23 中富通股份有限公司 A kind of continuously linear characteristic area based on storehouse cycle detection quickly gathers method
CN104750471A (en) * 2013-12-30 2015-07-01 上海格尔软件股份有限公司 WEB page performance detection and analysis plug-in and method based on browser
CN108075924B (en) * 2016-11-08 2021-06-22 佳能株式会社 Management system and control method
CN108075924A (en) * 2016-11-08 2018-05-25 佳能株式会社 Management system and control method
US11201792B2 (en) 2016-11-08 2021-12-14 Canon Kabushiki Kaisha Management system and control method
CN107153596A (en) * 2017-04-12 2017-09-12 合肥才来科技有限公司 A kind of monitoring method of application server all the period of time monitoring system
CN108255672B (en) * 2017-12-29 2021-08-06 东软集团股份有限公司 Data verification method and device, storage medium and electronic equipment
CN108255672A (en) * 2017-12-29 2018-07-06 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of data check
CN110266555A (en) * 2019-05-09 2019-09-20 重庆八戒电子商务有限公司 Method for analyzing web site service request
CN112416726A (en) * 2020-11-20 2021-02-26 深圳开源互联网安全技术有限公司 Method and device for analyzing static resource loading performance of WEB application

Also Published As

Publication number Publication date
CN101917286B (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN101917286B (en) Web performance analysis system and method for realizing cross-browser in internet application system
US20230393868A1 (en) Method and Apparatus for User Interface Modification
US7739282B1 (en) Method and system for tracking client software use
US7472397B2 (en) Method and system to correlate and consolidate a plurality of events
US8037457B2 (en) Method and system for generating and displaying function call tracker charts
EP2572294B1 (en) System and method for sql performance assurance services
JP5086183B2 (en) Enhanced widget composition platform
US20110035435A1 (en) Method and system for converting desktop application to web application
EP3143497B1 (en) Interactive viewer of intermediate representations of client side code
CN110502435A (en) Automated performance testing method and its system based on Jmeter
US20160098341A1 (en) Web application performance testing
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
CN104484216A (en) Method and device for generating service interface document and on-line test tool
JP2017117309A (en) Smartphone application test automatization system
CN104679500B (en) Method and device for realizing automatic generation of entity class
CN107368407B (en) Information processing method and device
CN114185750A (en) Process monitoring method, device, equipment and storage medium
KR100835905B1 (en) Apparatus for visualizing website visitor&#39;s click distribution in webpage and method using the same
KR101282975B1 (en) A webpage crop server system of reconstructing a web page from tree structure of document elements
CN116662204A (en) Method, device, system and storage medium for generating code-free test cases
CN110597733A (en) Method and device for testing stability of automatic front end and storage medium
CN111435326A (en) Method and device for analyzing crash logs
CN115437608A (en) Intelligent research and development assisting method and device
CN114924963A (en) Distributed execution method, device, equipment and medium for webpage compatibility test
CN108960433B (en) Method and system for running machine learning modeling process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: PRIMETON INFORMATION TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: PRIMETON TECHNOLOGIES LTD.

CP03 Change of name, title or address

Address after: 201203, Shanghai Zhangjiang hi tech park, Pudong New Area, No. 456 blue wave road, 4F

Patentee after: PRIMETON INFORMATION TECHNOLOGY CO., LTD.

Address before: 201203, Shanghai Zhangjiang hi tech park, No. 456 blue wave road, 4F

Patentee before: Primeton Technologies Ltd.