-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement benchmARK #1131
implement benchmARK #1131
Conversation
Profiling tool for HARK models. Calling
|
Note: In Table statistics, |
---------- | ||
agent_type: AgentType | ||
A HARK AgentType with a solve() method. | ||
sort_by: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this is passed directly to pstats.Stats, it would make sense to have a link in the docstring to the relevant python documentation. As is, you really have to look at the code to understand how to use the parameters
This is great! Well done! The only comment is that since it basically wraps pstats, which is a bit tricky as a package, it would be best if the docstring linked over to the pstats docs: |
add reference to python profilers and update changelog
Codecov Report
@@ Coverage Diff @@
## master #1131 +/- ##
==========================================
- Coverage 73.96% 73.92% -0.05%
==========================================
Files 70 70
Lines 10761 10771 +10
==========================================
+ Hits 7959 7962 +3
- Misses 2802 2809 +7
Continue to review full report at Codecov.
|
Simple profiler for HARK models. See #982.
Example usage:
Output: