Skip to content

Do Not Try To Install Benchmark Dependencies If Already Done #158

@ericsnowcurrently

Description

@ericsnowcurrently

Currently we install each benchmark's requirements every time we run the benchmarks, which adds to the time it takes. If we know they are already installed then we can skip that.

Possible solutions:

  • only install requirements when a venv is created
    • for the common venv, we'd need to track (in a file) which benchmarks have been done already
  • only install requirements if not done already for the venv
    • track with a file (e.g. <venvroot>/.installed)
    • use a file to track what has already been installed in the venv
    • use pip freeze (or similar) to identify what has been installed already (requires the ability to verify requirements)

All that said, I'm not sure this alone is worth the effort. It might be worth it if combined with #157.

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