{"id":186955,"date":"2011-10-28T00:00:00","date_gmt":"2011-11-01T14:13:08","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/msr-research-item\/software-design-and-performance\/"},"modified":"2016-08-22T11:31:55","modified_gmt":"2016-08-22T18:31:55","slug":"software-design-and-performance","status":"publish","type":"msr-video","link":"https:\/\/www.microsoft.com\/en-us\/research\/video\/software-design-and-performance\/","title":{"rendered":"Software: Design and Performance"},"content":{"rendered":"
\n

This talk consists of two parts. In the software design part we introduce a software metric that quantifies the essence of a software system. In the software performance part we present an approach to transparently capture perceptible performance bugs in real-world deployed interactive applications.<\/p>\n

In the first part of this talk we present an approach that partitions a software system into its algorithmically essential parts and the parts that manifest its design. Our approach is inspired by the notion of an algorithm and its asymptotic complexity. However, we do not propose a metric for measuring asymptotic complexity (efficiency). Instead, we use the one aspect of algorithms that drives up their asymptotic complexity \u2013 repetition, in the form of loops and recursions \u2013 to determine the algorithmically essential parts of a software system. Those parts of a system that are not algorithmically essential represent aspects of the design. A large fraction of inessential parts is indicative of “overdesign”, while a small fraction indicates a lack of modularization. We present a metric, relative essence, to quantify the fraction of the program that is algorithmically essential. We evaluate our approach by studying the algorithmic essence of a large corpus of software systems, and by comparing the measured essence to an intuitive view of design “overhead”.<\/p>\n

In the second part of the talk we present our approach to capture perceptible performance bugs in deployed interactive applications. Our approach combines instrumentation and sampling to gather compact, actionable profiles of perceptible latency bugs. Our tool, Lag Hunter, employs a diverse set of optimizations to reduce the profiling overhead to a level that allows its deployment with production applications in the field. This enables the observation of application performance in the contexts in which applications are actually used, and it allows the collection of profiles that are representative of real-user behavior. We evaluate our approach by deploying a Lag Hunter-enabled version of Eclipse, one of the largest interactive Java applications, over the course of three months, collecting profiles that represent over 1900 hours of usage by 24 different users. We then characterize the perceptible performance issues Lag Hunter identified in these sessions, and we find and fix the causes of a set of representative performance bugs.<\/p>\n<\/div>\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

This talk consists of two parts. In the software design part we introduce a software metric that quantifies the essence of a software system. In the software performance part we present an approach to transparently capture perceptible performance bugs in real-world deployed interactive applications. In the first part of this talk we present an approach […]<\/p>\n","protected":false},"featured_media":196458,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"footnotes":""},"research-area":[],"msr-video-type":[],"msr-locale":[268875],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-186955","msr-video","type-msr-video","status-publish","has-post-thumbnail","hentry","msr-locale-en_us"],"msr_download_urls":"","msr_external_url":"https:\/\/youtu.be\/q1rpoTIMX8Q","msr_secondary_video_url":"","msr_video_file":"","_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/186955"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-video"}],"version-history":[{"count":0,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video\/186955\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/196458"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=186955"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=186955"},{"taxonomy":"msr-video-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-video-type?post=186955"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=186955"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=186955"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=186955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}