You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was actually able to run pyperformance on Python 3.10.5+cinder, although I had to use release 1.0.8 (so pip install pyperformance==1.0.8) since the next version introduced changes to a few benchmarks that work only with Python 3.11+.
There was one error related to nargs, in the msgpack module. This was "fixed" by changing Packer(**kwargs).pack(o) to Packer(**kwargs).pack.__call__(o) in L36 of the module's __init__.py (the version being that installed by pyperformance). I think we can include these benchmarks as well to this repository. The pyperformance module comes with a driver like the one we need.
PS one of the benchmarks in this is django_template which is a very simple benchmark but it runs (reconfirming that Django indeed can work with static-python).
Activity
bennn commentedon May 11, 2023
@vivaan2006 for next time (05/10):
Benchmarks/spectralnorm/untyped/main.py, copy in spectralnorm and remove all types, make sure it runs with normal pythonBenchmarks/spectralnorm/shallow/main.py, copy in spectral norm, type updating the types for Static PythonList(T)chages toList[T]__static__float: make untyped & shallow versions, check than untyped runsbennn commentedon May 25, 2023
Great job with spectralnorm and float.
Try
Espionagefor next time.bennn commentedon Jun 8, 2023
For next time, try the
cbenchmarks:call_xandchaosmrigankpawagi commentedon Jun 2, 2024
Though there is a lot of overlap, there are some more benchmarks with PyPy and with pyperformance.
mrigankpawagi commentedon Jun 3, 2024
I was actually able to run
pyperformanceon Python 3.10.5+cinder, although I had to use release 1.0.8 (sopip install pyperformance==1.0.8) since the next version introduced changes to a few benchmarks that work only with Python 3.11+.There was one error related to
nargs, in themsgpackmodule. This was "fixed" by changingPacker(**kwargs).pack(o)toPacker(**kwargs).pack.__call__(o)in L36 of the module's__init__.py(the version being that installed bypyperformance). I think we can include these benchmarks as well to this repository. Thepyperformancemodule comes with a driver like the one we need.PS one of the benchmarks in this is
django_templatewhich is a very simple benchmark but it runs (reconfirming that Django indeed can work with static-python).bennn commentedon Jun 3, 2024
Ok, both these leads sound great (pyperformance + django)!