A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/110585.html below:

[Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

[Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x) [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)Stefan Behnel stefan_ml at behnel.de
Fri Apr 8 14:28:12 CEST 2011
Maciej Fijalkowski, 08.04.2011 13:37:
> On Fri, Apr 8, 2011 at 12:18 PM, Stefan Behnel wrote:
>>>> So, once CPython is up and running in the benchmark test, adding Cython
>>>> should be as easy as copying the configuration, installing Cython and
>>>> adding
>>>> two lines to site.py.
>>>
>>> can you provide a simple command line tool for that? I want
>>> essentially to run ./cython-importing-stuff some-file.py
>>
>> You can try
>>
>>     python -c 'import pyximport; \
>>                pyximport.install(pyimport=True); \
>>                exec("somefile.py")'
>
> I think you meant execfile.

Ah, yes. Untested. ;)


> Also, how do I make sure that somefile.py
> is also compiled?

It's not getting compiled because it's not getting imported. Maybe we 
should discuss the exact setup for speed.pypy.org in private e-mail.

Stefan

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4