timeit
mandelbrot-comparison
timeit | mandelbrot-comparison | |
---|---|---|
1 | 4 | |
12 | 13 | |
- | - | |
8.4 | 1.8 | |
almost 2 years ago | over 1 year ago | |
C++ | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
timeit
mandelbrot-comparison
-
Performance comparison/benchmark of raw computational power between 1.8 GHz Raspberry Pi 400 and 3.8 GHz Ryzen 9 3900X
$ git clone https://github.com/Toxe/mandelbrot-comparison.git $ cd mandelbrot-comparison $ mkdir build $ CC=gcc CXX=g++ CFLAGS=-march=native CXXFLAGS=$CFLAGS cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -B build $ cmake --build build $ ./build/C++/mandelbrot_cpp 800 600 1000 50 -0.6906988741504118 0.4652112500501954 0.00000325 gradients/benchmark.gradient out.raw $ ./build/C++/mandelbrot_cpp_async 800 600 1000 50 -0.6906988741504118 0.4652112500501954 0.00000325 gradients/benchmark.gradient out.raw 4
-
Mandelbrot with sfml. Github in comments.
It is based on a comparison project of mine where I have the same Mandelbrot algorithm/program in 5 different languages (C, C++, Python, PHP and Swift): https://github.com/Toxe/mandelbrot-comparison
-
How much faster is C++ than Python?
In my experience by comparing the calculation of Mandelbrot fractals C++ was usually 60 to 80 times faster than Python.
What are some alternatives?
mandelbrot-sfml-imgui - Interactive multi-threaded C++ Mandelbrot renderer using SFML + ImGui running at constant 60 FPS
XaoS - Real-time interactive fractal zoomer
cvise - Super-parallel Python port of the C-Reduce
cxxmatrix - C++ Matrix: The Matrix Reloaded in Terminals (Number falls, Banners, Matrix rains, Conway's Game of Life and Mandelbrot set)
Mandelbrot
swapview-rosetta - Print swap usage per process. Implemented in various programming languages
timemory - Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
pi-estimator - Program to estimate pi written in multiple languages to compare speed of execution. Inspired by Joma Tech
Data-Structures-and-Algorithms - Data Structures and Algorithms implemented In Python, C, C++, Java or any other languages. Aimed to help strengthen the concepts of DSA. Give a Star 🌟 if it helps you.