Skip to content

performance.py file not found #33

@dstansby

Description

@dstansby

I'm trying to use sphinx-analysis on a local sphinx project, but getting the following error:

% sphinx-analysis --project . --runtime --flamegraph

Running 1 test configurations.

───────────────────────────────────────────────────────────────────────────────────── Run 1/1 ──────────────────────────────────────────────────────────────────────────────────────
performance.py file not found
Errors in configuration. Skipping this run.

Starting snakeviz servers


Killing snakeviz server in 5 secs.
snakeviz: error: the path /Users/dstansby/software/sunpy/docs/runtime_all.prof does not exist

usage: snakeviz [-h] [-v] [-H ADDR] [-p PORT] [-b BROWSER_PATH] [-s] filename

Start SnakeViz to view a Python profile.

positional arguments:
  filename              Python profile to view

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -H ADDR, --hostname ADDR
                        hostname to bind to (default: 127.0.0.1)
  -p PORT, --port PORT  port to bind to; if this port is already in use a free port will be selected automatically (default: 8080)
  -b BROWSER_PATH, --browser BROWSER_PATH
                        name of webbrowser to launch as described in the documentation of Python's webbrowser module: https://docs.python.org/3/library/webbrowser.html
  -s, --server          start SnakeViz in server-only mode--no attempt will be made to open a browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions