Our great sponsors
|over 10 years ago||3 days ago|
|BSD 3-clause "New" or "Revised" License||Apache License 2.0|
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.
We haven't tracked posts mentioning hp2html yet.
Tracking mentions began in Dec 2020.
How can I find out why my python is so slow?
2 projects | /r/Python | 30 May 2023
Try using scalene to find where your code is running slow (and/or consuming lots of memory). You're talking two different OSs here, there are a ton of things that could explain the difference. But profiling will help you find where the bottleneck is2 projects | /r/Python | 30 May 2023
Use this my fren: https://github.com/plasma-umass/scalene
Making Python 100x faster with less than 100 lines of Rust
21 projects | news.ycombinator.com | 29 Mar 2023
You should take a look at Scalene - it's even better.
Blog Post: Making Python 100x faster with less than 100 lines of Rust
4 projects | /r/rust | 29 Mar 2023
I like seeing another Python profiler. The one I've been playing with is Scalene (GitHub). It does some fun things related to letting you see how much things are moving across the system Python memory boundary.
OpenAI might be training its AI technology to replace some software engineers, report says
4 projects | /r/programming | 28 Jan 2023
I tried out some features of machine learning models suggesting optimisations on code profiled by scalene and pretty much all of them would make the code less efficient, both time and memory wise. I am not worried. The devil is in the details and ML will not replace all of us anytime soon
Modules Import and Optimisation
2 projects | /r/learnpython | 9 Jan 2023
[2022 day 16 (part 2)] [python 3.10] Can my solution be optimized?
2 projects | /r/adventofcode | 29 Dec 2022
Can't say about the floyd-warshall, since that's from elsewhere. However, I'd suggest profiling the code. For example scalene is pretty decent python profiler.
What are some features you wish Python had?
5 projects | /r/Python | 6 Dec 2022
How about scalene?
Dwarf-Based Stack Walking Using eBPF
8 projects | news.ycombinator.com | 29 Nov 2022
This is super awesome work and a great technical explanation of a very deep topic.
What happens in the case of JIT or FFI? I think I've only ever seen the Python profiler, scalene, handle these cases.
Slipcover: Near Zero-Overhead Python Code Coverage
3 projects | /r/Python | 23 Aug 2022
The PLASMA lab @ UMass Amherst (home of the Scalene profiler) has released a new version of Slipcover, a super fast code coverage tool for Python. It is by far the fastest code coverage tool: in our tests, its average slowdown is just 5% (compare to the widely used coverage.py, average slowdown 218%!). The latest release performs both line and branch coverage with virtually no overhead. Use it to dramatically speed up your tests and continuous integration!
What are some alternatives?
flask-profiler - a flask profiler which watches endpoint calls and tries to make some analysis.
palanteer - Visual Python and C++ nanosecond profiler, logger, tests enabler
pytest-austin - Python Performance Testing with Austin
pyshader - Write modern GPU shaders in Python!
memray - Memray is a memory profiler for Python
magic-trace - magic-trace collects and displays high-resolution traces of what a process is doing
Keras - Deep Learning for humans
Dask - Parallel computing with task scheduling
viztracer - VizTracer is a low-overhead logging/debugging/profiling tool that can trace and visualize your python code execution.
dask-memusage - A low-impact profiler to figure out how much memory each task in Dask is using
dtale - Visualizer for pandas data structures