devopspp / pyliveupdate Goto Github PK
View Code? Open in Web Editor NEWA runtime python code manipulation framework for profiling, debugging and bugfixing
License: GNU General Public License v3.0
A runtime python code manipulation framework for profiling, debugging and bugfixing
License: GNU General Public License v3.0
The profile module is quite helpful, but the Redefine module has something wrong. For example, if I run a server code located at "/TechTry/pyliveupdate/examples/test.py" and patcher code located at "/TechTry/pyliveupdate/examples/my_patcher.py", both "python my_patcher.py" in bash and patch("my_patcher.py" in ocntroller will have error:
from TechTry.pyliveupdate.examples.test import whoami
ModuleNotFoundError: No module named 'TechTry'
It seems the module process dir as module, and this error disappear when I move them to ~.
Thank you for this wonderful work!
However, I have some questions. How can I configure the safe change point mentioned in the paper? I cannot find this parameter in the provided implementation now.
Line level profiling
Thanks sincerely for constantly using and supporting this project.
Please comment in this issue if you are using pyupdate!!
Format example:
Flamegraphs are great, and useful, and shouldn't go away.
But consider a program that spends a lot of time in some init code, and then spends its time in something else etc. What is 'hot' changes over time.
Another way of plotting is with time on the x axis. This can look like this: https://williame.github.io/post/35134924139.html
I don't do much python profiling any more, but have done similar tooling for the languages I am working in now. I find it complements flamegraphs nicely, and that's why I mention it here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.