Recent Releases of viztracer
viztracer - VizTracer 1.0.4 Release
- Support source code of frozen modules
- Clear all the references in
__main__after exec - Make tracing work in forked process when it raises Exceptions
- Minify perfetto files for smaller wheels
- Python
Published by gaogaotiantian about 1 year ago
viztracer - VizTracer 1.0.3 Release
- Supported python entries for subprocess
- Improved how we deal with SIGTERM for exits
- Supported forkserver
- Fixed unique file name with multiprocessing
- Python
Published by gaogaotiantian over 1 year ago
viztracer - VizTracer 1.0.2 Release
- Fixed a critical (but rare) issue where some C method call might not be recorded.
- Python
Published by gaogaotiantian over 1 year ago
viztracer - VizTracer 1.0.1 Release
- Fixed overflow in quicktime calibration loop
- Updated external processor version to match Perfetto UI
- Supported absolute timestamp of torch profiler before 2.4
- Supported gzip for vizviewer
- Implemented sync marker for trace alignment
- Python
Published by gaogaotiantian over 1 year ago
viztracer - VizTracer 1.0.0 Release
- Polished the interface and APIs of C tracer to fully eliminate the middleware
_VizTracer - Utilized
__rdtsc()for timestamp when available, reducing the overhead - Made it possible to align with Unix timestamp at us level
- Optimized import speed so
viztracercommand can be much faster to invoke - Allowed custom repr function for function args and return value
- Used
sys.monitoringfor Python3.12+ for better performance - Updated the documentation to reflect the current implementation
- Python
Published by gaogaotiantian over 1 year ago
viztracer - VizTracer 0.17.1 Release
- Supported PyTorch events with --log_torch
- Source code on the UI is now more stable
- Added more protection in trace func to avoid segfault
- Python
Published by gaogaotiantian over 1 year ago
viztracer - VizTracer 0.17.0 Release
- Supported 3.13 and 3.13t, dropped 3.8
- Updated Perfetto to v47.x
- Dropped flamegraph feature because Perfetto supports it natively now
- Allowed unfinished function and dump unfinished functions at exit
- Made logsparse work for spawned process
- Used
__qualname__when possible - Fixed patching when shell=True
- A few minor bug fixes
- Python
Published by gaogaotiantian over 1 year ago
viztracer - VizTracer 0.16.3 Release
- Added option to generate unique file name
- Fixed compiler warning for conda-forge
- Made pickle to work for multi-processing
- Tried to support FreeBSD
- Fixed a couple of bugs
- Python
Published by gaogaotiantian about 2 years ago
viztracer - VizTracer 0.16.2 Release
- Much better experience with multiproccesing trace report collection
- Support Apple Silicon!
- Show reasonable process name in case of subprocess
- Python
Published by gaogaotiantian over 2 years ago
viztracer - VizTracer 0.16.1 Release
- Supported VS Code extension!
- Fixed subprocess argument issue
- Much better support on jupyter
- Python
Published by gaogaotiantian over 2 years ago
viztracer - VizTracer 0.16.0 Release
- Supported Python 3.12, dropped 3.7
- Upgraded Perfetto to v37.0
- Added log compressor
- Python options supported
- Removed vdb
- Python
Published by gaogaotiantian almost 3 years ago
viztracer - VizTracer 0.15.6 Release
- Fixed vizplugins
- Python
Published by gaogaotiantian over 3 years ago
viztracer - VizTracer 0.15.5 Release
- Added support for 3.11 and dropped support for 3.6
- Fixed escape character issue in dump_raw
- Python
Published by gaogaotiantian over 3 years ago
viztracer - VizTracer 0.15.4 Release
- Nested multi-process worked
- Supported function name error ignore
- vizviewer now exits when the port is occupied
- Python
Published by gaogaotiantian almost 4 years ago
viztracer - VizTracer 0.15.3 Release
- Thread safe now
- Supported external processor
- Stack for log_sparse
- Python
Published by gaogaotiantian about 4 years ago
viztracer - VizTracer 0.15.2 Release
- Enabled color on Windows terminal without default VT
- Fixed vizviewer Ctrl+C bug on Windows
- Enforced C99 for C code compile
- Added manual thread aware feature
- Python
Published by gaogaotiantian about 4 years ago
viztracer - VizTracer 0.15.1 Release
- Fix jupyter
- Add py3.6 wheel
- Add functools.wraps for decorators
- Deprecate vdb
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.15.0 Release
- Supported REAL attach
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.14.5 Release
- aarch64 wheels
- Fix help command
- add trio support
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.14.4 Release
- Added
log_auditfeature - Accelerated report generation speed with raw dump
- Added directory viewer feature
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.14.3 Release
- Fixed an encoding bug in vizviewer
- Saved trace even with exception with
withstatement - Added
.viztracerrcrcfile for configuration - Cleared the exit routine, less failure, faster dump, better messages
- Added conditional magic comment
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.14.2 Release
- Fixed duplicated timestamp calculation
- Made multiprocessing pool more stable
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.14.1 Release
- Supported python 3.10
- Added fast log feature - logvar and loginstant
- Added magic comment feature
- Enabled vizviewer to use arbitrary port
- Fixed subprocess and exit routine bugs
- Python
Published by gaogaotiantian over 4 years ago
viztracer - VizTracer 0.14.0 Release
- removed
--log_multiprocessand--log_subprocess - fix multiprocess bugs
- upgrade perfetto version
- add
min_durationfilter
- Python
Published by gaogaotiantian almost 5 years ago
viztracer - VizTracer 0.13.4 Release
- Optimized flamegraph and its output
- Upgrade perfetto to support counter events
- Fixed instant event format
- Bug fix
- Python
Published by gaogaotiantian about 5 years ago
viztracer - VizTracer 0.13.3 Release
- Support flamegraph
- Optimize memory usage
- Python
Published by gaogaotiantian about 5 years ago
viztracer - VizTracer 0.13.2 Release
Support Instant and Counter event in UI
- Python
Published by gaogaotiantian about 5 years ago
viztracer - VizTracer 0.13.1 Release
- Updated perfetto
- Fixed timestamp unit
- Python
Published by gaogaotiantian about 5 years ago
viztracer - VizTracer 0.13.0 Release
- Use Perfetto as default UI
- Changed vizviewer
- Fixed timestamp bug
- Python
Published by gaogaotiantian about 5 years ago
viztracer - VizTracer 0.12.3 Release
- Support jupyter cell magics
- Add column number
- Some performance improvement
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.12.2 Release
Bug fix for vizviewer and timestamps
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.12.1 Release
- support perfetto
- add
vizviewer - unique name for tmp folder so multi-multi-processing program can work
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.12.0 Release
- log_async is supported
- log_event is supported
- log_sparse can show source code now
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.11.4 Release, remote attach
- add remote attach feature
- fix source code display bug
- fix spawn process bug
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.11.3 Release, support spawn
Now --log_multiprocess supports spawn
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.11.2 Release
Fix __name__ issue with -m
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.11.1 Release, ignore_frozen
Renamed ignore_non_file to ignore_frozen and changed the implementation to reflect that. Now it will only ignore frozen functions, not <string> ones.
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.11.0 Release, plugins supported
- thread and process name supported
subprocessworks in more cases now- multithread works better now
- plugin feature is added
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.10.5 Release
- Fixed
run_moduleissue to locate the attributes - Fixed
log_sparsewhen--log_sparseis not passed in
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.10.4 Release
set_afterforkis added to customize tracer afterfork()- forked process will clear the buffer and reset current stack depth with
multiprocessing --max_stack_depthworks properly withmultiprocessingnow
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.10.3 Release
- Added space after file path print on console to make it clickable
- Make
log_varwork with function and for loop - Increment timestamp if we had the same timestamp to fix same ts issue
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.10.2 Release
- Do not reference to the whole frame/args, only keep the useful part
- Escape
</script>to keep report from crashing
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.10.1 Release
- Global tracer registry is added
--versionis supported- docs is restructured
- Some function names are unified
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.10.0 Release
- Tracer save entries are unified.
- Function name format is changed.
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.9.5 Release, Source Code Display
VizTracer can display the source code of the function now
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.9.4 Release, Fix timestamp bug
Fix the timestamp bug for sparse log
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.9.3 Release, log_func_entry and log_sparse
Add two features:
- logfuncentry
- log_sparse
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.9.2 Release, bug fix
Fixed #32
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.9.1 Release, more multi process support
Support following:
* multiprocessing library
* os.fork()
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.9.0 Release, support subprocess
subprocessmodule is supported with--log_subprocess
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.8.3 Release, log_exception and double dash
- log_exception is added
--is preferred over--runto separate positional arguments
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.8.2 Release, log_func_exec added
- VizTracer supports
log_func_execnow to log function executions - Fixed a small bug in vdb
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.8.1 Release, Fix argument parsing
- Python
Published by gaogaotiantian over 5 years ago
viztracer - VizTracer 0.8.0 Release, log_var and log_number supported
VizTracer can log any variable without changing the source code now.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.7.5 Release, python 3.9 supported
python 3.9 is officially supported.
--openis added
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.7.4 Release, Fix include/exclude files
Now include/exclude files only check python functions.
viztracer command will convert the file to abs path
add example scripts
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.7.3 Release, Encoding Fix
Use binary to read the script to avoid encoding conflict.
Also force using utf-8 to read the html file because that's how we check it in.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.7.2 release, Garbage Collector Log
VizTracer can log garbage collector operation now.
Fixed a potential double decref issue.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.7.1 Release
VizLogging, VizObject and VizCounter can handle tracer = None now.
Use get_tracer() instead of the global variable __viz_tracer__
added a filter ignore_non_file
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.7.0 Release, Function Args Supported.
- You can automatically log function arguments now
- You can add --novdb to reduce the instrument cost
- vdb now checks the version of the json file
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.6.3 Release, Global tracer access
tracer can be accessed globally now if viztracer is used. Some bug fixes
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.6.2 Release, counter and object in vdb
Default tracer_entries is reduced so all computers can open the report with no issues.
Counter and Objects can be displayed in vdb now
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.6.1 Release, multi processes/threads supported
You can debug between multiple processes/threads now.
add a couple commands and fixed some bugs in source file displaying
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.6.0 Release, vdb is available
Virtual debug feature is introduced but still in alpha. You can debug your json report now.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.5.4 Release, fixed path finding
Now if the file name does not exist, VizTracer will try to find its absolute path by using which on Linux/MacOS. This can make VizTracer run on flask.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.5.3 Release, add_functionarg fixed
Fixed the bug in add_functionarg().
Reduced the overhead by moving converting data to parsing phase. Should save some run time memory as well.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.5.2 Release, more logging features
We can log function arguments now. Also we have a handler for logging module.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.5.1 Release, Bug Fix
tracer_entries can be set through VizTracer now
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.5.0 Release, Circular Buffer Now!
We converted to circular buffer so we can log forever!
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.4.2 Release
Underlying C structure for the module is changed. Most global variables are moved to objects, which means each VizTracer object actually has their own set of data.
We support module run now with viztracer -m module
@trace_and_save is added to periodically save trace in a long program
--log_return_value is supported
some fixes on fork_save
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.4.1 Release, Bug Fix
Fix flamegraph, it's been not working for a while and I did not realize it.
Fix important command line bugs, where "__name__" is not __main__. Also not even the script run exit() in their code, they will have trace.
Added secret feature fork_save, has not documented it yet. That's prepared for the next "profile as you run" feaature
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.4.0 Release
0.4.0 is the same as 0.3.4, We boosted the minor version for Windows support.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.3.4 Release, Windows support
We now support Windows! viztracer can be directly called through console command viztracer your_script.py
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.3.3 Release, gz file supported, overhead optimized
VizTracer now supports gz file, which could save disk space significantly while still being compatible with Chrome.
Several optimizations were applied
- include/exclude files overhead is reduced by not using
realpath - with
orjson, json can be directly dumped without decoding and encoding again - class name is not read anymore
- thread id now makes more sense on both linux and mac
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.3.2 Release, VizCounter and VizObject added
Unified the customized event VizCounter and VizObject. Now they have similar interface and it's easier to use them. Also fixed a source tar error that the header file is not included in the .tar file.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.3.1 Release, Counter and Object event supported
Two custom events are added, Counter and Object. Now the users have more ways to log their data structures
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTrace 0.3.0 Release
Multi-process is supported. Help message is polished.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.2.3 Release, Timestamp fixed
Timestamp is fixed. It was off by 1000x. Input check is implemented.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.2.2 release, major optimization, minor features
A very important optimization which cut file size in half and speed up everything is applied. Also you can overload print and ignore function now. A MacOS triggered bug is fixed, also C_EXCEPTION return is fixed.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.2.1 release, flamegraph is supported
VizTracer is capable of generating flamegraph now.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.2.0 release
0.2.0 is the same as 0.1.3. All features listed for 0.2.0 is finished so we promote the minor version.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - Viztracer 0.1.3 release, MacOS is supported
MacOS is officially supported. Instant feature is added
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - VizTracer 0.1.2 release, multi-thread is supported now
Multi-thread is supported. Parsing is moved to C code so it's faster now.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - Rename to VizTracer
CodeSnap is renamed to VizTracer now.
Add filter functions
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - CodeSnap first minor version change release
CodeSnap is working now with decent front-end. This is the first dev release.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - CodeSnap 0.0.5 release
Changed front-end to trace-viewer. Add json output support to use perfetto.
Fixed a bug reported.
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - CodeSnap 0.0.4 release
Front-end is using d3-flamegraph now
- Python
Published by gaogaotiantian almost 6 years ago
viztracer - CodeSnap 0.0.3 release
C tracer is added to improve overhead
- Python
Published by gaogaotiantian almost 6 years ago