79 research outputs found

    Comparison of Objective-C and Swift on the example of a mobile game

    Get PDF
    Mobile applications for the iOS platform can be developped using the Swift and Objective-C languages. The article presents a comparison between these languages based on a created mobile game. The structure and performance of these technologies were examined. Based on three devices, languages have been tested. Aspects such as RAM load, time between views, time to save data to the database and time to save data to file were tested as a part of the analysis. Two research hypotheses have been put forward: "Swift has a better performance than Objective-C" and "Swift has a simpler structure than Objective-C". The results obtained confirm that Swift is more efficient than Objective-C. Research into the structure of codes has proven that the newer language has a simpler structure than its predecessor

    Watershed merging method for color images

    Get PDF
    Watershed transformation can be applied to color as well as to gray-scale images. A problem arises when dealing with color images. It is caused by the fact that pixels in such images are vectors that describe all color components whereas the watershed transformation requires a scalar height function as its input. There are multiple gradient magnitude definitions for color images that allow for the needed conversion. As in the case of gray-scale images, the image after watershed transformation is heavily over-segmented. One can blur the image before calculating the gradient magnitude, threshold the gradient image or merge the resulting watersheds. Unfortunately, the result is still over-segmented.A solution presented in this paper complements those mentioned above. It uses hierarchical cluster analysis methods for joining similar classes of the over-segmented image into a given number of clusters. After the image has been preprocessed and segmented, the over-segmentation is reduced by means of the cluster analysis. The attribute values for each watershed in each color component are calculated and clustering is performed. The resulting similarity hierarchy allows for the simple selection of the number of clusters in the final segmentation.Several clustering methods, including complete linkage and Ward's methods with different sets of components, have been tested. Selected results are presented

    Comparative analysis of the availability of cinema websites, taking into account the principles of universal design

    Get PDF
    The subject of this study is to conduct a comparative analysis of cinema websites, taking into account the principles of universal design. The universal designing is a philosophy which central assumption is to create products, including graphic interfaces so that they are accessible to as many users as possible. An accessibility is a term that describes the extent to which users of different ages, with varying degrees of physical or mental fitness, can use it. Therefore, it is essential to adapt the interface to the largest possible audience when designing the interface. In the paper the following hypothesis has been defined: "The application of universal design principles increases the accessibility of websites”. The "Multikino" website has been selected for the research, which does not require the universal design, and the website created for the purpose of this study that meets these requirements. The research methods used in the study include eye-tracking, checking compliance with WCAG (ang. Web Content Accessibility Guidelines) guidelines using the WAVE (ang. Web Accessibility Evaluation Tool) tool, and conducting an interface assessment survey

    Semi-automatic watershed merging method

    Get PDF
    Watershed transformation frequently produces over-segmented images. The authorspropose a solution to this problem. It utilizes hierarchical cluster analysis for grouping watershedswhich are treated as objects characterized by a number of attributes. Initially the watershed mergingmethod was meant only for gray-scale images, but later it was adapted for colour images. This paperpresents further extension of the method that allows it to either automatically select the numberof classes or to provide a hint as to which numbers in a specified range should be considered first.Segmentation quality assessment functions for colour images are presented. The results obtained usingan extended watershed merging method are discussed. The examples of segmentations selected by themethod, along with the graphs of assessment functions, are shown

    Comparison of selected tools to perform unit tests

    Get PDF
    The paper presents a comparative analysis of selected tools to perform unit tests. The analysis covers three most popular frameworks: MSTest, NUnit and xUnit.net. The analysis concerns the comparison of the speed of tests performing by the tools in serial and parallel manner. The tests were carried out by the author's application dedicated to .NET platform

    ANALIZA OPTYMALIZACJI KWEREND JĘZYKA TRANSACT-SQL OPARTYCH O INDEKSY

    Get PDF
    The article presents a discussion of the optimisation methods involving the modification of query syntax on the example of the use of indexes that served for the application of the methods in practice, and the presentation and analysis of the test results and their comparison. All the queries were made in a Microsoft SQL Server Management Studio 2014 environment, using the AdventureWorksDW2012 test database provided by Microsoft. The object of the research were SELECT queries, which consequently returned the desired set of output data.Artykuł obejmuje omówienie metod optymalizacji polegających na modyfikacji składni zapytań na przykładzie wykorzystania indeksów, które posłużyły do zastosowania metod w praktyce, a także przedstawienie i analizę otrzymanych wyników badań i ich porównanie. Wszystkie zapytania zostały wykonane w środowisku Microsoft SQL Server Management Studio 2014 przy użyciu bazy testowej, udostępnionej przez firmę Microsoft, AdventureWorksDW2012. Obiektem badań były zapytania SELECT, które w rezultacie zwracały pożądany zbiór danych wynikowych

    Performance analysis of relational databases MySQL, PostgreSQL and Oracle using Doctrine libraries

    Get PDF
    In modern applications, databases perform a very important function but the choice of a database system and additional libraries may affect the speed of the operations. The paper presents a time analysis concerning the performing of insert, update, delete and select operations on three database systems, MySQL 8.0, PostgreSQL 14.1 and Oracle 21c, cooperating with an application using Doctrine libraries. The obtained results showed differences between performing operations with and without object-relational mapping. In cooperation with the application, the operations were carried out the fastest using the PostgreSQL system. The Oracle system performed data selection faster without mapping on a large data set

    Performance analysis of databases created in virtualized and containerized environment

    Get PDF
    Database systems are currently implemented on different environments - containerized and virtualized. This paper aimed to compare the performance of relational databases running on these two environments. Therefore, two research hypotheses were formulated. The first hypothesis assumed that databases running on Docker containers are more efficient than those on virtual machines. The second one assumed that the Oracle is the most efficient database regardless of which environment it was run on. MySQL, PostgreSQL, Microsoft SQL Server and Oracle databases were tested. The study measured the execution times of INSERT, UPDATE, DELETE and SELECT queries. Each test was repeated 100 times. It was stated that databases running on Docker containers outperform instances running on virtual machines. Furthermore, it was found that the PostgreSQL database have a definite advantage in performance over the rest, analysed databases, which allowed the second hypothesis to be rejected

    Video game performance analysis on selected operating systems

    Get PDF
    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

    Analysis of the use of Java and C# languages for building a mobile application for the Android platform.

    Get PDF
    Mobile applications for the Android platform can be implemented using Java or C#. The article presents a comparison of the time performance of these languages when sending various text, image and video files in a mobile application. The tests were carried out using two mobile applications with identical functionalities. Based on the collected data, the server application calculated statistics, such as, for example, the time required to send 1MB of data depending on the file type and size. Based on the results obtained, it was proved that in the case of data transfer via a wireless network, an application written in Java is characterized by greater time efficiency than an analogous application written in C#
    corecore