Skip to content

Improve trace callback performance #115

@pschanely

Description

@pschanely

Issuehunt badges

As described here, CrossHair spends a lot of its execution time in a pure-python sys.settrace handler. Making this faster should speed up CrossHair quite a bit.

It would be great to benchmark how much would be saved by moving some of that logic to an extension module written in C; it wouldn't be possible to move all the logic, but many tracing invocations are no-ops, and avoiding those at least could help a lot. Cython might also be worth investigating.


IssueHunt Summary

Backers (Total: $100.00)

Submitted pull Requests


Become a backer now!

Or submit a pull request to get the deposits!

Tips

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions