Skip to content

Slow. #26

@rainwoodman

Description

@rainwoodman

Running the tinypy compiler under tpvm is very slow -- suggesting tpvm is much slower than cpython.

This needs some serious investigation.
The current evidence is that

  • when I run tpy tests/test_args.py with tracing, I see tp->steps goes to up to a few million. The script takes a few seconds to finish.
  • When I directly run the compiled bytecode with tpvm tests/test_args.tpc, it only takes less than a second. The vast majority of time is spent in running the compiler.

With memory errors gradually rooted out, we shall start some serious profiling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions