Skip to main navigation Skip to search Skip to main content

Application of a parallel FSM parsing algorithm for web engines

  • Beihang University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Finite State Machine (FSM) is widely applied to parsing the html pages in WebKit browser. In the traditional WebKit kernel, single thread is used to parse web pages, therefore cannot make full use of multi-core processors and page analysis in kernel is not granular down to html paragraphs, resulting in the browser working serially in each page. Our research is about realizing the page parallel parsing in WebKit, aiming at improving the browser’s parsing speed. Made some optimizations on the method proposed in [13], we put forward a novel parsing model named PFBE (Parallel FSM Browser Engine) from the aspect of data parallelism, realizing the preliminary parser to load network resources and parsing string in parallel, thus using multi-core processors to improve browser’s performance. PFBE carved up the input data into multiple segmentation which contained public characters for processing, through comparing the public characters to determine whether to merge the segmentation. PFBE utilized original serial FSM which has highly optimized, compatible with HTML5 standards and technology. We used Chromium web engine to present PFBE in detail and the result proved the improvement of PFBE comparing with serial FSM, and the page loading time has been reduced by 12.36%.

Original languageEnglish
Title of host publicationSmart Computing and Communication - 1st International Conference, SmartCom 2016, Proceedings
EditorsMeikang Qiu
PublisherSpringer Verlag
Pages133-143
Number of pages11
ISBN (Print)9783319520148
DOIs
StatePublished - 2017
Event1st International Conference on Smart Computing and Communication, SmartCom 2016 - Shenzhen, China
Duration: 17 Dec 201619 Dec 2016

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10135 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference1st International Conference on Smart Computing and Communication, SmartCom 2016
Country/TerritoryChina
CityShenzhen
Period17/12/1619/12/16

Keywords

  • FSM
  • HTML5
  • Parallel computing
  • Web page parsing

Fingerprint

Dive into the research topics of 'Application of a parallel FSM parsing algorithm for web engines'. Together they form a unique fingerprint.

Cite this