Performance testing of STL and Qt library elements in multi-threaded processing


In recent years multithreaded processing has become a important programming aspect. Computers with a multi-core processor are now widely available, enabling the creation of more efficient applications. Many libraries support multithreaded solutions, but performance information is often lacking. The use of appropriate data structures and algorithms significantly speeds up the process of creation and development of applications. Article describes selected elements of the Qt and STL library and compares their performance in concurrent programming. The time needed to perform individual operations was analysed.


concurrent computing; multithreading; container performance; data structures

M. Matsuda, M. Sato, Y. Ishikawa, Parallel array class implementation using C++ STL adaptors, 2006.

H. Bischof H, Generic Parallel Programming Using C++ Templates and Skeletons, 2016, 43–55.

A. Williams, Język C++ i przetwarzanie współbieżne w akcji, 2019.

Opis struktury i zasady działania kontenerów C++., 2016, 42-55.

Dokumentacja techniczna C++ dotycząca standardu,, [23.05.2020].

R. Penea, Mastering Qt 5, 2016, 45-68.

Dokumentacja biblioteki Qt dotycząc kontenerów,, [29.05.2020].

B. Kyle, QThreads: An api for programming with millions of lightweight threads, 2010 24-26


Published : 2020-09-30

Krasowski, P., & Smołka, J. (2020). Performance testing of STL and Qt library elements in multi-threaded processing. Journal of Computer Sciences Institute, 16, 247-251.

Piotr Krasowski
Jakub Smołka