Skip to content
TriedPrompts

More in Research tools & tests.

Run async code-research benchmarks with a coding agent

Claude Code found six more Python Markdown libraries on its own, benchmarked all seven and wrote a report with charts.

Result: WorkedTool: Claude CodeLevel: AdvancedSetup: Needs PythonEvidence: Strong evidence

Copy the prompt

Strong evidence: Anyone can open the public code, notes and benchmark charts. Rated , after reopening the source. Rates the evidence, not the result. Failed and partial cases are rated the same way. How we rate evidence

Outcome

Asked only about cmarkgfm, Claude Code found six other Python Markdown libraries by itself, benchmarked all seven and wrote a report with charts, in which cmarkgfm came out on top; the author notes they haven't been reviewing these reports in great detail. Willison runs these research tasks in a dedicated repository set up with full network access, so the agent can install whatever it needs without risk to sensitive code; the public one held 13 projects after two weeks, and Willison fires off two or three a day. A follow-up project built on this one and got cmarkgfm, which has a C extension, compiled and loading inside Pyodide in Node.js.

WorkedPosted Last checked

Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.

How to use this

  1. Tap Copy prompt.
  2. Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
  3. Paste it into the message box.
  4. Send it, then read the answer before acting on it.
New to this? What's a prompt?

A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.

Prompt

Original prompt

The prompt as the person shared it in the source.

What the prompt labels mean

These are the person's own words, as shared in the source.

Create a performance benchmark and feature comparison report on PyPI cmarkgfm compared to other popular Python markdown libraries—check all of them out from github and read the source to get an idea for features, then design and run a benchmark including generating some charts, then create a report in a new python-markdown-comparison folder (do not create a _summary.md file or edit anywhere outside of that folder). Make sure the performance chart images are directly displayed in the README.md in the folder.

Try this in:

Sends the Original prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.

The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Goal: Benchmark cmarkgfm against popular Python markdown libraries and write a feature and performance report.

Inputs (fill in or confirm):
- Libraries to include (e.g. markdown, mistune, markdown-it-py, commonmark)
- Test documents or sizes to use
- Output folder name (python-markdown-comparison)

Rules:
- Read each library's source and docs to build a feature table (GFM tables, footnotes, extensions, safety).
- Pin versions and record them in the report.
- Run each benchmark several times on the same inputs and report median and spread.
- Generate charts as PNG and include the script that made them.
- Note the machine, Python version and input sizes used so results can be reproduced.
- Check each library's output on a sample document matches cmarkgfm's, and flag differences, so speed isn't compared on wrong output.

Checkpoint: Don't publish or push results; keep everything in the new folder.

If you get stuck: If a library won't install, note it and continue with the rest. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords.

Verify before you finish: Re-run the benchmark once to confirm numbers are stable within a reasonable margin.

Output: A README report with feature table, charts, methodology and how to reproduce.

Done when: someone can rerun your script and get similar numbers.

AI tool

Claude Code

Source

Posted
by Simon Willison
Last checked
Method:
How we verify

https://simonwillison.net/2025/Nov/6/async-code-research/

Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.

More in Research tools & tests

More in ResearchRandom case in Research