Skip to content

Instantly share code, notes, and snippets.

@micbou
Last active April 11, 2018 18:30
Show Gist options
  • Save micbou/08702a52950d010ae5918ee58b47a6a9 to your computer and use it in GitHub Desktop.
Save micbou/08702a52950d010ae5918ee58b47a6a9 to your computer and use it in GitHub Desktop.
ycmd performance comparison between Python.Boost and pybind11

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
Results obtained by running the command
./prof.py --runs 20

The prof.py script can be found on this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment