rht
rht
I have implemented the requests in the 3rd commit.
I have implemented the requests and tidied the commits.
The static analysis test has been fixed. > has this been tested and if so how? I tested this on a live Slack workspace and CZO. I have retested just...
Also reminder to update https://zulip.com/integrations/doc/matrix once this PR is merged.
There are some Mypy errors in the CI.
I can take over updating the PR if needed.
> I once asked about this on the nio matrix channel (on October 1, 2021 actually ^^) What did they say about it? If it is `nio`'s perf problem, there...
More effective to use this lib instead: https://pypi.org/project/line-profiler/ gives line-by-line profile, and has been used in investigating Zulip code, e.g. the Markdown parsing.
You have to decorate the function you want to profile with `@profile`, and then run this ```bash kp () { kernprof -v -l $1 > profile.txt } kp your_python_file.py ```
Async should work https://github.com/rkern/line_profiler/issues/103.