GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing learn.microsoft.com — Run profiler to measure Python code performance - Visual Studio (Windows) Note Access to this page requires authorization. You can try signing in or changing directories. Access to this page requires authorization. You can try changing directories. Profile Python code in Visual StudioVisual Studio provides profiling features for Python applications when you debug your code. The Visual Studio Debugger lets you step through your code to check variables, analyze program state, resolve potential issues, and so on. Visual Studio profiling features provide information about execution times for your program. You can use this information to help identify performance issues in your code. Profiling is available for Python 3.9 and earlier when you use a CPython-based interpreter. Prerequisites
Visual Studio for Mac isn't supported. Visual Studio Code on Windows, Mac, and Linux works well with Python through available extensions. Use profiler with CPython-based interpreterWhen you profile a Python application, Visual Studio collects data for the lifetime of the process, measured in milliseconds (ms). Follow these steps to start working with the profiling features in Visual Studio:
The profiler runs and opens a performance report in Visual Studio. You can review the report to explore how time is spent in your application: Use profiler with IronPythonIronPython is a .NET implementation of Python that's available in 32-bit and 64-bit versions. IronPython isn't a CPython-based interpreter. Visual Studio supports standard Python debugging for IronPython, but not the profiling features. For IronPython projects, you can use the Visual Studio .NET profiler. Run the IronPython offers some built-in profiling, but there's currently no workable visualizer. For more information, see An IronPython Profiler (blog) and Debugging and Profiling in the IronPython documentation. Related contentFeedbackWas this page helpful? NoAdditional resources
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |