Skip to content

Simon Willison Uses Python 3.15 Profiling to Identify web-edit’s Line-Ending Bottleneck

1 reports 1 reporting sources 5 days agoNew

Understand the event

AI overview

Simon Willison demonstrated Python 3.15’s built-in sampling profiler on the unmodified web-edit app, finding that preserving mixed line endings dominated the editing workload. He had GPT-6 Astra Extra High in Codex run the profiler and produce a flame graph and source heatmap. In the profiled workload, `preserve_endings` appeared in 64.8% of 15,296 CPU stacks, while `SequenceMatcher.find_longest_match` accounted for 38.3% of leaf samples. AnyIO’s worker thread produced 95.1% of the stacks, making sampling across all threads essential to capturing the work.

Generated by AI from reports · Updated 3 days ago

Report timeline

Follow the reports to explore different sides of the event.

10/13
  1. Profiling web-edit with Python 3.15 Reveals Line-Ending Workload Hotspots

    Profiling the unmodified web-edit app with Python 3.15’s built-in `profiling.sampling` found that preserving mixed line endings dominated the editing workload. `preserve_endings` appeared in 64.8% of 15,296 CPU stacks, while `SequenceMatcher.find_longest_match` contributed 38.3% of leaf samples; 95.1% of stacks came from AnyIO’s worker thread, making all-thread sampling essential.

Event heat trend

可比范围当前
3
Peak within comparable coverage
410/14 09:00 (UTC+8)
近 24 小时变化
–

Trends compare the same continuously observed participants, which may cover fewer sources than current heat. Point or click to inspect hourly heat, or use left and right arrow keys.

Keep reading

Latest daily · Issue 24NVIDIA and AI4Bharat Introduce Nemotron-pretraining-Indic-v1 and an Open Data Generation Pipeline

Trending now

  1. 1Meta Releases Muse Spark Open With Mac and Cloud Support, Topping US Open-Weight Index
  2. 2Google Launches Gemini 4 Argon Globally, Expands Paid Access as Benchmark Results Vary
  3. 3OpenAI Updates GPT-6 Astra Pro in ChatGPT With Parallel Agents and Faster Responses
  4. 4Meta’s New Business Terms Raise Dispute Over Website Crawling and AI Training Rights