utahplt / static-python-perf

Benchmarking Static Python
4 stars 1 forks source link

Import benchmarks from prior work #1

Open bennn opened 1 year ago

bennn commented 1 year ago

Two sources:

  1. Static Python https://github.com/facebookincubator/cinder/tree/0baa6051949aef10db8f02fca37005d48849aca9/Tools/benchmarks
  2. Reticulated performance https://github.com/nuprl/retic_performance/tree/master/benchmarks

TODO:

bennn commented 1 year ago

@vivaan2006 for next time (05/10):

bennn commented 1 year ago

Great job with spectralnorm and float.

Try Espionage for next time.

bennn commented 1 year ago

For next time, try the c benchmarks: call_x and chaos

mrigankpawagi commented 5 months ago

Though there is a lot of overlap, there are some more benchmarks with PyPy and with pyperformance.

mrigankpawagi commented 5 months ago

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).

bennn commented 5 months ago

Ok, both these leads sound great (pyperformance + django)!