Performance comparison of the FilterAndSortCandidates
function between Python.Boost and pybind11 on three different platforms.
Platform | Python 2 (ms) | Python 3 (ms) | ||
---|---|---|---|---|
Python.Boost | pybind11 | Python.Boost | pybind11 | |
Ubuntu 16.04 64-bit | 67 | 34 | 42 | 30 |
macOS 10.13 | 79 | 33 | 40 | 31 |
Windows 7 64-bit | 71 | 29 | 30 | 25 |
./prof.py --runs 20
The prof.py
script can be found on this branch.