Skip to content

Releases: MStarRobotics/dmd-perf-prototype

v0.1.0 - Initial public release

21 Mar 08:38

Choose a tag to compare

DMD Performance Prototype: Initial Public Release

This release publishes the first public version of the DMD performance
prototype.

The project is a D-first benchmarking and regression-analysis toolkit for DMD.
It is designed to measure release-to-release compile-time behavior, capture
compiler phase costs with -ftime-trace, run focused experiments, and
generate review-ready evidence such as CSV summaries, charts, and reports.

Highlights

  • Added a dual-track benchmarking workflow:
    • latest20 for the most recent DMD releases
    • compatible20 for stable host-compatible regression analysis
  • Added D-native CLI support through dmdbench
  • Added Python and shell-based analysis/reporting workflows
  • Added verification summaries, chart indexes, and generated performance
    charts
  • Added release-cache bootstrap support for more reproducible runs
  • Improved Linux gap-close CI and permissions handling
  • Expanded repository documentation with workflow and architecture diagrams

What this repo helps with

  • Benchmarking DMD compiler performance across releases
  • Finding compile-time regressions
  • Attributing cost by compiler phase using -ftime-trace
  • Running targeted experiments for parser behavior, switch scaling, and
    related performance investigations
  • Producing evidence that is easier to review and share

Current status

This is an early prototype and should be treated as an experimental toolkit
rather than a finalized product. Interfaces, workflows, and generated outputs
may continue to change as the benchmarking process is refined.

Tech stack

  • D
  • Python 3
  • Bash
  • Makefile
  • dub
  • DMD
  • matplotlib
  • CSV/SVG reporting