Welcome!

Machine Learning Authors: Elizabeth White, Progress Blog, Pat Romanski, Liz McMillan, Kevin Jackson

Related Topics: Machine Learning , Java IoT

Machine Learning : News Item

dynaTrace AJAX Edition 3.0 Released

Free next-generation browser diagnostics - part 1

With its latest release, dynaTrace updates its Product Suite for Deep Dive, Automated Cross-Browser Web Performance Optimization with two products:

  • dynaTrace AJAX Edition 3.0 is the free standalone tool that has been downloaded by 30k+ users so far supporting both Firefox (3.6, 4.0) and Internet Explorer (6, 7 & 8) 8)
  • dynaTrace Development Team Edition is the Premium Upgrade and provides extended automation, end-to-end performance and automated regression analysis for modern Web 2.0 Applications

In this first part of the series I focus on the capabilities that support web developers and testers on their local workstation when analyzing performance or problems in Internet Explorer and Firefox. A second part will cover the benefits of the Premium Upgrade for Agile Development Teams when automating performance and regression analysis.

dynaTrace AJAX Edition 3.0 – Capabilities that can save your day
As a Web Developer and Tester of Web Applications it is challenging to keep up with verifying that the latest changes to your web site work well and don’t impact web page performance across different browsers. dynaTrace AJAX Edition 3.0 comes with the features and capabilities you need to make your day-to-day activity much easier

Improve Page Load Times
As we’ve come to understand the actual impact of Page Load Time on end user behavior (confirmed by studies from Microsoft, Yahoo, Google and Shopzilla), accelerating Page Load Time has become a top goal for every web site. Following Best Practices from Yahoo, Google and dynaTrace on how to reduce network roundtrips, optimize browser caching and speed up JavaScript execution can significantly improve Page Load Time. dynaTrace AJAX Edition provides a Performance Report that analyzes every visited page based on these known Best Practices. This Performance Report provides different sections and gives recommendations on how to improve page load time.

Particularly in Web 2.0 Applications that leverage JavaScript and DOM Manipulations, it is common for JavaScript Execution to significantly contribute to actual Page Load Time. The dynaTrace Performance Report lists problematic JavaScript handlers and functions that have a significant performance impact on the Page Load Time. Optimizing client side code can improve Page Load Times significantly. The following screenshot shows that the Yahoo News Home Page uses a very inefficient method to lookup DOM elements by class name. The Call Trace and the Source Code view on the right show who makes these inefficient calls, making it easy to start optimizing the code:

Performance Report highlights JavaScript Execution that slows down Page Load Times

Performance Report highlights JavaScript Execution that slows down Page Load Times

The other tabs in the Performance Report focus on optimizing Browser Caching, reducing Network Roundtrips and optimizing Server-Side request times. Following the guidelines in every tab of the report enable you to focus on the things that will really accelerate your page load times.

Identify Cross-Browser Issues
Firefox is the browser of choice for most web developers. The lack of tooling support for earlier versions of Internet Explorer caused many developers and also testers to do their work exclusively on Firefox. This resulted in web sites that worked well in Firefox but had issues on other browsers – especially Internet Explorer. dynaTrace AJAX Edition solves this problem by providing a single tool that captures the same in-depth browser diagnostics data on Internet Explorer 6, 7 & 8 and Firefox 3.6 and 4 (Support for Internet Explorer 9 will follow soon). Having one tool that provides insight into JavaScript execution, DOM manipulations, Rendering activities and Network behavior on these browsers makes it easy to identify cross-browser problems and enables developers to optimize their code.

The following screenshot shows the performance report of the same pages for both Firefox and Internet Explorer. The high-level analysis shows the difference in load times, as well as certain characteristics such as number of network requests, redirects or cached vs. un-cached resources.

Yahoo News seems to be optimized for Internet Explorer with additional roundtrips, redirects and uncached resources causing problems in Firefox

Yahoo News seems to be optimized for Internet Explorer with additional roundtrips, redirects and uncached resources causing problems in Firefox

Not only can we compare high-level performance metrics like those shown in the screenshot above. We can also compare the actual Network Requests, Caching Behavior and JavaScript execution on each browser and browser version. This helps us discover whether certain settings – such as Cache-Control – have not been set for a certain browser or if the included JavaScript libraries work correctly across browsers.

Optimize Page Rendering
Optimizing Page Load Time is only one aspect of accelerating web site performance. The most important key performance indicator is the First Impression Time. That is the time it takes from when a user enters a URL or clicks on a link until that user actually sees a visual response on the screen. In order to optimize Page Rendering you need information on when Rendering actually happens. dynaTrace provides this information for both Internet Explorer and Firefox. The Timeline View has a Rendering Column that shows when the browser executed certain Rendering tasks. The following screenshot actually shows us that the Yahoo News Page actually uses progressive rendering. This means that the HTML Content is flushed out early on, allowing the browser to already parse and display some of the HTML before the complete HTML document was downloaded:

Rendering happens while the initial HTML Document gets downloaded. Rendering also happens when additional resources such as images and css files get downloaded

Rendering happens while the initial HTML Document gets downloaded. Rendering also happens when additional resources such as images and css files get downloaded

Optimizing the First Impression Time (time of first Drawing event) and also optimizing Rendering activity on the page in general are now possible across browsers by using dynaTrace AJAX Edition.

JavaScript/DOM Tracing
The key capability of dynaTrace is not only to identify long running JavaScript handlers. dynaTrace traces all JavaScript executions including calls to the DOM (Document Object Model) as well as calls to XHR (XmlHttpRequest).

This deep tracing provides several benefits:

  • Unlike a profiler, dynaTrace actually sees the individual method calls with method arguments and return values. Outliers can therefore be identified and are not hidden in average values
  • Unlike a debugger, dynaTrace is low overhead and thus doesn’t impact execution time of the JavaScript significantly. This allows us to analyze the exact execution behavior of timers and intervals
  • Unlike other tools, dynaTrace actually traces calls into the DOM. The DOM is the most performance-critical component in the browser. Read and Write access can be very expensive and should be optimized.

When analyzing JavaScript/DOM Traces we use the dynaTrace PurePath view. We can open this view through the Context Menu on a slow JavaScript method listed in the Performance Report. Another option is to double click on a JavaScript execution block shown in the Timeline. The following screenshot shows a JavaScript trace of the slow running getElementsByClassName functions that are called on the Yahoo News Page. This method iterates through all DOM Elements. In order to do that it queries all elements using getElementsByTagName.

The yellow arrows indicate read, write property access as well as method calls on the DOM

The yellow arrows indicate read, write property access as well as method calls on the DOM

In addition to looking at Traces of individual JavaScript handlers, dynaTrace also provides the Hotspot view. The Hotspot view analyzes all JavaScript, DOM and Rendering activity on a given page and shows which methods have the highest execution time contribution and which methods are called most frequently. As the underlying data of this presented information are the Deep-Dive Traces, we can pick a method that we want to analyze further, for example, who calls a method with particular parameters or who calls a method too often:

In the Hotspot View we see which JavaScript, DOM or Rendering activity contributes how much to the overall page load time. Back Traces help to identify the caller

In the Hotspot View we see which JavaScript, DOM or Rendering activity contributes how much to the overall page load time. Back Traces help to identify the caller

Deep tracing that includes JavaScript, DOM and method arguments comes with low overhead. The overhead of the actual JavaScript instrumentation is shown in the PurePath view for every loaded JavaScript file. The overhead when collecting the actual method execution depends on the number of JavaScript and DOM calls. The depth of tracing is configurable through the preferences and gives you full control on how much data to collect. Caution: In Firefox, tracing DOM calls comes with a larger performance penalty than in Internet Explorer as it requires disabling DOM Quick Stubs.

Automate Web Performance Optimization
We have already blogged about how to use dynaTrace AJAX Edition in a Continuous Integration environment by integrating it with your Selenium, Watir, Silk, QTP or WebDriver scripts. The idea is that whenever you have a functional test that actively drives a browser instance you can add dynaTrace AJAX into the mix and let dynaTrace record the browser activity driven by the test tool.

dynaTrace Ajax captures browser activity driven by your functional testing tool

dynaTrace Ajax captures browser activity driven by your functional testing tool

The great news with dynaTrace AJAX Edition 3 is that this can now be leveraged for both Internet Explorer and Firefox enabling you to automate performance analysis across browsers without having to modify your tests scripts. If you are interested in automation please check out the following posts:

Compare with Your Competition
Following Best Practices on Web Performance Optimization as defined by Yahoo, Google and dynaTrace is a good thing, but doesn’t guarantee that you are ahead of your competition when it comes to web site performance. Best Practices are also not always applicable for all web sites. News Sites for instance have more images on a page that have a short expiration. Therefore it is OK that caching is used differently than on eCommerce sites where product images don’t change as frequently as the latest World News. Therefore dynaTrace not only allows you to compare your results against Best Practices but also against live websites. When you launch dynaTrace you will be prompted for your dynaTrace Community Account in order to download Live Performance Data

Enter your dynaTrace Community Credentials to get access to real live performance data

Enter your dynaTrace Community Credentials to get access to real live performance data

When opening the Performance Report you now have the option to compare your captured performance data with data from the Top Alexa websites. There are more categories to come over the next few months such as eCommerce, News, … The following screenshot shows the Performance Report comparing the results of Yahoo News to those of the Alexa 1000.

Compare your own results in the different performance categories with performance data captured daily from real websites

Compare your own results in the different performance categories with performance data captured daily from real websites

Comparing your performance metrics with real-life data gives you additional input on the areas on which you want to focus your optimization efforts. If your competition spends less time in Client Side JavaScript you may want to focus on optimizing your own JavaScript code. If you see that you are already doing a good job comparatively in leveraging the browser cache – even though you just scored Rank C – it is better to focus on other areas first.

Want to know more about dynaTrace AJAX Edition?
Start by downloading the free dynaTrace AJAX Edition and optimize your web pages by following the results of the Performance Report. Make yourself familiar with the deep diagnostics capabilities of dynaTrace AJAX by checking out the Top Client Side Performance Problems that have been solved with this tool.

And if you’re organization needs enterprise-class extended automation, end-to-end performance and automated regression analysis for modern Web 2.0 Applications, then you should read part two outlining the Premium Extensions to dynaTrace AJAX that provide what you need.

Related reading:

  1. Premium AJAX Edition 3 Extensions – Next Generation Web Performance Optimization– PART II // If you are serious about Web Development then I...
  2. Update dynaTrace AJAX Edition to get Rendering Times on ALL versions of Internet Explorer Analyzing Rendering Activity is one of the many features of...
  3. Elevating Web- and Load-Testing with MicroFocus SilkPerformer Diagnostics powered by dynaTrace MicroFocus and dynaTrace recently announced “SilkPerformer Assurance” and with that...
  4. dynaTrace Firefox Closed Beta Program started We had quite a number of people showing interest in...
  5. Sneak Peak on Firefox support with dynaTrace We have received lots of great feedback on our deep...

More Stories By Andreas Grabner

Andreas Grabner has been helping companies improve their application performance for 15+ years. He is a regular contributor within Web Performance and DevOps communities and a prolific speaker at user groups and conferences around the world. Reach him at @grabnerandi

@CloudExpo Stories
Elon Musk is among the notable industry figures who worries about the power of AI to destroy rather than help society. Mark Zuckerberg, on the other hand, embraces all that is going on. AI is most powerful when deployed across the vast networks being built for Internets of Things in the manufacturing, transportation and logistics, retail, healthcare, government and other sectors. Is AI transforming IoT for the good or the bad? Do we need to worry about its potential destructive power? Or will we...
Cloud-based disaster recovery is critical to any production environment and is a high priority for many enterprise organizations today. Nearly 40% of organizations have had to execute their BCDR plan due to a service disruption in the past two years. Zerto on IBM Cloud offer VMware and Microsoft customers simple, automated recovery of on-premise VMware and Microsoft workloads to IBM Cloud data centers.
Many organizations adopt DevOps to reduce cycle times and deliver software faster; some take on DevOps to drive higher quality and better end-user experience; others look to DevOps for a clearer line-of-sight to customers to drive better business impacts. In truth, these three foundations go together. In this power panel at @DevOpsSummit 21st Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, industry experts will discuss how leading organizations build application success from all...
SYS-CON Events announced today that SIGMA Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. uLaser flow inspection device from the Japanese top share to Global Standard! Then, make the best use of data to flip to next page. For more information, visit http://www.sigma-k.co.jp/en/.
SYS-CON Events announced today that Daiya Industry will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Daiya Industry specializes in orthotic support systems and assistive devices with pneumatic artificial muscles in order to contribute to an extended healthy life expectancy. For more information, please visit https://www.daiyak...
The last two years has seen discussions about cloud computing evolve from the public / private / hybrid split to the reality that most enterprises will be creating a complex, multi-cloud strategy. Companies are wary of committing all of their resources to a single cloud, and instead are choosing to spread the risk – and the benefits – of cloud computing across multiple providers and internal infrastructures, as they follow their business needs. Will this approach be successful? How large is the ...
Your clients expect transactions to never fail, cloud access to be fast and always on, and their data to be protected - no exceptions. Hear about how Secure Service Container (SSC), an IBM-exclusive open technology, enables secure building and hosting of next-generation applications, both cloud and on-premises. SSC protects the full stack from external and insider threats, allows automatic encryption of data in-flight and at-rest, and is tamper-resistant during installation and runtime – with no...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
SYS-CON Events announced today that B2Cloud will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. B2Cloud specializes in IoT devices for preventive and predictive maintenance in any kind of equipment retrieving data like Energy consumption, working time, temperature, humidity, pressure, etc.
SYS-CON Events announced today that Interface Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Interface Corporation is a company developing, manufacturing and marketing high quality and wide variety of industrial computers and interface modules such as PCIs and PCI express. For more information, visit http://www.i...
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that NetApp has been named “Bronze Sponsor” of SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp em...
SYS-CON Events announced today that Mobile Create USA will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Mobile Create USA Inc. is an MVNO-based business model that uses portable communication devices and cellular-based infrastructure in the development, sales, operation and mobile communications systems incorporating GPS capabi...
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, will discuss how data centers of the future will be managed, how th...
Enterprises are moving to the cloud faster than most of us in security expected. CIOs are going from 0 to 100 in cloud adoption and leaving security teams in the dust. Once cloud is part of an enterprise stack, it’s unclear who has responsibility for the protection of applications, services, and data. When cloud breaches occur, whether active compromise or a publicly accessible database, the blame must fall on both service providers and users. In his session at 21st Cloud Expo, Ben Johnson, C...
SYS-CON Events announced today that Suzuki Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Suzuki Inc. is a semiconductor-related business, including sales of consuming parts, parts repair, and maintenance for semiconductor manufacturing machines, etc. It is also a health care business providing experimental research for...
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
SYS-CON Events announced today that Ryobi Systems will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Ryobi Systems Co., Ltd., as an information service company, specialized in business support for local governments and medical industry. We are challenging to achive the precision farming with AI. For more information, visit http:...