Description
- I recently came across
pyperf because I want to do some benchmark testing of my changes which I did on an opensource project named ArchUnitPython which are generally to improve the performance of the library. Initially I wanted to start with inbuilt time module but later I found pyperf which kind of can produce good benchmark by handling things like cold start, number of process spawn, warm benchmark etc. But during coding I found that the type system of pyperf is not good as most of most return type and function parameter have Unknown type which kind of hindering my auto completion and understanding of that function or parameter.
- Eg;
- Now it might be issue from
pyrefly typechecker but the thing is the library on which I contributed and benchmarking my changes have no Unknown (Till now) same for other libraries like FastAPI, PydanticAI and some more.
- Because of this I am planning to do contribution to the library and improve the type system of
pyperf.
If any maintainer could guide me or discuses in this issue, then it would be helpful.
Description
pyperfbecause I want to do some benchmark testing of my changes which I did on an opensource project namedArchUnitPythonwhich are generally to improve the performance of the library. Initially I wanted to start with inbuilttimemodule but later I foundpyperfwhich kind of can produce good benchmark by handling things like cold start, number of process spawn, warm benchmark etc. But during coding I found that the type system ofpyperfis not good as most of most return type and function parameter haveUnknowntype which kind of hindering my auto completion and understanding of that function or parameter.pyreflytypechecker but the thing is the library on which I contributed and benchmarking my changes have noUnknown(Till now) same for other libraries likeFastAPI,PydanticAIand some more.pyperf.If any maintainer could guide me or discuses in this issue, then it would be helpful.