Skip to content

Remove cpuprofile dependency #537

Open
Open

Description

@duckduckgrayduck

This is a dependency on lambda:
https://pypi.org/project/cpuprofile/#description

It use defaults to off:
documentcloud/documents/processing/ocr/main.py:84:PROFILE_CPU = env.bool("PROFILE_CPU", default=False)

and nothing in lambda environment variables sets it to true. Are we using this? If not, it's on the docket for removal

Activity

  1. mitchelljkotler commented on Nov 10, 2026

    @mitchelljkotler
    Member

    When we first started using Lambda, we would occasionally end up on a machine with bad performance, so we would just cancel it and try again. I don't think this has been an issue in a long time and it can be removed.

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

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions