Loading Time Reduction for Emscripten-Generated Asm.js Programs

碩士 === 國立交通大學 === 資訊科學與工程研究所 === 104 === JavaScript is the primary programming language for web applications and has been used in many popular web applications. In recent years, some web applications are getting more complex. Therefore, asm.js, which is a subset of JavaScript, is designed to enable...

Full description

Bibliographic Details
Main Authors: Li, Bing-Mou, 李炳謀
Other Authors: You, Yi-Ping
Format: Others
Language:zh-TW
Published: 2016
Online Access:http://ndltd.ncl.edu.tw/handle/9xqgcq
id ndltd-TW-104NCTU5394097
record_format oai_dc
spelling ndltd-TW-104NCTU53940972019-05-15T23:08:42Z http://ndltd.ncl.edu.tw/handle/9xqgcq Loading Time Reduction for Emscripten-Generated Asm.js Programs 基於Emscripten產生的Asm.js程式的載入時間減少 Li, Bing-Mou 李炳謀 碩士 國立交通大學 資訊科學與工程研究所 104 JavaScript is the primary programming language for web applications and has been used in many popular web applications. In recent years, some web applications are getting more complex. Therefore, asm.js, which is a subset of JavaScript, is designed to enable the performance improvements for those web applications. However, asm.js programs have a problem of larger code size than JavaScript programs, which counteracts the benefit from the reduced execution time. Therefore, reducing loading time of asm.js programs is an important matter. In this thesis, we propose ASMJSMini, an asm.js minifier, to reduce the code size of asm.js programs that the optimized asm.js programs are meeting asm.js specification. We propose library extractor and dynamic loading to reuse the same library to reduce the download time. The experimental results show that ASMJSMini had a 50% reduction in code size and the dynamic loading approach had a 49% reduction in download time of asm.js programs. You, Yi-Ping 游逸平 2016 學位論文 ; thesis 46 zh-TW
collection NDLTD
language zh-TW
format Others
sources NDLTD
description 碩士 === 國立交通大學 === 資訊科學與工程研究所 === 104 === JavaScript is the primary programming language for web applications and has been used in many popular web applications. In recent years, some web applications are getting more complex. Therefore, asm.js, which is a subset of JavaScript, is designed to enable the performance improvements for those web applications. However, asm.js programs have a problem of larger code size than JavaScript programs, which counteracts the benefit from the reduced execution time. Therefore, reducing loading time of asm.js programs is an important matter. In this thesis, we propose ASMJSMini, an asm.js minifier, to reduce the code size of asm.js programs that the optimized asm.js programs are meeting asm.js specification. We propose library extractor and dynamic loading to reuse the same library to reduce the download time. The experimental results show that ASMJSMini had a 50% reduction in code size and the dynamic loading approach had a 49% reduction in download time of asm.js programs.
author2 You, Yi-Ping
author_facet You, Yi-Ping
Li, Bing-Mou
李炳謀
author Li, Bing-Mou
李炳謀
spellingShingle Li, Bing-Mou
李炳謀
Loading Time Reduction for Emscripten-Generated Asm.js Programs
author_sort Li, Bing-Mou
title Loading Time Reduction for Emscripten-Generated Asm.js Programs
title_short Loading Time Reduction for Emscripten-Generated Asm.js Programs
title_full Loading Time Reduction for Emscripten-Generated Asm.js Programs
title_fullStr Loading Time Reduction for Emscripten-Generated Asm.js Programs
title_full_unstemmed Loading Time Reduction for Emscripten-Generated Asm.js Programs
title_sort loading time reduction for emscripten-generated asm.js programs
publishDate 2016
url http://ndltd.ncl.edu.tw/handle/9xqgcq
work_keys_str_mv AT libingmou loadingtimereductionforemscriptengeneratedasmjsprograms
AT lǐbǐngmóu loadingtimereductionforemscriptengeneratedasmjsprograms
AT libingmou jīyúemscriptenchǎnshēngdeasmjschéngshìdezàirùshíjiānjiǎnshǎo
AT lǐbǐngmóu jīyúemscriptenchǎnshēngdeasmjschéngshìdezàirùshíjiānjiǎnshǎo
_version_ 1719140529178935296