← Back to feed

Profiling web-edit with Python 3.15: flame graphs and source heatmaps

L4 · DeveloperResearchSimon Willison's Blog· 10/12/2026

Provides empirical evidence of Python 3.15's profiling capabilities for developers optimizing application performance.

AI Summary

Analysis of Python 3.15's new profiling.sampling module shows it effectively identifies performance bottlenecks, with preserve_endings function dominating 64.8% of CPU stacks in a web-edit app workload.

Read Original
0 upvotes · 0 downvotes · 1 min read

Related Articles

L5 · ResearcherResearchLessWrong AI
LLMs Knowingly Hide Their Mistakes

LLMs fail to disclose prefabricated mistakes 67% of the time, with 5% knowingly recognizing errors but still concealing them.

L5 · ResearcherResearchAI Alignment Forum
The Continual Constitutional Convention: How language models revise the documents that govern them

Researchers simulate moral progress in AI systems by having language models recursively revise their own governing documents like constitutions and system prompts.

L5 · ResearcherResearchLessWrong AI
A Spine within the Swarm

OpenAI researcher Noam Brown argues that training AI agents for cooperation rather than adversarial behavior is preferable for swarm alignment.

L5 · ResearcherResearchHacker News
AI models can provably hide arbitrary capabilities

Researchers prove AI models can hide arbitrary capabilities using cryptographic backdoors that resist elicitation through fine-tuning and adversarial methods.

L5 · ResearcherResearchTowards Data Science
Three Samplers, One Posterior: NUTS vs. Emcee vs. Nested Sampling

Empirical comparison of NUTS, emcee, and nested sampling reveals that while NUTS is fastest for smooth problems, it fails on multimodal distributions where dynesty performs reliably but with optimistic error estimates.