Microsoft's JSMeter: A new way to analyze and affect JavaScript performance

By | March 25, 2010, 1:04pm PDT

Summary: The Microsoft Internet Explorer (IE) team isn’t the only group at the company that is delving into the finer points around JavaScript. A couple of Microsoft researchers also are doing work that could change the way Microsoft (and possibly other companies) look at — and ultimately affect — JavaScript runtime performance.

The Microsoft Internet Explorer (IE) team isn’t the only group at the company that is delving into the finer points around JavaScript. A couple of Microsoft researchers also are doing work that could change the way Microsoft (and possibly other companies) look at — and ultimately affect — JavaScript runtime performance.

JSMeter isn’t a brand-new project, but I just learned of it via a new Microsoft Channel 9 video on the topic. Ben Livshits and Ben Zorn, two of the Microsoft researchers behind the project, made some interesting points during the part of the interview I watched. They explained how they took an implementation of Internet Explorer and changed the source code to see how they could affect the performance of Web applications, like Bing Maps, FaceBook and Gmail.

The JSMeter team is advocating for new benchmarks that more accurately reflect the true performance of large-scale Web applications like these, claiming that existing benchmarks often have little real-world value. Microsoft’s IE team made a similar case last week, during the release of the first developer preview of IE 9 last week. The IE 9 developer preview includes a new JavaScript engine, codenamed Chakra, which is designed to boost performance.

According to one of the JSMeter white papers available on the Microsoft Research site, the team was interested in measuring “two specific areas of JavaScript runtime behavior: 1) functions and code and 2) events and handlers. We find that the benchmarks are not representative of many real web sitesand that conclusions reached from measuring the benchmarks may be misleading.”

More from the conclusion of that paper:

“Our measurements suggest a number of valuable follow-up efforts. These include working on building a more representative collection of benchmarks, modifying JavaScript engines to more effectively implement some of the real behaviors we observed, and building developer tools that expose the kind of measurement data we report.”

Microsoft will be presenting more about JSMeter during the Web Applications ‘10 conference in Boston in June.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Mary Jo has covered the tech industry for more than 25 years for a variety of publications and Web sites, and is a frequent guest on radio, TV and podcasts, speaking about all things Microsoft-related. She is the author of Microsoft 2.0: How Microsoft plans to stay relevant in the post-Gates era (John Wiley & Sons, 2008).

Disclosure

Mary-Jo Foley

Freelance journalist/blogger Mary Jo Foley has nothing to disclose. WYSIWYG (what you see is what you get). I do not own Microsoft stock or stock in any of its partners or competitors. I have no business ventures that are sponsored by/funded by Microsoft or any of its partners or competitors.

Biography

Mary-Jo Foley

Mary Jo Foley has covered the tech industry for 25 years for a variety of publications, including ZDNet, eWeek and Baseline. She has kept close tabs on Microsoft strategy, products and technologies for the past 10 years. In the late 1990s, she penned the award-winning "At The Evil Empire" column for ZDNet, and more recently the Microsoft Watch blog for Ziff Davis.

Got a tip? Send her an email with your rants, rumors, tips and tattles. Confidentiality guaranteed.

The discussion hasn’t started yet. Why don’t you begin it?

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix