polkadot
py-spy
polkadot | py-spy | |
---|---|---|
143 | 25 | |
7,026 | 12,038 | |
- | - | |
9.7 | 5.8 | |
10 months ago | about 4 hours ago | |
Rust | Rust | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
polkadot
-
Projects to contribute to
Polkadot (6400 GitHub Stars) https://github.com/paritytech/polkadot
-
There are 43 active parachains on Polkadot, not counting private ones, and 130 total announced projects headed for parachain status. When is the relay chain going to be upgraded to handle more than 100 parachains?
I don't think asynchronous backing has any direct effect on the number of parachains, no (I mean, there likely is an effect, but it's not the goal and my understanding is that any effect on that would be minimal, although I'm not involved in the deep engineering here). It increases throughput, correct, by decreasing the time between blocks by not needing to do a "roundtrip" to the relay chain to build new blocks. See https://github.com/paritytech/polkadot/issues/3779 for an overview.
-
Polkadot Staking Alternatives in light of Kraken US's staking closure
"The 27 waiting day is unavoidable and a very important security measure to protect against certain attacks and vulnerabilities of PoS. I totally understand that it is annoying, but arguably it is for the benefit+security of the overall network, which includes you as well at the end of the day as DOT-holder." - from this GitHub discussion.
- Polkadot Surpasses Cardano To Rank Top In Crypto Development Activity
-
Can we change the 28 day unbonding lockup period?
Ref: Kianenigma @ https://github.com/paritytech/polkadot/issues/2418
-
Polkadot Digest 19 Jan 2023
Polkadot 0.9.37 has been released with MEDIUM upgrade priority. https://github.com/paritytech/polkadot/releases/tag/v0.9.37
- Minimum Active Bond jumped from 237 to 248.5 in 8 eras :(
-
Polkadot Digest 17 Jan 2023
Specifically, it was this PR that changed it: https://github.com/paritytech/polkadot/pull/6230
-
Question about controller address when staking.
Actually it looks like you can! It's just not recommended. This is from the official documentation: "Starting with runtime version v23 natively included in the client version 0.8.23, payouts can go to any custom address. If you'd like to redirect payments to an account that is neither the controller nor the stash account, set one up. Note that setting an exchange address as the recipient of the staking rewards is extremely unsafe.*
-
Bill Laboon AMA 9 Dec 2022 - 14.00-15.00 UTC
A particular validator sent out a LOT of dispute reports (i.e., saying that other validators did something incorrectly) last night (for reasons unknown). It looks like other nodes "choked" reading all of these disputes, and one subsystem died, stalling nodes but NOT killing the process. It's still being investigated, but you can look at the issue on Github to see it being discussed here: https://github.com/paritytech/polkadot/issues/6412
py-spy
- Minha jornada de otimização de uma aplicação django
- Graphical Python Profiler
-
Grasshopper – An Open Source Python Library for Load Testing
For CPU cycles, py-spy[0] is getting more and more used. For RAM, I would like to known too...
[0] -- https://github.com/benfred/py-spy
-
Debugging a Mixed Python and C Language Stack
Theres also Py Spy, a profiling tool that can generate flame charts containing a mix of python and C (or C++) calls.
https://github.com/benfred/py-spy
It's worked really well for my needs
-
python to rust migration
You should profile your consumer to check the bottlenecks. You can use the excellent py-spy(written in Rust). IMO a few usage of Numba there and there should solve your performance issues.
-
Has anyone switched from numpy to Rust?
So as a first step you'll want to profile your program to figure out where it's slow, and hopefully that'll also tell you why it's slow. I'm the (biased) author of the Sciagraph profiler which is designed for this sort of application (https://sciagraph.com) but you can also try py-spy, which isn't as well designed for data processing/analysis applications (e.g. it won't visualize parallelism at all) but can still be informative (https://github.com/benfred/py-spy). Both are written in Rust ;)
-
Trace your Python process line by line with minimal overhead!
Any advantages/disadvantages compared to py-spy [1]?
[1]: https://github.com/benfred/py-spy
-
Python 3.11 delivers.
Python profiling is enabled primarily through cprofile, and can be visualized with help of tools like snakeviz (output flame graph can look like this). There are also memory profilers like memray which does in-depth traces, or sampling profilers like py-spy.
-
Tales of serving ML models with low-latency
A good profiler would be https://github.com/benfred/py-spy . If you run your app/benchmark with it, it should be able to draw a flamegraph telling you where the majority of time is spent. The info here is quite fine grained so it would already tell you where the bottleneck is. Without a full-fledged profiler you can also measure the timings in various parts of the code to understand where the bottleneck is.
-
Profiling a Python library written in Rust (Maturin)
Might be worth raising an issue on py-spy (a python profiler written in rust which "supports profiling native python extensions written in languages like C/C++ or Cython" to see if that can close the loop.
What are some alternatives?
substrate - Substrate: The platform for blockchain innovators
pyflame
parity-signer - Air-gapped crypto wallet.
pyinstrument - 🚴 Call stack profiler for Python. Shows you why your code is slow!
ledger-kusama - Kusama app for Ledger Nano S and X
python-uncompyle6 - A cross-version Python bytecode decompiler
rust - Rust language bindings for TensorFlow
memory_profiler - Monitor Memory usage of Python code
Parity - (deprecated) The fast, light, and robust client for the Ethereum mainnet.
icecream - 🍦 Never use print() to debug again.
cumulus - Write Parachains on Substrate
line_profiler