I have two programs in python which do the same thing, in line profiler one program for certain test is faster than another but in pytest --durations(for this certain test) is viceversa. Can somebody explain that behaviour.I need know execution time for certain test.
line profiler vs pytest --durations
286 Views Asked by Oakandrew At
1
There are 1 best solutions below
Related Questions in PYTHON-3.X
- Update a text file with ( new words+ \n ) after the words is appended into a list
- Kivy - Create new widget and set its position and size
- TypeError: encoding or errors without a string argument
- How to print varible name in python
- PyQt, Python 3: Lambda slot assigning signal argument to a variable?
- How to write data to stdin of the first process in a Python shell pipeline?
- pygame.draw.circle, still draws a square
- Duplicate Frames Created When Calling a Function in a Tkinter Application
- Python TypeError: can only concatenate tuple (not "int") to tuple
- recursively editing member variable: All instances have same value
- missing 1 required positional argument: 'key'
- How do I fix this sorting error?
- Dictionary values missing
- Why does opening a file in two different encodings work as expected?
- Binary bit flip generator in python
Related Questions in PYTEST
- Anyway to specify the type of report on .coveragerc?
- Cleanest method for creating a pytest test fixture that takes in dynamic text data
- How to instantiate an object once
- pytest (py.test) very slow startup in cygwin
- Can't connect to MySQL server on ********* '1040, u'Too many connections' only from certain directory
- Concatenate a list of series into a uid
- Monkey patch python with statement
- how to prevent py.test run new webdriver each time when start new method
- pytest modules using os.environ - How do I test it correctly?
- How can I show verbose py.test diffs without verbose test progress?
- Py.Test getting remaining test case count
- How to mock HTTP authentication in Flask for testing?
- Include package in Spark local mode
- How to override pytest.ini when running tests from the command line?
- Django/Selenium : request contains Anonymous user after successfully login
Related Questions in LINE-PROFILER
- Python line_profiler not finding module
- Cannot use line_profiler with Cython
- line_profiler installation failed : UnicodeDecodeError
- line_profiler only showing a small number of lines
- Python line_profiler: profiling with subroutines
- line profiler vs pytest --durations
- Python kernprof line profiler wrong results
- Using line_profiler to profile Pyramid views
- Python line_profiler with multithread
- Cyhton combined with line_profiler results in AttributeError: 'builtin_function_or_method' object has no attribute '__code__'
- How do I use line_profiler (from Robert Kern)?
- Can I run line_profiler on python module?
- Very weird performance behavior with pandas isin combined with boolean indexing with line_profiler
- How do I fix an unusual SyntaxError in the python executable itself when running line_profiler?
- line profiling Cython 0.25
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Maybe could be useful to run line-profiler inside your tests to compare. I wrote a plugin that may help. Feedback is very welcome.