CPython基准 [英] Benchmarks for CPython

查看:95
本文介绍了CPython基准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究CPython代码库中的潜在更改,我希望该更改可能会带来一些性能上的好处.但是,尽管构建系统中有许多功能测试,但我发现与性能测试无关.

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?

如果需要的话,我自己构建性能测试没有问题(如果认为有用,可以将它们交付到CPython中),我只是想确保我不会不必要地重复工作.

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.

推荐答案

Python的Mercurial服务器具有一些基本基准可用作为回购. 自述文件包含一些基本信息.

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

这篇关于CPython基准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆