Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 3.95 KB

README.md

File metadata and controls

69 lines (56 loc) · 3.95 KB

Benchmark

How much of what real domains publish Sendermap can name, measured the same way every release, over the same 300 domains.

uv run python tools/benchmark.py                          # map the list, write runs/<date>-<version>.json
uv run python tools/benchmark.py --report runs/X.json     # print one run's summary
uv run python tools/benchmark.py --compare runs/OLD.json  # how the newest run differs from OLD

The list is data/benchmark_domains.txt: the first 297 domains of Tranco list 8PX5V that published mail records on 2026-10-25, then three retail brands. It stays fixed so runs compare. A run uses the CLI's defaults and live DNS through the machine's resolver, about 15 minutes. Run it from a fresh uv sync --reinstall-package sendermap after tagging, so the run file carries the release version rather than a dev string.

What the numbers mean

  • Shared named groups is the headline. A named unknown is an SPF include, a mail server, a CNAME or a report address that is clearly a sender and matches no service in the catalog. Grouped by zone, a group two domains or more publish is almost always a vendor, so each one is a vendors.json entry waiting to be written. Lower is better.
  • Fully named % is the share of domains with no named unknown at all.
  • Address unknowns are IP addresses and ranges in SPF that no service is credited for. Most are a company's own servers and should stay unknown, so this number is context, not a target.
  • No sender found counts domains where nothing in DNS shows a sending service.

Live DNS changes between runs, so a comparison mixes catalog changes with the world changing. A service a domain lost with no catalog change behind it is either drift or a bug worth a look.

Runs

run shared named groups fully named senders found no sender median seconds
0.1.7, 2026-10-25 83 57 of 300 (19.0%) 1,417 63 10.8
0.1.13, 2026-11-14 68 74 of 300 (24.7%) 1,437 59 3.6
0.1.14, 2026-11-14 58 75 of 300 (25.0%) 1,456 55 5.5

The 0.1.13 and 0.1.14 runs were made hours apart on one machine. The median seconds differ with the load on the resolver, not with the code: the two versions timed one after the other on zoom.us, spotify.com and vimeo.com took the same time to within 0.2 seconds. mail.ru's sending subdomains answer differently from run to run, so its services come and go between runs.

Work list from the 0.1.7 run

Leads a catalog pass should look at, from the run's ranked tables:

  • Mailbox services with no entry: Yandex 360, VK WorkMail (Mail.ru for business) and Amazon WorkMail (by its *.awsapps.com autodiscover CNAME) are now in the catalog. WorkMail's MX and SPF are Amazon SES patterns, so it carries no setup. _spf.myorderbox.com, at hostgator.com, hosting24.com, reg.ru and timeweb.ru, is ResellerClub's reseller platform sending its notices, not a mailbox, so it is named in Commerce and apps.
  • Report receivers with no entry: done. emailanalyst.com is eDataSource and dmarc.cyber.dhs.gov is CISA.
  • Proofpoint's own networks (AS22843, AS26211) in SPF at 6 domains: done, credited to Proofpoint.
  • selector1 CNAMEd into outbound.protection.outlook.com: done. It is at 4 domains, all Microsoft's own, pointing at a live Exchange Online Protection key, and is now credited to Microsoft 365.
  • Not senders: CNAMEs to web hosting and CDNs (ghs.googlehosted.com, cloudfront.net, edgekey.net, fastly.net) at labels the label source asks. Done for labels that are not tracking labels (rules.web_hosts). At go, link, click and the other tracking labels, where most of them are, they stay unknown, since a sending service may serve its click links through a CDN.

Most of the top 300 run their own mail (Google, Microsoft, Amazon, Meta), so their sibling domains show up as unknowns too. That is correct and keeps the fully named share low on this list; it is the trend between runs that counts.