roboflex.profiler


Nameroboflex.profiler JSON
Version 0.1.2 PyPI version JSON
download
home_pagehttps://github.com/flexrobotics/roboflex_profiler
SummaryRoboflex Profiler Library
upload_time2023-11-01 15:27:38
maintainer
docs_urlNone
authorColin Prepscius
requires_python>=3.6
license
keywords profiling robotics middleware flexbuffers python c++ c++20
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # roboflex.profiler

Roboflex Profiler has two parts:

1. The Profiler node. This node is intended to act as the root node of a computation graph. See metrics_central/examples/profile_graph.cpp, and examples/camera_follow/camera_follow.py for examples of how to us it. It brings two features:

    1.1. When you call `start()` or `stop()` on this node, it will walk the computation graph and start or stop all RunnableNodes.

    1.2. When you call `start(true)`, it will first inject a new MetricsNode between every two connected nodes. It will then drive publishing of Metrics information, which can be viewed with:

2. The MetricsCentral program. This program displays Metrics information for a running computation graph. Every row is a connection, and every column is some information about that connection, including frequency of invokation, latency, Bytes/sec, etc.

    clone this repo
    mkdir build && cd build
    cmake ..
    make

    ... then find the 'metrics_central' program, and run it...


![](metrics_central_1.png)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/flexrobotics/roboflex_profiler",
    "name": "roboflex.profiler",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "profiling,robotics,middleware,flexbuffers,python,c++,c++20",
    "author": "Colin Prepscius",
    "author_email": "colinprepscius@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/76/25/c6d203a1e9d83bda389f9631f6af6dbbb2549eb47ab3b830c4b3de2caaea/roboflex.profiler-0.1.2.tar.gz",
    "platform": null,
    "description": "# roboflex.profiler\n\nRoboflex Profiler has two parts:\n\n1. The Profiler node. This node is intended to act as the root node of a computation graph. See metrics_central/examples/profile_graph.cpp, and examples/camera_follow/camera_follow.py for examples of how to us it. It brings two features:\n\n    1.1. When you call `start()` or `stop()` on this node, it will walk the computation graph and start or stop all RunnableNodes.\n\n    1.2. When you call `start(true)`, it will first inject a new MetricsNode between every two connected nodes. It will then drive publishing of Metrics information, which can be viewed with:\n\n2. The MetricsCentral program. This program displays Metrics information for a running computation graph. Every row is a connection, and every column is some information about that connection, including frequency of invokation, latency, Bytes/sec, etc.\n\n    clone this repo\n    mkdir build && cd build\n    cmake ..\n    make\n\n    ... then find the 'metrics_central' program, and run it...\n\n\n![](metrics_central_1.png)\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Roboflex Profiler Library",
    "version": "0.1.2",
    "project_urls": {
        "Homepage": "https://github.com/flexrobotics/roboflex_profiler"
    },
    "split_keywords": [
        "profiling",
        "robotics",
        "middleware",
        "flexbuffers",
        "python",
        "c++",
        "c++20"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7625c6d203a1e9d83bda389f9631f6af6dbbb2549eb47ab3b830c4b3de2caaea",
                "md5": "9eccfa236b1fff188d28dcd0557e6a05",
                "sha256": "747ed38a0f727fbe3a4f057022c25d4f9277eb1686f066eb736ce9ebada2ae83"
            },
            "downloads": -1,
            "filename": "roboflex.profiler-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "9eccfa236b1fff188d28dcd0557e6a05",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 14983,
            "upload_time": "2023-11-01T15:27:38",
            "upload_time_iso_8601": "2023-11-01T15:27:38.202839Z",
            "url": "https://files.pythonhosted.org/packages/76/25/c6d203a1e9d83bda389f9631f6af6dbbb2549eb47ab3b830c4b3de2caaea/roboflex.profiler-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-01 15:27:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "flexrobotics",
    "github_project": "roboflex_profiler",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "roboflex.profiler"
}
        
Elapsed time: 0.13350s