Benchmarks for CPython

喜欢而已 提交于 2019-12-11 13:38:09

问题


I'm investigating a potential change in the CPython code base which I'm hoping may provide some performance benefits. However, though there are plenty of functionality tests in the build system, I can find nothing to do with performance testing.

I would think that this would be ideal in order to check both whether:

  • any proposed performance improvements actually deliver what they intend; and
  • whether any functionality changes cause serious performance issues.

Have I missed something in the repo, or is there a performance test somewhere else that I should be using?

I have no issue with building my own performance tests if need be (and delivering them into CPython if they're considered useful), I just wanted to ensure I wasn't duplicating effort unnecessarily.


回答1:


Python's Mercurial server has some basic benchmarks available as a repo. The README contains some basic info on them.



来源:https://stackoverflow.com/questions/34057850/benchmarks-for-cpython

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!