utahplt / static-python-perf

Benchmarking Static Python
4 stars 1 forks source link

Sample Django Benchmark #15

Open mrigankpawagi opened 3 weeks ago

mrigankpawagi commented 3 weeks ago

The instructions are here. It simply renders a graphic at the designated endpoint (/myapp) - taking inspiration from the django benchmarks in pyperformance and skybison. However, we are using locust for running the benchmark since this is also the tool we will use going forward as we create bigger benchmarks.

bennn commented 3 weeks ago

Which files might we add types to?

mrigankpawagi commented 3 weeks ago

views.py, but not many types to add there yet.

bennn commented 3 weeks ago

No not many at all!

Would it make sense to type parts of Django? Wherever the core work is happening is what we should aim for ... and hopefully that's fewer than 10 files.

mrigankpawagi commented 3 weeks ago

Yes, that would also be interesting... taking a simple django program and typing django itself (vs taking a complicated django program but using it with untyped django)