Metadata-Version: 2.1
Name: vmprof-firefox-converter
Version: 0.1.2
Summary: Firefox-Profiler as UI for VMProf
Author: Christoph Jung
License: MIT
Requires-Python: <3.12,>=3.9
Requires-Dist: vmprof
Requires-Dist: flask
Requires-Dist: flask-cors
Description-Content-Type: text/markdown

# vmprof-firefox-converter

Install the converter with pip:

`python -m pip install vmprof-firefox-converter`

View vmprof profiles in Firefox Profiler by converting them:

`python -m vmprofconvert -convert profile.prof`

`python -m vmprofconvert -convert profile.zip`

or run vmprof directly:

`python -m vmprofconvert -run yourcode.py <args>`

optional arguments:

`-jitlog <profile.jit>` use jitlog data (only for converting vmprof data)

`-pypylog <profile.pypylog>` use pypylog data (only for converting vmprof data)

`--zip` export sharable zip (only for running vmprof)

`--nobrowser` dont open firefox profiler

`--nonative` disable native profiling (only for running vmprof)

`--nolines` disable line profiling (only for running vmprof)

<img src="https://github.com/Cskorpion/vmprof-firefox-converter/blob/main/images/firefox.png?raw=true">

cpuburn code can be found
[here](https://github.com/vmprof/vmprof-python/blob/master/vmprof/test/cpuburn.py)

## Example PyPy run-and-convert w. jitlog & pypylog

```bash
$ PYPYLOG=profile.pypylog python -m vmprof --jitlog -o profile.prof <remaining vmprof args...>
...
$ python -m vmprofconvert -convert profile.prof -jitlog profile.prof.jit -pypylog profile.pypylog
````

#

- supports CPython and PyPy
