Performance Comparison of Python Translators for a Multi-threaded CPU-bound Application

03/15/2022
by   Andrés Milla, et al.
0

Currently, Python is one of the most widely used languages in various application areas. However, it has limitations when it comes to optimizing and parallelizing applications due to the nature of its official CPython interpreter, especially for CPU-bound applications. To solve this problem, several alternative translators have emerged, each with a different approach and its own cost-performance ratio. Due to the absence of comparative studies, we have carried out a performance comparison of these translators using N-Body as a case study (a well-known problem with high computational demand). The results obtained show that CPython and PyPy presented poor performance due to their limitations when it comes to parallelizing algorithms; while Numba and Cython achieved significantly higher performance, proving to be viable options to speed up numerical algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/25/2022

Assessing the impacts of decomposing a monolithic application for microservices: A case study

Monolithic applications are being decomposed into microservices architec...
research
10/14/2019

Some remarks on the performance of Matlab, Python and Octave in simulating dynamical systems

Matlab has been considered as a leader computational platform for many e...
research
05/10/2021

PeriPy – A High Performance OpenCL Peridynamics Package

This paper presents a lightweight, open-source and high-performance pyth...
research
12/15/2022

Triangulating Python Performance Issues with Scalene

This paper proposes Scalene, a profiler specialized for Python. Scalene ...
research
01/10/2018

Five Proofs of Chernoff's Bound with Applications

We discuss five ways of proving Chernoff's bound and show how they lead ...
research
12/23/2011

A Study on Using Uncertain Time Series Matching Algorithms in MapReduce Applications

In this paper, we study CPU utilization time patterns of several Map-Red...
research
04/19/2021

Accelerating key bioinformatics tasks 100-fold by improving memory access

Most experimental sciences now rely on computing, and biological science...

Please sign up or login with your details

Forgot password? Click here to reset