Skip to content

Generating Python bindings performance

Fedor Chelnokov edited this page Oct 13, 2024 · 4 revisions

Generating Python bindings performance

All C++ functions and classes are automatically exposed to Python using MRBind, see more.

Since the number of exposed entities is huge, this process is not instantaneous and proper build settings are crucial for best performance.

Below measurements were made on a computer with

OS: Windows 11
CPU: Model Name AMD Ryzen 9 3900X 12-Core Processor, 24 Concurrent Threads
Memory: 64 Gb

Release configuration

This configuration takes much more time due to compiler optimizations, and is built with the command

scripts\mrbind\generate_win.bat -B -j NumThreads NUM_FRAGMENTS=NumFragments
Clone this wiki locally