Tools to profile performance / benchmark

Open
#302 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli, performance

Research direction

Start with the Profiling wiki linked in the issue, then review the references to pyvim, urwid, and python-prompt-toolkit. Define the benchmark or live-profiling scope from those notes before choosing an implementation path. Done means providing a usable benchmark suite or incorporating the relevant profiling approach into the project.

Written by the indexing model from the issue text.

Description

yo

We need a benchmark suite for python-prompt-toolkit and downstream users. Making a benchmark suite may be a lot of work, so far I haven't found a coveralls-type service that can give us that kind of data.

Once we're at the pyvim level it gets kind of tricky to figure where the bottlenecks come from.

In lieu of having a benchmark suit, for live profiling, I've jotted down some notes that gets you surprisingly deep live trace of calls. https://github.com/jonathanslenders/python-prompt-toolkit/wiki/Profiling

screen shot 2016-05-25 at 2 04 02 pm

It'd be cool to see if we could take some of this and use it to our advantage. Also maybe we can port them from urwid to ppt.

Taking a deeper look into it.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prompt-toolkit/python-prompt-toolkit

All issues in prompt-toolkit/python-prompt-toolkit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.