scholarly journals Performance Evaluation of Java Programming Strategies

2021 ◽  
Vol 10 (4) ◽  
pp. 146-159
Author(s):  
Qusay Idrees Sarhan

Java is one of the most demanding programming languages nowadays and it is used for developing a wide range of software applications including desktop, mobile, embedded, and web applications. Writing efficient Java codes for those various types of applications (which some are critical and time-sensitive) is crucial and recommended best practices that every Java developer should consider. To date, there is a lack of in-depth experimental studies in the literature that evaluate the impact of writing efficient Java programming strategies on the performance of desktop applications in terms of runtime. Thus, this paper aims to perform a variety of experimental tests that have been carefully chosen and implemented to evaluate the most important aspects of desktop efficient Java programming in terms of runtime. The results of this study show that significant performance improvements can be achieved by applying different programming strategies.

Entropy ◽  
2021 ◽  
Vol 23 (4) ◽  
pp. 421
Author(s):  
Dariusz Puchala ◽  
Kamil Stokfiszewski ◽  
Mykhaylo Yatsymirskyy

In this paper, the authors analyze in more details an image encryption scheme, proposed by the authors in their earlier work, which preserves input image statistics and can be used in connection with the JPEG compression standard. The image encryption process takes advantage of fast linear transforms parametrized with private keys and is carried out prior to the compression stage in a way that does not alter those statistical characteristics of the input image that are crucial from the point of view of the subsequent compression. This feature makes the encryption process transparent to the compression stage and enables the JPEG algorithm to maintain its full compression capabilities even though it operates on the encrypted image data. The main advantage of the considered approach is the fact that the JPEG algorithm can be used without any modifications as a part of the encrypt-then-compress image processing framework. The paper includes a detailed mathematical model of the examined scheme allowing for theoretical analysis of the impact of the image encryption step on the effectiveness of the compression process. The combinatorial and statistical analysis of the encryption process is also included and it allows to evaluate its cryptographic strength. In addition, the paper considers several practical use-case scenarios with different characteristics of the compression and encryption stages. The final part of the paper contains the additional results of the experimental studies regarding general effectiveness of the presented scheme. The results show that for a wide range of compression ratios the considered scheme performs comparably to the JPEG algorithm alone, that is, without the encryption stage, in terms of the quality measures of reconstructed images. Moreover, the results of statistical analysis as well as those obtained with generally approved quality measures of image cryptographic systems, prove high strength and efficiency of the scheme’s encryption stage.


2019 ◽  
Vol 21 (9) ◽  
pp. 1577-1583
Author(s):  
Carlos Guardiola ◽  
Benjamín Pla ◽  
Marcelo Real ◽  
Cyril Travaillard ◽  
Frederic Dambricourt

The impact of short-circuit pulses on the after-treatment system of a spark-ignited engine must be taken into account to keep the fuel-to-air equivalence ratio within the three-way catalyst window, thereby reducing pollutant emissions. The fuel-to-air equivalence ratio overestimation that suffers the wide-range λ-sensor upstream three-way catalyst in the presence of short circuit is especially relevant. In this study, a novel approach to deal with the fuel-to-air equivalence ratio control under short-circuit conditions is introduced. Under this scope, this work proposes a strategy for the on-board correction of the aforementioned fuel-to-air equivalence ratio overestimation, by means of the information regarding short-circuit level that provides the frequency content of the λ-sensor at the engine frequency. Finally, the potential of this approach to minimize pollutant emissions, in particular the NO x penalty arisen as a consequence of running the engine under leaner conditions than expected, is assessed through experimental tests.


Author(s):  
Nikolina Stanić Loknar ◽  
◽  
Diana Bratić ◽  
Ana Agić ◽  
◽  
...  

Kinetic typography - text in motion is an animation method of characters that has a video form instead of some "static" form such as picture, poster or book. The most important element for figuration of kinetic typography is the choice of font. Furthermore, one should think about the letter cut, the size and color of the characters, and the background color on which the animation takes place. It can be created in various ways, most often using software that applies a multitude of effects to the text or letter character, creating dynamic solutions. The effects vary from the simplest such as "fade-in" and "fade-out" (entering and exiting text in and out of the frame). Static characters can expand, narrow, move slowly or rapidly, grow and change in a variety of ways to very complex ones in which the author builds an entire story or promotional video by carefully combining software capabilities. However, each software has its limitations and for this reason the kinetic typography presented in this paper is programmed using codes. In a wide range of available programming languages due to the simple interface that does not require advanced programming concepts and gives exceptional results in the field of kinetic typography, Processing was chosen. The Processing programming language is intended for generating and modifying graphics and is based on the Java programming language. The most important difference between Processing and Java is that Processing offers a simple programming interface that does not require advanced levels of programming such as classes, objects, or animations. It also allows advanced users to use them. Processing uses a variety of typography rendering approaches such as raster and vector solutions and allows typography to be programmed and displayed on the Web independently of the user's Web browser and font database. Processing enables the use of visual elements in animation, including typographic ones, by introducing interaction to the user. The user is no longer a passive observer but actively participates in the performance of the application whose final appearance is not predefined but arises from the actions of each individual user. For the purposes of this paper, individual letters were created in a font-making program. The letters made are of various written classifications and cuts, which with their variety contribute to the attractiveness of the animation. In the creating of motion typography in this paper, the programming language Processing was used. Written program codes that manipulate words, letters, or parts of characters to create interesting visual effects for the viewer that aim to hold the viewer's attention and convey the desired message or emotion. There are no strict rules and patterns when making kinetic typography. In kinetic typography, each author determines his own rules, method of production, and there are no same solutions.


2017 ◽  
Vol 4 (1) ◽  
pp. 31-40
Author(s):  
Christian Christian ◽  
Kho I Eng ◽  
Heru Purnomo Ipung

Configuration parameter tuning is an essential part of the implementation of Hadoop clusters. Each parameter in a configuration plays a role that impacts the ov erall performance of the cluster. Therefore, we need to learn the characteristics of said parameter and understand the impact in hardware utilization in order to achieve optimal configuration. In this paper, we conducted experiments that includes modifying configuration and performed benchmark to find out if there is any performance gain. TeraSort is the program that runs the benchmark, we measure the time needed to complete the sort of the set of data and the CPU utilization during the benchmark. We conclu de that from our experiments we can see significant performance improvements by tuning with the configurations. However, the results may vary between different cluster configuration.


2014 ◽  
Vol 8 (1) ◽  
pp. 183-192 ◽  
Author(s):  
Hao Wang ◽  
Anqi Zhang ◽  
Yi Li ◽  
Weiming Yan

Progressive collapse of building structures is generally triggered by a local failure due to accidental actions, followed by subsequent chain effect of the structures which may result in wide range failure or even collapse of the entire buildings. Since the “911” event, progressive collapse of building structures has been widely concerned by engineers and researchers. This paper assesses the current researches on this issue from experimental study, numerical simulation and theoretical analysis. Given the limitation of costs and difficulties of experimental tests, the experimental studies investigate the collapse mechanism, such as development of stress/strain and damage/failure of materials, mainly via the scaled down specimens of structural components and substructures. On the other hand, the collapse behavior of entire building structures is analyzed via the numerical methods, such as the finite element method and the discrete element method. Further, the collapse resistance demand and the robustness assessment for building structures are theoretically studied in depth in which the simplified theoretical models of the collapse-resisting demand and the collapse risk assessment are proposed respectively. At last, the design method to prevent progressive collapse for building structures is also discussed.


Author(s):  
M. Necip Sahinkaya ◽  
Robert M. C. Rayner ◽  
Geoff Vernon ◽  
Graham Shirley ◽  
Raj K. Aggarwal

The aim of the work described in this paper is to improve the dynamic performance of a one-degree-of-freedom packaging mechanism through demand signal shaping to minimize the peak to peak motor torque. This enables the mechanism to operate at higher speeds with lower vibration and noise levels, and hence with higher accuracy. Initial experimental tests have shown the motion of the Woodpecker mechanism to suffer from dynamic, vibration problems synonymous with a mechanism possessing large amounts of harmonic content in its output motion. The dynamics of the Woodpecker mechanism and the accompanying servo system are developed and the likely causes of the dynamic issues experienced are identified. A computer model of the complete system drive unit is developed utilizing experimental data. The intention is to use the model in further detailed analytical work to shape the velocity demand signal passed to the system. Inverse dynamics are used to derive the variation in driving torque, which must be exerted on the mechanism crank by the drive motor for the mechanism to achieve a constant speed over the complete cycle. Based on the computer model, a novel technique to shape the speed demand signal is developed and it is shown that significant performance improvements can be achieved without re-synthesizing the mechanism or altering the existing industrial controller.


2019 ◽  
Vol 17 (4) ◽  
pp. 1107-1146 ◽  
Author(s):  
Andrew Eyles ◽  
Stephen Machin

Abstract This paper studies the origins of what has become one of the most radical and encompassing programmes of school reform seen in the recent past in advanced countries—the introduction of academy schools to English education. Academies are independent state funded schools that are allowed to run in an autonomous manner outside of local authority control. Almost all academies are conversions from already existent state schools and so are school takeovers that enable more autonomy in operation than was permitted in their predecessor state. Studying the first round of conversions that took place in the 2000s, where poorly performing schools were converted to academies, a focus is placed on legacy enrolled pupils who were already attending the school prior to conversion. The impact on end of secondary school pupil performance is shown to be positive and significant. Performance improvements are stronger for pupils in urban academies and for those converting from schools that gained relatively more autonomy as a result of conversion.


Energies ◽  
2020 ◽  
Vol 13 (21) ◽  
pp. 5562
Author(s):  
Mariusz Baranski ◽  
Wojciech Szelag ◽  
Wieslaw Lyskawinski

The paper justifies the validity of analyzing the impact of temperature and the process of partial demagnetization of magnets on the operating parameters of machines. To analyze this impact, a field model of coupled electromagnetic and thermal phenomena in a permanent magnet synchronous motor was proposed. The non-linearity of the magnetic circuit, the effect of temperature on the magnetic, electrical and thermal properties of the materials as well as the developed method of modeling the process of partial demagnetization of the magnet were taken into account. Based on this model, an algorithm and software were developed to analyze the effect of temperature and the process of partial demagnetization of magnets on the work of the line start permanent magnet synchronous motor (LSPMSM). The elaborated software was used to study the effect of temperature during the motor starting phase on the magnetization state of the magnets after the start-up process. The calculation results were compared to the results of experimental studies. The experimental tests were carried out on a specially constructed test stand. The results of the research on the process of partial demagnetization of the magnets are presented and the conclusions resulting therefrom formulated.


Author(s):  
Marcel Bengs ◽  
Finn Behrendt ◽  
Julia Krüger ◽  
Roland Opfer ◽  
Alexander Schlaefer

Abstract Purpose Brain Magnetic Resonance Images (MRIs) are essential for the diagnosis of neurological diseases. Recently, deep learning methods for unsupervised anomaly detection (UAD) have been proposed for the analysis of brain MRI. These methods rely on healthy brain MRIs and eliminate the requirement of pixel-wise annotated data compared to supervised deep learning. While a wide range of methods for UAD have been proposed, these methods are mostly 2D and only learn from MRI slices, disregarding that brain lesions are inherently 3D and the spatial context of MRI volumes remains unexploited. Methods We investigate whether using increased spatial context by using MRI volumes combined with spatial erasing leads to improved unsupervised anomaly segmentation performance compared to learning from slices. We evaluate and compare 2D variational autoencoder (VAE) to their 3D counterpart, propose 3D input erasing, and systemically study the impact of the data set size on the performance. Results Using two publicly available segmentation data sets for evaluation, 3D VAEs outperform their 2D counterpart, highlighting the advantage of volumetric context. Also, our 3D erasing methods allow for further performance improvements. Our best performing 3D VAE with input erasing leads to an average DICE score of 31.40% compared to 25.76% for the 2D VAE. Conclusions We propose 3D deep learning methods for UAD in brain MRI combined with 3D erasing and demonstrate that 3D methods clearly outperform their 2D counterpart for anomaly segmentation. Also, our spatial erasing method allows for further performance improvements and reduces the requirement for large data sets.


2018 ◽  
Author(s):  
Kit S Double

Peer assessment has been the subject of considerable research interest over the last three decades, with numerous educational researchers advocating for the integration of peer assessment into schools and instructional practice. Research synthesis in this area has, however, largely relied on narrative reviews to evaluate the efficacy of peer assessment. Here we present a meta-analysis (54 studies, k = 141) of experimental and quasi-experimental studies that evaluated the effect of peer assessment on academic performance in primary, secondary, or tertiary students across subjects and domains. An overall small to medium effect of peer assessment on academic performance was found (g = 0.31, p < .001). The results suggest that peer assessment improves academic performance compared with no assessment (g = 0.31, p < .001) and teacher assessment (g = 0.28, p = .007), but was not significantly different in its effect from self-assessment (g = 0.23, p = .209). Additionally, meta-regressions examined the moderating effects of several feedback and educational characteristics (e.g. online vs offline, frequency, education level etc.). Results suggested that the effectiveness of peer assessment was remarkably robust across a wide range of contexts. These findings provide support for peer assessment as a formative practice and suggest several implications for the implementation of peer assessment into the classroom.


Sign in / Sign up

Export Citation Format

Share Document