Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 534 Bytes

Profiling.md

File metadata and controls

34 lines (26 loc) · 534 Bytes
title description published date tags editor dateCreated
Profiling
true
2022-09-18 04:57:20 UTC
markdown
2022-09-18 04:57:17 UTC

How to profile FlexGet

Quick hack:

With dev sanbdox, copy bin/flexget to bin/profile and modify it a bit ..

__requires__ = 'FlexGet==1.0-svn'
import sys
from pkg_resources import load_entry_point

import profile


profile.run("""
sys.exit(
   load_entry_point('FlexGet==1.0-svn', 'console_scripts', 'flexget')()
)""")

And run it like

bin/profile > profile.txt