Add proper profiling methods.
See original GitHub issue🐞 What bugs you? We currently do not have a proper methord for profiling of src code. It makes it difficult for newcomers to find the slow methods.
🎯 Goal
- This feature will help in finding slow methods. This can be used for solving #98 .
- Can be used to find slow functions for refinement of codebase.
💡 Possible solutions Use of cProfile in a creative way.
- Comment below about what you’ve started working on.
- Add, commit, push your changes
- Submit a pull request and add this in comments -
Addresses #<put issue number here>
- Ask for a review in comments section of pull request
- Celebrate your contribution to this project 🎉
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
What Is Data Profiling? Process, Best Practices and Tools
Data profiling is the process of reviewing source data, understanding structure, content and interrelationships, and identifying potential for data projects ...
Read more >10 Easy Steps to Creating a Customer Profile [+Templates]
1. Scorecard. This customer profile uses a scoring system to determine if a prospect is a right fit for the business. It assesses...
Read more >Fundamentals of Performance Profiling - SmartBear
Profiling methods fall into two broad categories: Instrumenting and Sampling. Let's take a look at each. Instrumentation. Instrumenting profilers insert special ...
Read more >Customer Profiling: The Ultimate Guide for 2023 [Updated]
Customer Profiling Methods There are different ways to do customer profiling. Each refers to a certain segmentation: psychographics, buying traits, buying ...
Read more >What Are the 3 Methods of Customer Profiling?
What Are the 3 Methods of Customer Profiling? · Understanding Customer Profiling · How Customer Profiling Is Done · Creating Your Customer Profiles....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be along the lines of :
One of the issues in this would be that time.time() returns system time, so if the python process is not scheduled for a long time , then the time reported by profile would be large, even though actual time taken by the function is small
This can be used as :
Hello, Would it be a good idea to make a decorator which will time the functions in test mode and return same function in production mode, so that we can identify slow functions?