Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Homework 11: Pavel Tsialnou#98

Open
paveltsialnou wants to merge 1 commit intoalenaPy:masteralenaPy/advanced_python:masterfrom
paveltsialnou:homework11Copy head branch name to clipboard
Open

Homework 11: Pavel Tsialnou#98
paveltsialnou wants to merge 1 commit intoalenaPy:masteralenaPy/advanced_python:masterfrom
paveltsialnou:homework11Copy head branch name to clipboard

Conversation

@paveltsialnou
Copy link

@paveltsialnou paveltsialnou commented Feb 28, 2019

  1. Preparation:

1.1. python setup.py build
1.2. python setup.py install

  1. Execution:

2.1. python benchmark.py
2.1. python test.py

  1. Results:

3.1. For C, Cython and Python versions (n=93):
module best times
c_fibs 1.1920928955078125e-06 1.0
cy_fibs 1.8835067749023438e-05 15.8
py_fibs 4.76837158203125e-05 40.0

3.2. For Cython and Python versions (n=1,000,000):
module best times
cy_fibs 1.1023995876312256 1.040477785486189
py_fibs 1.0595128536224365 1.0

1. Preparation:

  1.1. python setup.py build
  1.2. python setup.py install

2. Execution:

  2.1. python benchmark.py
  2.1. python test.py

3. Results:

  3.1. For C, Cython and Python versions (n=93):
    module     best                      times
    c_fibs     1.1920928955078125e-06    1.0
    cy_fibs    1.8835067749023438e-05    15.8
    py_fibs    4.76837158203125e-05      40.0

  3.2. For Cython and Python versions (n=1,000,000):
    module     best                      times
    cy_fibs    1.1023995876312256        1.040477785486189
    py_fibs    1.0595128536224365        1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.