ASYNCHRONOUS UI FRAMEWORK

Parallel processing of frames by a first and second thread is disclosed. In particular, the systems and methods can process multiple frames in a pipelines manner by a JavaScript thread and a UI thread. The system first executes a first frame by a JavaScript thread during a first time interval. The s...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Walke, Jordan Christopher, Bharambe, Ashwin Ravindra, He, Lin, Street, Andrew Lankes
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Parallel processing of frames by a first and second thread is disclosed. In particular, the systems and methods can process multiple frames in a pipelines manner by a JavaScript thread and a UI thread. The system first executes a first frame by a JavaScript thread during a first time interval. The system then executes the first frame by a UI thread during a second time interval. While the UI thread is executing the first frame, the JavaScript thread executes a second thread in parallel during the second time internal. As a result, latency is added to UI processing while maintaining the same throughput, to add parallelism. The JavaScript and UI threads can be handled by different processors (e.g., using a multi-core processor), thereby adding further parallelism and increasing the efficiency of processing an event.