PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.
With the development of web technology, web pages become more and more complex. Using the virtual DOM method can make the web page have efficient update performance without reducing development efficiency. An essential part of this method is the ability to quickly calculate the differences between the old and new virtual DOMs and update them into the old DOM. This paper presents a multi-threaded virtual DOM difference method based on web workers. This method improves the performance of difference method by offloading tasks to worker threads and using a multi-threaded parallel method based on worker thread pools, and presents a method based on SharedArrayBuffer to reduce the consumption of data communication between threads. Experimental results show that compared with the original main thread difference method, the new method can obtain a speedup ratio of 1.3x-2.4x in the scenario of 10k scale nodes and four threads.
(2023) Published by SPIE. Downloading of the abstract is permitted for personal use only.
Zeyu Chen,Lei Yang,Jue Wu, andFujun Yang
"A multi-threaded virtual DOM difference method based on web worker", Proc. SPIE 12800, Sixth International Conference on Computer Information Science and Application Technology (CISAT 2023), 128002O (11 October 2023); https://doi.org/10.1117/12.3003797
ACCESS THE FULL ARTICLE
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.
The alert did not successfully save. Please try again later.
Zeyu Chen, Lei Yang, Jue Wu, Fujun Yang, "A multi-threaded virtual DOM difference method based on web worker," Proc. SPIE 12800, Sixth International Conference on Computer Information Science and Application Technology (CISAT 2023), 128002O (11 October 2023); https://doi.org/10.1117/12.3003797