ECOOP 2016 (series) / ICOOOLPS 2016 (series) / ICOOOLPS /
The Performance of Object Encodings in JavaScript
We investigate how to represent objects when JavaScript is used as a compilation target.
This is an interesting question because JavaScript is the object language of choice for compiler writers who wish to ”the Internet“, and because JavaScript offers many ways to say the same thing.
We looked at three axes of variability: whether an object’s methods are stored in the object itself, or in a prototype; whether the object uses Javascript’s closures or builds its own, and whether an object’s fields are accessed directly or via accessor methods.
The results reveal that certain variations are more than a hundred times faster than others. We conclude that the particular choices we make may be critical.
Preprint (icooolps-final6.pdf) | 185KiB |
Mon 18 Jul Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
Mon 18 Jul
Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
10:05 - 11:05 Talk | Beneath the Bytecode: Observing the JVM at Work Using Bytecode Instrumentation ICOOOLPS Lubomír BulejCharles University Media Attached File Attached | ||
11:05 - 11:35 Talk | The Performance of Object Encodings in JavaScript ICOOOLPS Media Attached File Attached | ||
11:35 - 12:05 Talk | Virtual Machine Warm-up Blows Hot and Cold ICOOOLPS Edd BarrettKing's College London, Carl Friedrich Bolz-TereickKing's College London , Rebecca KillickDepartment of Mathematics and Statistics, University of Lancaster, Vincent KnightSchool of Mathematics, Cardiff University, Sarah MountKing's College London, Laurence TrattKing's College London Link to publication Media Attached File Attached | ||
12:05 - 12:25 Other | Discussions ICOOOLPS |