Skip to content

gpython: Optimize recursive call #49

Open

Description

@corona10

Thanks to tengo and @ncw, we can compare the gpython with other interpreted which are implemented in Go.

https://github.com/d5/tengo#benchmark

fib(35) benchmark is slower than I expected, we can optimize this point later.
(tail call is faster than CPython, I can't believe it!)

Activity

  1. ncw commented on Jan 21, 2019

    @ncw
    Collaborator

    :-) I suspect the times recorded for the tail recursive test are dominated by startup times rather than actually calling the functions.

    Perhaps we should have some internal benchmarks which run python code using the go benchmark framework? That would give us a solid baseline to work with.

    So we could have a benchmarks directory with python programs and a little driver to run them through the benchmark code.

  2. corona10 commented on Jan 22, 2019

    @corona10
    CollaboratorAuthor

    @ncw Looks like we have to create a new issue for build benchmark framework for gpython

  3. drew-512 commented on Feb 16, 2022

    @drew-512
    Contributor

    recommend @sbinet close -- addressed in #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions