Parameter Based Constant Propagation

نویسندگان

  • Péricles Rafael Oliveira Alves
  • Igor Rafael de Assis Costa
  • Fernando Magno Quintão Pereira
  • Eduardo Figueiredo
چکیده

JavaScript is nowadays the lingua franca of web browsers. This programming language is not only the main tool that developers have to implement the client side of web applications, but it is also the target of frameworks such as Google Web Toolkit. Given this importance, it is fundamental that JavaScript programs can be executed efficiently. Just-in-time (JIT) compilation is one of the keys to achieve this much necessary efficiency. An advantage that a JIT compiler has over a traditional compiler is the possibility to use runtime values to specialize the target code. In this paper we push JIT speculation to a new extreme: we have empirically observed that many JavaScript functions are called only once during a typical browser section. A natural way to capitalize on this observation is to specialize the code produced by a function to the particular values that are passed to this function as parameters. We have implemented this approach on IonMonkey, the newest JIT compiler used in the Mozilla Firefox browser. By coupling this type of parameter specialization with constant propagation, a classical compiler optimization, we have been able to experimentally observe speedups of up to 25% on well-known algorithms. These gains are even more remarkable because they have been obtained over a worldly known, industrial quality JavaScript runtime environment.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Physical Parameter Based Compact Expression for Propagation Constant of SWCNT Interconnects

Novel compact expressions for propagation constant (γ) of SWCNT and bundled SWCNTs interconnect, in terms of physical parameters such as length, operating frequency and diameter of CNTs is proposed in this work. These simplified expressions enable physical insight and accurate estimation of signal attenuation level and its phase change at any length for a particular frequency. The proposed expr...

متن کامل

Globally Consistent Pathway Parameter Estimates through Belief Propagation

Parameter estimation of large bio-pathway models is an important and difficult problem. To reduce the prohibitive computational cost, one approach is to decompose a large model into components and estimate their parameters separately. However, the decomposed components often share common parts that may have conflicting parameter estimates, as they are computed independently within each componen...

متن کامل

Modelling Australian Bank Bill Rates : a Kalman Filter Approach

This paper examines the applicability of the Kalman Filter technique to forecast future spot interest rates, based upon the expectation hypothesis of the term structure of interest rates, in the Australian bank bill market. In this approach, regression estimates are based on the last period's estimate together with data from the current period. In contrast to constant parameter models, this all...

متن کامل

Contributions to measurement-based dynamic MIMO channel modeling and propagation parameter estimation

OF DOCTORAL DISSERTATION HELSINKI UNIVERSITY OF TECHNOLOGY P. O. BOX 1000, FI-02015 TKK http://www.tkk.fi Author Jussi Salmi Name of the dissertation Manuscript submitted May 15, 2009 Manuscript revised July 18, 2009 Date of the defence August 14, 2009 Article dissertation (summary + original articles) Monograph Faculty Department Field of research Opponent(s) Supervisor Instructor Abstract

متن کامل

Study of the Effect of Nematic Order Degradation in Liquid Crystal-Based Surface Plasmon Resonance Sensors

This paper presents a new analysis of optical sensors based on surface plasmon resonance (SPR) phenomenon and nematic liquid crystal (LC) sensitive layer in the partially ordered state. In particular, the paper studies the influence of degradation in the LC ordering state on the behavior of the plasmon resonance parameters. The degradation in the LC ordering is represented by the order paramete...

متن کامل

A Method to Extract Dielectric Parameters from Transmission Lines with Conductor Surface Roughness at Microwave Frequencies

This paper details an effective method to extract dielectric parameters including dielectric constant Dk and loss tangent Df from transmission lines containing rough conductor surface. The concept of effective conductivity is firstly introduced to model conductor surface roughness in transmission lines. By using differential extrapolation method, propagation parameters of transmission lines can...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012