Suggestion for my benchmark using nanobind #389
-
Hi, I've recently created a repository to compare the performance of pybind, nanobind, and pyo3. During my tests, I noticed that the implementation with nanobind is slower compared to pybind. So, I'm struggling to find the reason for this difference. I would appreciate it if someone could take a look at my code and provide any insights or suggestions for improvement. The repository is available here, and you can find the code using nanobind under the Thank you in advance for your time and assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Adding |
Beta Was this translation helpful? Give feedback.
Adding
NOMINSIZE
andLTO
tonanobind_add_module
maximizes the performance.