Hubungan Antara Cache, Energy Consumption dan Runtime Performance pada Progressive Web Apps
Authors: Kurniawan Wakhid , Fatwanto Agung 
Published: December 2022

<p class="Abstrak"><em>Progresive Web Apps</em> merupakan teknologi mutakhir di pengembangan web. Kehadiran <em>Progresive Web Apps</em> memberikan dampak positif bagi pengembang Web, yang mana keunggulannya memberikan peningkatan performa secara signifikan. <em>Service Worker</em> sebagai inti memiliki kemampuan mencegat dan menangani permintaan jaringan, termasuk mengelola <em>cache respons</em> lewat program. Semua kemampuan <em>Service worker</em> disimpan ke dalam cache. Keunggulan tersebut tentunya mempunyai implikasi pada performance. Disisi lain konsumsi energi perangkat lunak yang berjalan di atasnya, juga merupakan tantangan seorang pengembang aplikasi khususnya Web.  Tujuan penelitian ini adalah melakukan investigasi hubungan <em>Cache</em> terhadap <em>Runtime Performance</em> dan <em>Energy Consumption</em>. Metode penelitian menggunakan pendekatan kuantitatif dengan melakukan kajian eksperimen empiris, yang mana menilai 16 Situs yang telah mengadopsi <em>Progresive Web Apps</em>. Perancangan eksperimen ini memiliki variabel <em>Cache</em>, <em>Energy Consumption</em><em> </em>dan <em>Runtime Performance</em><em> </em>dengan perilaku pengumpulan data ketika <em>Cache</em> kosong dan <em>Cache</em> terisi yang selanjutnya akan di analisis dengan analisis <em>Pearson Correlation</em>. Pelaksanaan eksperimen dijalankan di <em>Chrome</em> <em>Browser</em> perangkat android secara langsung. Hasil dari penelitian ini menunjukan bahwa ada hubungan antara<em> </em><em>Cache </em>dan <em>Energy Consumption</em><em> </em>dengan<em> </em>nilai signifikasi sebesar 0,005 pada <em>Cache </em>kosong dan nilai signifikasi sebesar 0,015 pada saat <em>Cache </em>terisi<em>.</em> Selain itu, juga ada hubungan antara <em>Runtime Performance </em>dan <em>Energy Consumption</em><em> </em>dengan<em> </em>nilai signifikasi sebesar 0,008 pada <em>Cache</em> kosong dan nilai signifikasi sebesar 0,003 pada saat <em>Cache </em>terisi. Sedangkan pada variabel <em>Cache</em> dan <em>Runtime Performance </em>menunjukan bahwa tidak ada hubungan antar variabel, dengan nilai signifikansi lebih besar dari 0,05 yaitu 0,08 pada <em>Cache</em> kosong dan 0,098 pada saat C<em>ache</em> terisi.</p><p class="Abstrak"> </p><p class="Abstrak"><em><strong>Abstract</strong></em></p><p class="Abstract"><em>Progressive Web Apps are the latest technology in web development. The presence of Progressive Web Apps has a positive impact on Web developers, whose advantages provide a significant increase in performance. Service Workers at the core have the ability to intercept and handle network requests, including managing programmatic response caches. All Service worker capabilities are cached. These advantages of course have implications for performance. On the other hand, the energy consumption of the software running on it is also a challenge for an application developer, especially the Web. The purpose of this study is to investigate the relationship between Cache and Runtime Performance and Energy Consumption. The research method uses a quantitative approach by conducting an empirical experimental study, which assesses 16 sites that have adopted Progressive Web Apps. This experimental design has Cache, Energy Consumption and Runtime Performance variables with data collection behavior when the cache is empty and the cache is filled which will then be analyzed with Pearson Correlation analysis. The experiment execution is run in the Chrome Browser of the android device directly. The results of this study indicate that there is a relationship between Cache and Energy Consumption with a significance value of 0,005 in an empty cache and a significance value of 0,015 when the cache is filled. In addition, there is also a relationship between Runtime Performance and Energy Consumption with a significance value of 0,008 when the cache is empty and a significance value of 0,003 when the cache is filled. While the Cache and Runtime Performance variables show that there is no relationship between variables, with a significance value greater than 0,05, namely 0,08 when the cache is empty and 0,098 when the cache is filled.</em></p><p class="Abstrak"><em><strong><br /></strong></em></p>