Parity
py-spy
Our great sponsors
Parity | py-spy | |
---|---|---|
49 | 25 | |
1,604 | 11,850 | |
- | - | |
7.7 | 6.4 | |
almost 2 years ago | 17 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
Parity
-
Rust: Read, Write and Subscribe to Ethereum Smart Contracts with ethers.rs
What got me interested in learning Rust with Ethereum is Reth (Rust Ethereum Execution Layer Client). OpenEthereum was another Rust client that got deprecated earlier in 2022, which is what I think inspired Reth to be made https://github.com/openethereum/openethereum . It sounds like Reth will go live in January/February 2023 https://github.com/paradigmxyz/reth#status they put out a summary here too https://www.paradigm.xyz/2022/12/reth
- Najvece havarije na poslu kojima ste prisustvovali
-
Understanding the Ethereum Virtual Machine (EVM)
OpenEthereum | Programming Language = Rust
-
Daily General Discussion - March 8, 2022
OpenEthereum v3.2.0 is ready for Berlin.
-
Openethereum Sync Space Requirements
It's still maintained https://github.com/openethereum/openethereum
-
How is a Bitcoin upgrade being coordinated when Satoshi Nakamoto is not around?
For Ethereum, there is Geth, OpenEthereum, Nethermind, among others.
- r/ethereum - OpenEthereum is on board for the London Upgrade!
- OpenEthereum is on board for the London Upgrade!
-
The Parity Bitcoin client, written in Rust
I'm not sure why this was linked. Parity decided to stop developing their Ethereum client and this repo has been sitting unmaintained for about 2 years now, it will almost certainly not successfully sync with mainnet.
The Parity codebase was taken over by new maintainers and turned into OpenEthereum: https://github.com/openethereum/openethereum
However, writing and maintaining an Ethereum client is an exceptional amount of work with very little benefit, the primary OpenEthereum maintainers recently announced they would stop maintaining OpenEthereum and would start pouring their energies into an upcoming client called Erigon. https://medium.com/openethereum/gnosis-joins-erigon-formerly...
Erigon is a much better client.
-
Who are the Ethereum Developers?
Also, the Ethereum Foundation doesn't own a lot of the code used in the network. For example, lots of people use OpenEthereum as their client, which is not managed by EF.
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?
go-ethereum - Go implementation of the Ethereum protocol
pyflame
Nethermind - A robust execution client for Ethereum node operators.
pyinstrument - 🚴 Call stack profiler for Python. Shows you why your code is slow!
Way Cooler
python-uncompyle6 - A cross-version Python bytecode decompiler
besu - An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
memory_profiler - Monitor Memory usage of Python code
api - An API for managing your servers
icecream - 🍦 Never use print() to debug again.
citybound - A work-in-progress, open-source, multi-player city simulation game.
line_profiler