Skip to main content

Platform Integrated Performance Analytics, PIPA

Project description

PIPA

PIPA (Progressive & Intelligent Performance Analytics) is a platform that aggregates a complete toolchain of performance data collection, processing, and analysis with advanced algorithms, enabling users to effortlessly obtain in - depth insights into the performance of their systems and applications. It bridges the gap between raw performance data and actionable information, allowing for quick identification of bottlenecks and optimization opportunities.

PIPA (枇杷, loquat) is a local fruit of Zhejiang, China. PIPA consists of three parts: loquat tree, flower and fruit, which represent the collecting & processing, analysis and conclusion of performance data respectively.

PIPA is still in the active development process, and the current development focus is on the loquat tree.

GitHub License GitHub Actions Workflow Status GitHub top language Code style: black Coverage Status

Features

  • Data Collecting: PIPA can collect data from a variety of sources, using tools like perf, sar, and more. It supports multiple platforms including x86_64, ARM, and RISC-V, making it versatile and adaptable. Currently PIPA is capable of collecting and parsing perf and sar data, providing detailed performance metrics.
  • Script Generation: To reduce the noise generated by the Python runtime, PIPA can generate scripts that collect performance data.
  • Data Processing: PIPA can process the collected performance data, including alignment and segmentation, to serve meaningful analysis.
  • Data Visualization: PIPA can visualize based on the performance data collected to provide intuitive insights.
  • Data Analytics: PIPA will integrate SPAIL's performance methodology and models to provide meaningful analysis and reveal software and hardware bottlenecks.

Preparation

pipa needs to run on python 3, and you may need to install venv (virtual environemnt) package to isolate pipa from other python projects, prior to that, you also need to have pip installed on your computer.

Install PIP

Here is a common way to install pip on a computer without any package management tool:

1. Download get-pip.py:

Download the get-pip.py script.

2. Open a Terminal/Command Prompt:

Open a terminal on Linux or macOS, or a command prompt on Windows.

3. Navigate to the Download Directory:

Use the cd command to navigate to the directory where you saved get-pip.py.

4. Run the Script:

Execute the script using the appropriate Python command:

  • Linux/macOS:
    python3 get-pip.py
    
  • Windows:

    If Python 3 is the default

    python get-pip.py
    

    If Python 3 is explicitly specified

    python3 get-pip.py
    

Install VENV

Then you can install venv with a single command line:

pip install venv

Setup and Use VENV

Please find more instructions about how to setup and use virtual environment from the python official website if you are new to it.

Installation

PIPA can be easily installed using pip:

pip install PyPIPA

Quickstart

After installation, you can start using PIPA to collect, integrate, and analyze your data.

To generate a script that collect performance data, you only need to use:

pipa generate

Then you can complete the interaction through the CLI to provide the necessary parameters. You can choose to start the workload with perf, or you can choose to observe the system directly.

For the detailed usage, please check user guide.

Build

To build PIPA, you can use the python command with the build module: python -m build, we use hatchling as the build backend.

LICENSE

PIPA is distributed under the terms of the MIT License.

Contributing

Contributions to PIPA are always welcome. Whether it's feature enhancements, bug fixes, or documentation, your contributions are greatly appreciated.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypipa-0.0.16.tar.gz (891.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypipa-0.0.16-py3-none-any.whl (91.4 kB view details)

Uploaded Python 3

File details

Details for the file pypipa-0.0.16.tar.gz.

File metadata

  • Download URL: pypipa-0.0.16.tar.gz
  • Upload date:
  • Size: 891.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for pypipa-0.0.16.tar.gz
Algorithm Hash digest
SHA256 2b9d1a96345a02fd19209fd4cf8264aa13cd4ac9af0147a722ec4b9906044d29
MD5 6c79d156bc3b8a9448e218999ff0a2ad
BLAKE2b-256 d4f77f7191b1729ae252631b832667cb9933ce7b64960a046237eb005250193a

See more details on using hashes here.

File details

Details for the file pypipa-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: pypipa-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 91.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for pypipa-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 f28f2b3098a5a8615202ade85f27dea5b25c8aedb678a41072feb10582c78183
MD5 b726cd7507ec2c4087befaa65939419b
BLAKE2b-256 00f43a54ec660f8999619ff96af1b7ce98a0afb94921ee92de985d2a957ed514

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page