#profiling

[ follow ]
Software development
fromMedium
1 week ago

Measure Carefully-Because You'll Fix What You Measure (Based on true story!)

Measure asynchronous work completion, not just scheduling; callbacks can make execution time appear near-zero and hide real costs.
fromdaniel.feldroy.com
3 days ago

Using pyinstrument to profile Air apps

Air is built on FastAPI, so we could use [pyinstrument's instructions](https://pyinstrument.readthedocs.io/en/latest/guide.html#profile-a-web-request-in-fastapi) modified. However, because profilers reveal a LOT of internal data, in our example we actively use an environment variable. You will need both `air` and `pyinstrument` to get this working: ```sh # preferred uv add "air[standard]" pyinstrument # old school pip install "air[standard]" pyinstrument ```
Software development
fromInfoQ
3 weeks ago

Improved Application Insights Code Optimizations Identify .NET Performance Bottlenecks Automatically

Code Optimizations is an AI-based service running on Azure Application Insights that uses telemetry gathered by the Application Insights Profiler for .NET to analyse runtime behaviour, find performance bottlenecks down to individual methods, and provide actionable suggestions. Developers can view aggregated data over time (defaulting to a rolling 24‑hour window, with history up to 30 days) for their production and non-production environments.
Software development
Python
fromRealpython
1 month ago

Profiling Performance in Python Quiz - Real Python

Use profiling and benchmarking tools like cProfile and timeit to identify hotspots and optimize Python code performance, comparing deterministic and statistical approaches.
Python
fromRealpython
2 months ago

Episode #257: Comparing Real-World Python Performance Against Big O - The Real Python Podcast

Real-world performance of algorithms often contradicts Big O expectations, with profiling revealing significant discrepancies.
[ Load more ]