Skip to content

Source code repository for CS4100 term project: Python at C-Speed.

Notifications You must be signed in to change notification settings

MiguelAgueda/Python-at-C-Speed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python at C-Speed

How can the C and Python programming languages be used, together, to form more efficient software? Optimizing Python run time performance can be achieved with the following methods;

Currently, comparisons between pure Python, Numba, and NumPy have been implemented in Source Code/comparison_plotter.py

Running the Demonstration

Dependencies

To run comparison_plotter.py, a few dependencies must first be installed.

The version number may or may not affect the results of the program. They are included for the reproducibility of experimental results.

  • Python ver. 3.8.5
  • matplotlib ver. 3.3.3
  • numba ver. 0.51.2
  • numpy ver. 1.17.4

The Program

To run the Python program, first navigate to this project's root folder.

Next, run the following command to start the program.

python3 Source\ Code/comparison_plotter.py

Alternatively, from the Source Code folder, the following command will start the program.

python3 comparison_plotter.py

Results

Upon completion of all processes, MatPlotLib will generate and display a graph for each process's run time. Within the MatPlotLib window, the graph can be zoomed in and moved for further analysis.

About

Source code repository for CS4100 term project: Python at C-Speed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages