cd /news/ai-research/introducing-dotnetperlsbench · home › topics › ai-research › article
[ARTICLE · art-181876] src=dotnetperls.com ↗ pub= topic=ai-research verified=true sentiment=· neutral

Introducing DotNetPerlsBench

A developer built DotNetPerlsBench, an objectively scored benchmark that has each LLM generate a Rust file implementing a trie data structure, then measures execution time (75% of the score) and memory usage (25%) in a harness. Three models reach the highest score: Claude Opus 5.5, Gemini 4 Neon, and Qwen 4 Max. The author says results vary widely across models on the same prompt and hopes open-weight models will eventually match the top score.

recommendation

Score LLM-generated code by running it in a harness, weighting runtime 75% and memory 25%, rather than judging output by inspection alone.

more in playbook: Evals and testing for LLM apps
read1 min views1 publishedDec 4, 2026

I have spent some time generating Rust code with frontier (and cheaper) LLMs. This sometimes has unpredictable results—which LLM is capable of the job? I found that different models generate vastly different code on the same prompt.

I built an objectively-scored benchmark called DotNetPerlsBench. Basically each model is told to generate a Rust code file; this code is then placed in a benchmark harness. Memory usage and execution time in a benchmark is measured. Runtime is 75% of the score, and memory usage the remaining 25%.

The code is a Rust struct that implements a trie data structure. The model is free to use any optimizations, and it is told about the scoring metrics. I found that currently 3 models can get the highest score—Claude Opus 5.5, Gemini 4 Neon, and Qwen 4 Max. It is my hope that as open-weight models progress, they can reach the highest score. I currently believe that the current highest score may be as high as possible given the constraints.

── more in #ai-research 4 stories · sorted by recency
── more on @dotnetperlsbench 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/introducing-dotnetpe…] indexed:0 read:1min 2026-12-04 · —