Commits

Author Commit Message Labels Comments Date
Sümer Cip
Remove unnecessary import. Lazy import defaultdict
Sümer Cip
Let's make _KEYS a dict for constant time behaviour.
Sümer Cip
Remove an unncessary check in YStat. This code is executed many times during stats retrieval.
Fabio Zadrozny
Improved post-processing time when computing statistics. With this change, the post-processing time went from 10-20 seconds to almost instant in my use-case. The main issue is that searches were always traversing all the entries to find one entry. This commit also fixes the __eq__, __ne__, __hash__ protocol for the items we now index.
Sümer Cip
Update README
Sümer Cip
version chg -> 0.94
Sümer Cip
FIX: Set context_id/context_name callbacks to default values on TestCase exit. FIX: A simple timing fix (Might seen on very fast machines)
Sümer Cip
FEATURE: get_func_stats() supports per-thread stat filtering. Merged from per-thread-stats fork.
Sümer Cip
remove unrelated test code.
Sümer Cip
FIX: Do not show empty ThreadStats on print_all() Support set_context_name_callback(None)
Sümer Cip
.
Sümer Cip
version update
Sümer Cip
Update thanks
Comments 2
Sümer Cip
give time dependent tests more range. In faster machines, all of them fail.
Sümer Cip
make comments consistent.
Sümer Cip
Merged in nsoffer/yappi (pull request #20) Extract a function to get PyCFunctionObject module name
Nir Soffer
Extract a function to get PyCFunctionObject module name If m_module is a string, avoid the copy and use the object as is. if m_module is a module object, and we could not PyModule_GetName() failed, return "<unknown>". I'm not if this is correct, but the previous code returning to "__builtins__" in this case looks wrong.
Sümer Cip
revert test docstring back.
Sümer Cip
FIX: Greenlet profiling does not work when profile_threads is false. hold initial context if profile_threads is false in start() and check that in yapp_callback to prevent profiling on that context.
Sümer Cip
Sümer Cip
add run_as_script file.
Sümer Cip
moved test_run_as_script() to functionality tests FIX: avoid some unnecessary delayed imports in test code.
Nir Soffer
Initialize context_name_callback properly when running as a script The context_name_callback was initialized after main() returned, resulting in missing thread name information, as if the callback has failed and was disabled. Now the callback is initialized just after creating the callback function.
Nir Soffer
Add failing test for running yappi as script When running yappi as script, context_name_callback is initialized after main() returns, which makes it less usful then it could be. Example output: name tid ttot scnt N/A 139671502718720 0.045849 1 N/A 139671636903744 0.004669 2 This patch adds a simple funcional test for running yappi as script. Next patch will make this test p…
Sümer Cip
FIX: typo
Sümer Cip
Various fixes for _ctx_name changes.
Sümer Cip
remove unnecessary whitespace.
Sümer Cip
Close branch
Branches
native-thread-cpu-time
Sümer Cip
Close branch
Branches
set_context_id_callback
Sümer Cip
Close branch
Branches
get_clock
  1. Prev
  2. Next