Welcome!

Machine Learning Authors: Pat Romanski, William Schmarzo, Kevin Jackson, Jason Bloomberg, Chris Boorman

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
What sort of WebRTC based applications can we expect to see over the next year and beyond? One way to predict development trends is to see what sorts of applications startups are building. In his session at @ThingsExpo, Arin Sime, founder of WebRTC.ventures, discussed the current and likely future trends in WebRTC application development based on real requests for custom applications from real customers, as well as other public sources of information.
Your homes and cars can be automated and self-serviced. Why can't your storage? From simply asking questions to analyze and troubleshoot your infrastructure, to provisioning storage with snapshots, recovery and replication, your wildest sci-fi dream has come true. In his session at @DevOpsSummit at 20th Cloud Expo, Dan Florea, Director of Product Management at Tintri, provided a ChatOps demo where you can talk to your storage and manage it from anywhere, through Slack and similar services with...
The financial services market is one of the most data-driven industries in the world, yet it’s bogged down by legacy CPU technologies that simply can’t keep up with the task of querying and visualizing billions of records. In his session at 20th Cloud Expo, Karthik Lalithraj, a Principal Solutions Architect at Kinetica, discussed how the advent of advanced in-database analytics on the GPU makes it possible to run sophisticated data science workloads on the same database that is housing the rich...
DevOps at Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to w...
SYS-CON Events announced today that Massive Networks 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. Massive Networks mission is simple. To help your business operate seamlessly with fast, reliable, and secure internet and network solutions. Improve your customer's experience with outstanding connections to your cloud.
"We want to show that our solution is far less expensive with a much better total cost of ownership so we announced several key features. One is called geo-distributed erasure coding, another is support for KVM and we introduced a new capability called Multi-Part," explained Tim Desai, Senior Product Marketing Manager at Hitachi Data Systems, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
FinTechs use the cloud to operate at the speed and scale of digital financial activity, but are often hindered by the complexity of managing security and compliance in the cloud. In his session at 20th Cloud Expo, Sesh Murthy, co-founder and CTO of Cloud Raxak, showed how proactive and automated cloud security enables FinTechs to leverage the cloud to achieve their business goals. Through business-driven cloud security, FinTechs can speed time-to-market, diminish risk and costs, maintain continu...
There is a huge demand for responsive, real-time mobile and web experiences, but current architectural patterns do not easily accommodate applications that respond to events in real time. Common solutions using message queues or HTTP long-polling quickly lead to resiliency, scalability and development velocity challenges. In his session at 21st Cloud Expo, Ryland Degnan, a Senior Software Engineer on the Netflix Edge Platform team, will discuss how by leveraging a reactive stream-based protocol,...
DX World EXPO, LLC., a Lighthouse Point, Florida-based startup trade show producer and the creator of "DXWorldEXPO® - Digital Transformation Conference & Expo" has announced its executive management team. The team is headed by Levent Selamoglu, who has been named CEO. "Now is the time for a truly global DX event, to bring together the leading minds from the technology world in a conversation about Digital Transformation," he said in making the announcement.
In his session at 20th Cloud Expo, Mike Johnston, an infrastructure engineer at Supergiant.io, discussed how to use Kubernetes to set up a SaaS infrastructure for your business. Mike Johnston is an infrastructure engineer at Supergiant.io with over 12 years of experience designing, deploying, and maintaining server and workstation infrastructure at all scales. He has experience with brick and mortar data centers as well as cloud providers like Digital Ocean, Amazon Web Services, and Rackspace. H...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
"The Striim platform is a full end-to-end streaming integration and analytics platform that is middleware that covers a lot of different use cases," explained Steve Wilkes, Founder and CTO at Striim, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution and join Akvelon expert and IoT industry leader, Sergey Grebnov, in his session at @ThingsExpo, for an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, will examine the regulations and provide insight on how it affects technology, challenges the established rules and will usher in new levels of diligence...
SYS-CON Events announced today that Calligo 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. Calligo is an innovative cloud service provider offering mid-sized companies the highest levels of data privacy. Calligo offers unparalleled application performance guarantees, commercial flexibility and a personalized support service from its globally located cloud platfor...
SYS-CON Events announced today that Calligo, an innovative cloud service provider offering mid-sized companies the highest levels of data privacy and security, 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. Calligo offers unparalleled application performance guarantees, commercial flexibility and a personalised support service from its globally located cloud plat...
SYS-CON Events announced today that SkyScale 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. SkyScale is a world-class provider of cloud-based, ultra-fast multi-GPU hardware platforms for lease to customers desiring the fastest performance available as a service anywhere in the world. SkyScale builds, configures, and manages dedicated systems strategically located in maximum-securit...
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 DXWorldExpo has been named “Global 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. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
SYS-CON Events announced today that Datera, that offers a radically new data management architecture, 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. Datera is transforming the traditional datacenter model through modern cloud simplicity. The technology industry is at another major inflection point. The rise of mobile, the Internet of Things, data storage and Big...