Comments (3)
Using the @Sealed decorator derived from the adt
library makes it around 4-5x slower than the Java derived version. Likely because of all the isinstance()
checks inside the libary. Need to benchmark it again when python supports something similar natively.
My goal is to transpile this version of the library to rust and see how well the transpiled + optimized code performs.
from pyperformance.
What is wrong with the richard's benchmark being OO? OO programming is widely used.
Do you think that OO programming is over represented in the benchmark suite as a whole?
from pyperformance.
Certainly OO programming is widely used and should be proportionately represented. I feel the following are underrepresented:
- Use of dataclasses
- Generalized Algebraic data types, functional programming techniques. Usage is going up because of the mindshare rust has garnered in the last few years.
- Aspect oriented programming using python decorators (The only ones I see are staticmethod/classmethod and one instance of @coroutine)
- async/await
from pyperformance.
Related Issues (20)
- How should we be using dependabot in this repo? HOT 2
- add some more http benchmarks HOT 2
- Have `pyperformance run` run `pyperf system tune` HOT 5
- Benchmark Groups Have Some Minor Problems HOT 3
- speed.python.org has no results since October 17
- Why no releases? HOT 1
- benchmark representing async-heavy, heterogeneous workload HOT 7
- CI fails with 3.12 HOT 2
- django_template benchmark fails on main due to lack of distutils
- Add rinohtype benchmark?
- Tests fail with Python 3.12 HOT 9
- Use more than one core HOT 6
- Impossible to add a benchmark that exercises newer Python features HOT 1
- Add type hints?
- asyncio gather vs TaskGroup in async_tree benchmarks HOT 3
- Need to vendor lib2to3 for CPython 3.13+
- Add benchmark for pip-compile
- Need benchmark using `__getattribute__`
- Editable installation isn't working properly
- Allow compiling dependencies rather than using prebuilts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyperformance.