Comments (5)
I think this a good idea, with the caveat that there is a way to opt-out (compile
has a --no-tune
flag). There are places where it won't work (e.g. when the user doesn't have sudo, certain kinds of containers).
My other pet peeve about it (that maybe we could fix while we are in there), is that it doesn't reverse the effects afterward (pyperf system reset
).
from pyperformance.
+1 to making pyperformance run
match pyperformance compile
as closely as possible, including calling pyperf system tune
.
My other pet peeve about it (that maybe we could fix while we are in there), is that it doesn't reverse the effects afterward (pyperf system reset).
+1 for fixing that, whether here or in a separate issue/PR.
from pyperformance.
pyperf system tune
needs root but pyperformance run
doesn't.
So I like current separation.
from pyperformance.
What about making pyperformance run
throw an error if it's run on an untuned system? Maybe with an argument to disable that behavior. It kind of feels like this case is failure mode with no visible indication, you just have bad results at the end.
from pyperformance.
FWIW, pyperf system tune
does not support Windows (understandably so - automatic system tuning is logistically difficult on Windows), so an opt-out of some sort for tuning on pyperformance run
would be necessary.
from pyperformance.
Related Issues (20)
- 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
- Help me to completely disable psutil
- benchmarking: cannot install pypy-devel
- Allow pyperformance to compile CPython with the JIT enabled. HOT 4
- Would it possible to add a .cff file to the repo so that it can be cited more easily? HOT 1
- django_template and sympy failing because of distils dependency HOT 6
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.