Ograniczanie wyników
Czasopisma help
Autorzy help
Lata help
Preferencje help
Widoczny [Schowaj] Abstrakt
Liczba wyników

Znaleziono wyników: 65

Liczba wyników na stronie
first rewind previous Strona / 4 next fast forward last
Wyniki wyszukiwania
Wyszukiwano:
w słowach kluczowych:  performance analysis
help Sortuj według:

help Ogranicz wyniki do:
first rewind previous Strona / 4 next fast forward last
PL
Głównym celem pracy było porównanie wydajności dwóch popularnych szkieletów programistycznych języka PHP –Laravel 10 oraz Symfony 6 na podstawie aplikacji testowej typu CRUD. W ramach analizy porównawczej uwzględniono również specyfikę procesów implementacji oraz wielkości wsparcia społeczności programistów. Badanie zostało przeprowadzone przy użyciu dwóch prostych i niewielkich aplikacji testowych, posiadających ten sam zestaw funkcjonalności. Wydajność została oceniona na postawie czasów wykonywania pojedynczych operacji CRUD oraz jednoczesnej obsługi 10, 100, 500 i 1000 żądań. Pomiary czasów wykonania operacji - od momentu wysłania żądania do serwera, do momentu otrzymania odpowiedzi, były dokonywane za pomocą narzędzia Postman. Wyniki pokazały, że Symfony 6 jest lepszym rozwiązaniem dla aplikacji, gdzie wydajność ma zasadnicze znaczenie.
EN
The main purpose of the study is to compare the performance of two popular PHP language programming frameworks - Laravel 10 and Symfony 6 based on test CRUD-type applications. The benchmarking also considered the implementation process and support from the development community. The study was conducted using two simple and small test applications with the same sets of functionality. Performance was measured based on the execution times of single CRUD-type operations and handling dozens and hundreds of requests simultaneously. Execution times were measured via the Postman application from when the request was sent to the server until the response was received. The results showed that Symfony 6 is a better solution for applications where performance matters.
PL
Każdego roku ilość danych znacznie rośnie. Powoduje to konieczność posiadania narzędzi zdolnych do jak najszybszego przetwarzania danych. Celem tego artykułu jest przeprowadzenie analizy porównawczej narzędzi ORM (Object Relational Mapping) dostępnych w menedżerze NuGet. Porównanie narzędzi zostało przeprowadzone na dwóch systemach za-rządzania relacyjnymi bazami danych, PostgreSQL i MySQL. Każde narzędzie wykonało osiem operacji DML, w tym operacje SELECT, INSERT i UPDATE. Operacje były powtarzane odpowiednio 1, 10, 100, 1000 i 10 000 razy. Czas wykonania każdego zapytania był mierzony za pomocą klasy systemowej StopWatch dostępnej w środowisku .NET. Wyniki pokazały, że najlepszym narzędziem ORM okazał się Dapper.
EN
Every year amount of data significantly grows. This causes a need of tools capable of processing data as quickly as possible. The aim of this article is to perform a comparative analysis of ORM (Object Relational Mapping) tools available in the NuGet manager. The comparison of tools was carried out on two relational database management systems, PostgreSQL and MySQL. Each tool performed eight DML operations, including SELECT, INSERT and UPDATE operations. The operations were repeated 1, 10, 100, 1000, and 10,000 times, respectively. The execution time of each query was measured using the system StopWatch class available in the .NET environment. The results showed that the best ORM tool turned out to be Dapper.
EN
Pin fins have the potential to improve the thermal performance of various engineering devices. Modified pin fins could further increase their thermal performance in a passive way at lower cost. This study is aimed to numerically investigate the thermal performance of trenched hemispherical pin fins heat sink (THPFHS) and the influence of parameters including the trench number (N=1, 3 and 5) and thickness (e =1 to 5 mm). The simulations are performed using a CFD software considering turbulent air flow conditions. Results show that the use of aluminum fins fitted with one trench in the middle of the hemispherical pin fin considerably increases the local heat transfer. Furthermore, all studied configurations show high thermal performance factor (HTPF) compared with the conventional CPFHS (cylindrical pin fins heat sink). For this new configuration (THPFHS), Nu increases by 45% while the thermal resistance reduces by 42%, compared to the baseline case. On the other hand, this improved performance results in 50% pressure drop penalty. Moreover, the obtained results show a significant improvement in the performance mainly at high Re.
EN
This paper is devoted to the study of the impact of volumetric planning solutions and the main production and technological parameters of a modern warehouse on the effectiveness of its functioning. The object of analysis is a class A warehouse complex located in Almaty. Simulation modeling was utilized to find and substantiate management decisions. The software product AnyLogic was used as the environment for the simulation. This paper develops a generalized algorithm for creating simulation models of warehouse complexes and a simulation model consisting of 114 blocks. The model is presented in the form of a black box, which made it possible to identify and establish correlations and relations between the input and output parameters of the warehouse, as well as its resources. A simulation experiment was conducted consisting of 63 model calculations. Variation parameters were the number of loading and unloading docks, as well as the number of forklifts in the storage area. As a result of the simulation, four options for the operation of the warehouse were established to ensure the unloading and loading of the required number of cars during the day. The optimal variant of the functioning of the warehouse complex was chosen on the basis of the proposed comprehensive criterion.
EN
Recently, many research works have focused on fractional order systems and their approximation methods. It has been shown to be a useful tool for enhancing plant dynamics in terms of time and frequency performance. In this paper we propose a new approach for comparing between the different approximations methods of fractional order systems and disturbance rejection in PID control of DC motor by fractionalizing an integer order derivative operator in the original integer system. The implementation of the fractionalized terms is realized by mean of the well established approximation methods and in order to determine the best method, the responses of original integer system are compared to those of fractionalized systems. Illustrative simulations examples show that the fractionalization approach give the best decision (selected method) ,a good tool for comparison between different approximation methods and it give the good rejection of disturbances in PID control of DC motor . This approach can also be generalized to others numerical approximation methods and it can also be used in the area of systems control.
PL
Ostatnio wiele prac badawczych koncentrowało się na systemach rzędu ułamkowego i metodach ich aproksymacji. Wykazano, że jest to przydatne narzędzie do zwiększania dynamiki instalacji pod względem wydajności czasowej i częstotliwościowej. W tym artykule proponujemy nowe podejście do porównywania różnych metod aproksymacji systemów ułamkowego rzędu i odrzucania zakłóceń w sterowaniu PID silnika prądu stałego poprzez frakcjonowanie operatora pochodnej rzędu całkowitego w oryginalnym układzie całkowitym. Implementacja wyrazów ułamkowych jest realizowana za pomocą dobrze znanych metod aproksymacyjnych iw celu wyznaczenia najlepszej metody porównuje się odpowiedzi oryginalnego układu całkowitoliczbowego z odpowiedziami układów ułamkowych. Ilustracyjne przykłady symulacyjne pokazują, że podejście frakcyjne daje najlepszą decyzję (wybrana metoda), jest dobrym narzędziem do porównywania różnych metod aproksymacyjnych i zapewnia dobre odrzucanie zakłóceń w regulacji PID silnika prądu stałego. Podejście to można również uogólnić na inne metody aproksymacji numerycznej, a także można je stosować w obszarze sterowania systemami.
PL
Optymalizacja zapytań SQL jest istotnym elementem każdego systemu, wykorzystującego bazy danych. Świadomie dokonane zmiany w obrębie bazy danych pozwalają zyskać cenny czas. Dlatego też w niniejszym artykule wybrano i przedstawiono kilka różnych metod optymizacji, natomiast badania zostały przeprowadzone na silniku bazodanowym MS SQL. Czasy wykonania zapytań SQL dokładnie zmierzono według zdefiniowanych kryteriów, a następnie przeprowadzono optymalizację wydajnościową oraz powtórzono badania w celu ponownego określenia czasu wykonania zoptymalizowanych zapytań. Na podstawie porównanych wyników zostały wyciągnięte odpowiednie wnioski.
EN
Optimization of SQL queries is an important part of any system using a database. Several different optimization methods have been selected and presented in this article, The research was conducted on the MS SQL database engine. The execution times of SQL queries were carefully examined according to defined criteria, then performance optimization was done, followed by repeated tests to obtain results after the optimization. Finally, the results were compared through which conclusions were drawn.
PL
W artykule porównano dwa szkielety programistyczne we wskazanych wersjach. Badania przeprowadzono za pomocą aplikacji testowych o takich samych funkcjonalnościach, zaimplementowanych w obu środowiskach. Za kryterium porównawcze przyjęto liczbę bajtów zajmowanych przez oba projekty, liczbę wierszy z kodem, koniecznych do implementacji, średnie zużycie pamięci RAMoraz wydajność czasową. Wykonano automatyczne testy obciążeniowe oraz analizę technicznąobu środowisk. W wyniku badań stwierdzono, że React lepiej radzi sobie zobsług ą dużej liczby danych (około 100000 rekordów), natomiast w przypadku małychzbiorów danych oscylujących w okolicach 1000rekordów nie wykazanoistotnych różnic w działaniu obu aplikacji. W przypadku umiarkowanej liczby rekordów (10000) bardziej wydajny okazał się React.
EN
This paper presents the results of the comparative analysis of the two JavaScript frameworks. The research was carried out using test applications with the same functionalities, implemented in both environments. The number of bytes occupied by both projects, the number of lines of code, the average RAM consumption and the time efficiency were used as criteria for comparison. Automatic load tests and technical analysis of both environments were performed. The results showed that React is able to better handle a large amount of data (around 100 000 records), while for small data sets oscillating around 1000 records, no significant differences in both application performance were demonstrated. For a medium number of records (10000), React proved to be more efficient.
PL
Rynek gier komputerowych jest obecnie jednym z najbardziej dominujących w całym przemyśle informatycznym.Niestety nie zawsze producenci skupiają się na konserwacji starszych produkcji, co często uniemożliwia ich uruchomienie na nowszych systemach. Celem artykułu jest analiza wydajności gier komputerowych na wybranych systemach operacyjnych. Analizie poddano wydajność trzech pierwszych gier serii The Sims, wydanych w pierwszej dekadzie XXI wieku, na konfiguracji sprzętowej z systemem Windows XP oraz na drugiej z systemem Windows 10. Do wykonania badań wykorzystano trzy programy pozwalające na monitorowanie wydajności systemu oraz stanu jego podzespołów: Open Hardware Monitor, MSI Afterburner oraz Monitor Wydajności systemu Windows. Dodatkowo badane gry zostały również porównane pod kątem graficznym w celu stwierdzenia, czy ich wygląd oraz dostępne opcje dostosowania grafiki pozostaną niezmienne w obu konfiguracjach. Analiza wyników wykazała, iż pomimo mniejszego obciążenia systemu nowszego w przypadku każdej z gier, pojawiały się w nich pewnie anomalia graficzne nieobecne na starszym systemie.
EN
The video game industry is currently one of the most dominant in IT. Unfortunately, developers rarely focus on maintaining older games, which often leads to the inability to launch them on newer systems. The aim of the paper is the video game performance analysis on selected operating systems. The analysis was performed on the first three installments of The Sims series, published in the first decade of the 21st century, on a computer with Windows XP as the operating system and another with Windows 10 as the operating system. For the performance analysis three hardware monitoring programs were used: Open Hardware Monitor, MSI Afterburner and Windows Performance Monitor. In addition, all tested games were compared visually in order to determine whether their appearance and available graphic options are the same on both systems. Results analysis have shown, that despite lower system load in all games on the computer with Windows 10 there are some graphical anomalies not present on the older operating system.
PL
Celem pracy było przeprowadzenie analizy wydajnościowej trzech relacyjnych systemów zarządzania bazami danych: MySQL, PostgreSQL i Microsoft SQL Server. W badaniu wykorzystano skrypty mierzące długości czasów operacji wstawiania, aktualizacji i zwracania danych, a także trzy zestawy danych liczące kolejno 100, 1 000 i 10 000 rekordów. Eksperyment składał się z dziewięciu przypadków uwzględniających rodzaj operacji i wariant zestawu danych, dla których wykonano po trzydzieści pięć prób, przy czym pierwsze pięć prób pominięto m.in. ze względu na kwestie przechowywania danych w pamięci podręcznej. Otrzymane wyniki sprawdzono pod kątem istotności różnic, a następnie dla każdego z przypadków zliczono liczbę prób, w których oprogramowania uzyskały najlepsze wyniki. Na końcu wskazano i policzono najlepsze systemy dla poszczególnych przypadków i wyznaczono najwydajniejszy system dla całego badania oraz systemy dla testowanych rodzajów operacji.
EN
The objective of this study was to carry out a performance analysis of the following database systems: MySQL, PostgreSQL and Microsoft SQL Server. For this purpose scripts were used to measure execution times of selecting, updating and inserting data. Furthermore, three data sets were utilized consisting of 100, 1000 and 10000 rows. The experiment included nine cases depending on the query type and the data set. For each case, thirty five test trials were conducted while first five trials were ignored i.a. because of cache storage. The statistical test was performed for the results and the trials in which the DBMS achieved best times were counted. For each case best systems were acknowledged and the most efficient system of the experiment was determined along with systems for each operation type.
PL
Wydajność bazy danych jest jednym z najistotniejszych czynników wpływających na użyteczność systemu. Dlatego autorzy artykułu postanowili przebadać 3 popularne systemy bazodanowe: MySQL, MS SQL oraz PostgreSQL analizując ich wydajność. W tym celu przygotowano aplikację testową oraz wykorzystano oprogramowanie Docker, aby umożliwić symulację różnych parametrów sprzętowych. W zależności od wybranych ustawień oraz liczebności rekordów uzyskano inne wyniki. Dla małych zestawów danych różnice były niemal niezauważalne. Drastycznie zwiększyły się dla dużych zbiorów danych. W tym przypadku słabo wypadł MySQL, a najlepiej MS SQL. Oznacza to, że wybór bazy danych jest niezwykle istotny, a do jego podjęcia warto rozważyć dostępny sprzęt, liczebność danych oraz wykonywane zapytania.
EN
Database performance is one of the most important factors affecting the usability of the system. Therefore, the authors of the article decided to examine 3 popular database systems: MySQL, MS SQL and PostgreSQL, analyzing their performance. For this purpose, a test application was prepared and Docker software was used to simulate different hardware parameters. Depending on the selected settings and the number of records, different results were obtained. For small data sets, the differences were almost imperceptible. They have drastically increased for large data sets. In this case, MySQL fared poorly, and MS SQL was the best. This means that the choice of the database is very important, and it is worth considering the available hardware, the amount of data and the queries performed.
PL
Artykuł przedstawia analizę porównawczą dwóch aplikacji webowych napisanych w językach: PHP oraz Python. Stworzono aplikacje testowe, które zostały wyposażone w tą samą funkcjonalność wykorzystaną w badaniach polegających na pomiarze czasów odpowiedzi serwera na żądania typu INSERT, SELECT, UPDATE i DELETE –obsługujące operacje na bazie danych. Celem badań było porównanie obydwu języków pod względem wybranych kryteriów. Porównywano ich wydajność, objętość kodu źródłowego oraz popularność
EN
This article presents a comparative analysis of two web applications implemented in PHP and Python. Test applications were created and equipped with the same functionality used in tests consisting in measuring the server response times to INSERT, SELECT, UPDATE and DELETE requests - handling database operations. The purpose of the research was to compare both languages in terms of selected criteria. Their performance, source code volume and popularity were compared.
EN
Driver assistance systems have started becoming a key differentiator in automotive space and all major automotive manufacturers have such systems with various capabilities and stages of implementation. The main building blocks of such systems are similar in nature and one of the major building blocks is road lane detection. Even though lane detection technology has been around for decades, it is still an ongoing area of research and there are still several improvements and optimizations that are possible. This paper offers an Optimized Dynamic Origin Technique (Optimized DOT) for lane detection. The proposed optimization algorithm of optimized DOT gives better results in performance and accuracy compared to other methods of lane detection. Analysis of proposed optimized DOT with various edge detection techniques, various threshold levels, various sample dataset and various lane detection methods were done and the results are discussed in this paper. The proposed optimized DOT lane detection average processing time increases by 9.21 % when compared to previous Dynamic Origin Technique (DOT) and 59.09 % compared to traditional hough transform.
EN
The chapter discusses the performance aspects of intelligent agents in Complex Event Processing (CEP) systems. The contemporary solution for implementing CEP systems is based on available software components (Siddhi) and modern implementation techniques (Kubernetes). However, Siddhi lacks the implementation of modern deep learning algorithms. Hence, the concept of intelligent agent is introduced. A case study with a set of intelligent agents designed to handle real-world events related to environmental data monitoring is presented. The results of the case study discussion indicate a reasonable scale for tuning the Event Processing Element (EPA) topology with correct responses and the required output performance level. These results have important implications for the practical implementation of the EPA structure, i.e., the use of GPUs in CEP systems. Finally, the results of performance analysis of different implementations of intelligent agents are presented and discussed.
PL
W artykule przedstawiono wyniki badań eksperymentalnych procesu segmentacji sekwencji wizyjnych z wykorzystaniem systemów wbudowanych. Przetestowano wydajność rozwiązań opartych o mikrokomputer Raspberry Pi 4B oraz platformę Nvidia Jetson Nano pod kątem możliwości ich implementacji w platformie pomiarowej do automatycznego badania jakości działania lamp lotniskowych. Porównano szybkość przetwarzania dla różnych rozdzielczości obrazu oraz wymagania związane z zasilaniem modułów.
EN
The article presents the results of experimental research on the video segmentation process using two different embedded systems. The performance of solutions based on the Raspberry Pi 4B microcomputer and the Nvidia Jetson Nano platform was tested for the possibility of their implementation in a measurement platform for automatic testing of the quality of airport lamps. The processing speed for different image resolutions and the module power requirements were compared.
EN
Objectives: To make a clear literature review on state-ofthe-art heart disease prediction models. Methods: It reviews 61 research papers and states the significant analysis. Initially, the analysis addresses the contributions of each literature works and observes the simulation environment. Here, different types of machine learning algorithms deployed in each contribution. In addition, the utilized dataset for existing heart disease prediction models was observed. Results: The performance measures computed in entire papers like prediction accuracy, prediction error, specificity, sensitivity, f-measure, etc., are learned. Further, the best performance is also checked to confirm the effectiveness of entire contributions. Conclusions: The comprehensive research challenges and the gap are portrayed based on the development of intelligent methods concerning the unresolved challenges in heart disease prediction using data mining techniques.
EN
The performance of ultra-dense cellular networks considering both adaptive discrete modulation (ADM) and energy harvesting (EH) is investigated. Particularly, mobile users (MUs) are charged its battery from all ambient radio frequency (RF) signals. Based on the amount of harvested energy as well as the channel conditions, MU will actively choose an appropriate modulation scheme that not only maximizes the rate but also satisfies the quality-of-service (QoS). Moreover, we consider the spatial-temporal correlation at the signal-to-interference-plus-noise ratios (SINRs) of base stations (BSs) which are totally different from work in the literature. Several important metrics are investigated such as, occurrence probabilities of different modulation schemes (Poc), coverage probability (Pcov), and achievable spectral efficiency (ASE). Finally, the results highlight the superiority of the proposed scheme compared to the conventional fixed modulation.
EN
Background: In today’s rapidly changing global economy, airports have an important role in the social, cultural, and economic development of societies and in building bridges between interconnected markets. Sustainability requires a balance between economic, social, and environmental processes and performance-based progress in efforts on all three dimensions at an optimum level. Therefore, sustainable performance measurement and management is an important function for the control of airports. The suitability of investments in airports to respond to the increasing needs and expectations of the future can be realized through a rational structure that operates technologically, effectively, and efficiently. The need for this structure to be sustainable with above-average performance further increases the importance of the issue. This study aims to develop a sustainable performance software for airports by conducting a sustainable performance analysis based on multiple variables. Methods: For sustainable performance analysis at airports, it is important to include economic, social, and environmental parameters, which are the three sub-dimensions of sustainability, in all strategic, tactical, and operational processes and decision-making mechanisms. For the performance analysis of airports, the DEMATEL Method, and the Objectives Matrix (OMAX) Method, which evaluates all the criteria together, were used to weight various performance indicators. Results: The most important criterion at Antalya Airport, which is also the most affected by other criteria, is "economic". Sustainable performance scores of Antalya Airport for 2018 and 2019 were calculated. The airport's performance in 2019 is higher compared to 2018. Conclusions: The biggest achievement of this research is thought to be developing a “Sustainable Performance Software” for national and international airports. This study will also contribute to the emergence of studies that will reveal the performances of other airports and compare their past performances with their current and national performances.
PL
Wstęp: We współczesnej, szybko się zmieniającej globalnej gospodarce, lotniska odgrywają ważną rolę w socjalnym, kulturalnym i ekonomicznym rozwoju społeczności oraz w budowaniu nowych mostów pomiędzy różnymi rynkami. Rozwój zrównoważony oznacza zachowanie balansu pomiędzy ekonomicznymi, społecznymi i środowiskowymi procesami oraz postępem we wszystkich tych trzech wymiarach na optymalnym poziomie. Dlatego też pomiar jak i zarządzanie zrównoważonej działalności odgrywa istotną funkcję w kontroli lotnisk. Zachowanie zasada zrównoważonego rozwoju w inwestycjach lotniskowych, będących odpowiedzią na zwiększający się popyt na ich usługi może być realizowany efektywnie w ramach zracjonalizowanej struktury. Struktura ta powinna odpowiadać zasadom rozwoju zrównoważonego, który to będzie odgrywał coraz istotniejszą rolę i zwiększał swoje znaczenie. Celem pracy jest opracowanie oprogramowania oceny rozwoju zrównoważonego lotnisk poprzez analizę działalności zrównoważonej obejmującą wiele zmiennych. Metody: Do przeprowadzenia analizy działalności zrównoważonej lotniska, istotne jest uwzględnienie ekonomicznych, społecznych oraz środowiskowych czynników, które są trzema podwymiarami rozwoju zrównoważonego we wszystkich strategicznych, taktycznych i operacyjnych procesach i mechanizmach decyzyjnych. W celu przeprowadzenia analizy, zastosowano metody DEMATEL oraz OMAX (Objectives Matrix), umożliwiające uwzględnienie tych wszystkich czynników równocześnie, poprzez zastosowanie wskaźników wagowych. Wyniki: Najważniejszym czynnikiem dla lotniska Antalya, jak również o największym znaczeniu, jest czynnik ekonomiczny. Współczynniki działalności zrównoważonych dla lotniska Antalya zostały obliczone dla lat 2018 oraz 2019. Działalność lotniska w 2019 była większa aniżeli w 2018. Wnioski: Największym osiągnięciem tej pracy jest opracowanie “aplikacji oceny działalności zrównoważonej” dla zarówno krajowych jak i międzynarodowych lotnisk. Praca ta przyczynia się również do pogłębienia prac badawczych nad działalnością innych lotnisk oraz porównania ich działania z poprzednimi ich osiągnięciami.
PL
Artykuł przedstawia analizę porównawczą popularnych szkieletów programistycznych ASP.NET Core MVC oraz Symfony 4. W technologiach tych zaimplementowano dwie aplikacje internetowe, zawierające te same funkcjonalności, pełniące funkcję prostego systemu do zarządzania artykułami. Te aplikacje zostały poddane testom wydajności czasowej podczas realizacji typowych operacji wykonywanych za pośrednictwem prostego formularza takich jak wprowadzanie, edycja, wyświetlanie i usuwanie danych. Czynności te były wykonywane automatycznie za pomocą poleceń z biblioteki Puppeteer. Wyszczególnione operacje były powtarzane 10, 100 i 1000 razy w celu uzyskania precyzyjnych średnich czasów. Na podstawie otrzymanych wyników trudno było jednoznacznie stwierdzić, które z porównywanych narzędzi programistycznych jest lepsze. Z dwiema czasochłonnymi operacjami tzn. wprowadzaniem i edycją danych, znacznie lepiej radził sobie framework ASP.NET Core. Jego wyniki pod tym względem (średnia z 1000 powtórzeń) były odpowiednio o około 28% i 25% lepsze w stosunku do szkieletu Symfony 4. Natomiast dla dwóch mniej czasochłonnych operacji, czyli wyświetlania i usuwania artykułów, wyraźnie lepszym okazał się szkielet Symfony 4. Jego wyniki dla wyświetlania i usuwania artykułów (średnia dla 1000 pomiarów) były o 15 i 36 procent odpowiednio niższe w stosunku do drugiego badanego szkieletu.
EN
The article presents a comparative analysis of popular ASP.NET Core MVC and Symfony 4 frameworks. Two web applications, containing the same functionalities and acting as a simple system for managing articles, were implemented in these technologies. The applications underwent time performance tests during typical operations performed by means of a simple form such as entering, editing, viewing and deleting data. These actions were performed automatically using commands from the Puppeteer library. The listed operations were repeated 10, 100 and 1,000 times in order to obtain precise mean times. On the basis of the obtained results, it was difficult to clearly state which of the compared programming tools is better. The ASP.NET Core MVC framework coped much better with two time-consuming operations, i.e. entering and editing data. Its results in this regard (the average from 1,000 repetitions) were respectively approximately 28% and 25% better compared to the Symphony 4 framework. However, for the two less time-consuming operations, i.e. displaying and deleting articles, the Symphony 4 framework proved to be considerably better. Its results with regard to displaying and deleting articles (the average for 1,000 measurements) were respectively 15% and 36% lower compared to the other of the tested frameworks.
PL
Celem pracy było porównanie dwóch technologii do tworzenia aplikacji serwerowych opartych na języku programowania JavaScript. Na potrzeby badań utworzono dwie aplikacje testowe: pierwszą zbudowano na podstawie szkieletu programistycznego Express, a druga została wykonana na bazie szkieletu Hapi. Część kliencką obu aplikacji przygotowano za pomocą biblioteki React. Część kliencka i serwerowa komunikowały się ze sobą za pośrednictwem REST API - uniwersalnego interfejsu HTTP. Aplikacja kliencka wysyłała żądania do aplikacji serwerowej, która następnie wykonywała podstawowe operacje na bazie MongoDB i zwracała rezultat. W ramach pracy opracowano eksperyment składający się z czterech scenariuszy. W każdym scenariuszu operowano na innym typie danych: łańcuchu znaków, tablicy, obiekcie oraz tablicy obiektów. W badaniach skoncentrowano się na aspekcie wydajnościowym - pomiarze czasów obsługi żądań podczas operacji GET, POST, PUT i DELETE. Badania przeprowadzono na dwóch komputerach, a pomiary wykonano dwoma sposobami: za pomocą prostego kodu wbudowanego w aplikacje testowe oraz za pomocą narzędzia Postman. Uzyskane wyniki, po ich uśrednieniu i przeanalizowaniu pozwoliły na sformułowanie wniosku, że szkielet Express okazał się wydajniejszy niż Hapi, ze względu na krótsze czasy obsługi żądań. Tylko w scenariuszu, w którym wykonywano operacje na dużych zbiorach danych, czasy obsługi żądań były na podobnym poziomie.
EN
The aim of the work was to compare two technologies for creating server applications based on the JavaScript pro-gramming language. For the purposes of the research, two test applications were created. The first one was built on the basis of the Express programming framework and the second one on the basis of the Hapi framework. The client part of both applications was prepared using the React library. The client and server parts communicated with each other by means of REST API – the universal HTTP interface. The client application sent requests to the server application which then performed basic operations on the MongoDB basis and returned the result. As part of the work, an experiment consisting of four scenarios was developed. In each scenario, a different type of data was taken into consideration: a string of characters, an array, an object and an array of objects. The research focused on the efficiency aspect – measuring the response time of requests during GET, POST, PUT and DELETE operations. The tests were performed on two computers and the measurements were made in two ways: using a single code embedded in test applications and using the Postman tool. The obtained results, after averaging and analyzing them allowed for the conclusion that the Express framework proved to be more efficient than Hapi due to the shorter response time of requests. Only in the scenario where operations with large datasets were performed was the response time of requests at a similar level.
PL
Przedmiotem tej pracy jest analiza porównawcza trzech szkieletów programistycznych do budowy aplikacji interneto-wych dla języka Java: Spring Boot 2.4.4, Micronaut 2.5.4 oraz Quarkus 1.13.4.Final. Przygotowano aplikacje testowe, wyposażone w tą samą funkcjonalność, które wykorzystano w eksperymencie, polegającym na pomiarze czasów odpowiedzi serwera na żądania typu POST, GET, PUT i DELETE – realizujące operacje na bazie danych. Dla każdej aplikacji testowej, powtórzono pięciokrotnie scenariusz, który miał na celu zmierzyć czas obsługi żądań w różnych warunkach obciążeniowych. Podczas każdego powtórzenia zwiększano wielkość obciążenia, które oznaczało średnią liczbę wysyłanych żądań na sekundę przez wirtualnych użytkowników. Równolegle z badaniami wydajności wykonano pomiary niezawodności aplikacji testowych. Niezawodność zdefiniowano jako odsetek żądań wysyłanych do serwera, które zakończyły się niepowodzeniem. W porównaniach wzięto również pod uwagę objętość kodu aplikacji testowych opartych na wybranych szkieletach. Z przeprowadzonych analiz wynikło, że pod względem większości rozpatrywanych w ramach tej pracy kryteriów najlepszym szkieletem programistycznym okazał się Micronaut.
EN
The aim of the work is a comparative analysis of three frameworks designed for building web applications for the Java programming language: Spring Boot 2.4.4, Micronaut 2.5.4 and Quarkus 1.13.4.Final. Test applications were prepared, equipped with the same functionality as used in the experiment consisting in measuring the server response times to a request of POST, GET, PUT and DELETE performing operations on the database. For each test application, the scenario aimed at measuring the time of handling requests under various load conditions was repeated five times. During each repetition of the scenario, the load which was the average number of requests sent per second by virtual users was increased. In parallel with performance tests, the reliability of the test applications was measured. Reliability was defined as the percentage of requests sent to the server that ended in a failure. The comparative analysis also took into consideration the volume of the code of the test applications based on the selected frameworks. The performed analyses showed that in terms of most of the criteria considered in this work Micronaut proved to be the best framework.
first rewind previous Strona / 4 next fast forward last
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.