Jump to page: 1 2

Thread overview
DMD performance dashboard is live now

4 days ago

H. S. Teoh

4 days ago

user1234

4 days ago

M.M.

4 days ago

jmh530

4 days ago

Per Nordlöw

3 days ago

Andrea Fontana

2 days ago

libxmoc

2 days ago

libxmoc

5 days ago

DMD performance dashboard is live now
Gravatar of Abul Hossain KhanPosted by Abul Hossain KhanPermalinkReply
Gravatar of Abul Hossain Khan

Hi everyone,

Quick update on the performance regression publisher project from GSoC. The dashboard is now up and running at https://perf.dlang.org

Every merge to dmd master gets measured by the perf workflow, the result goes into a data repo https://github.com/dlang/dmd-perf-data and the web page is showing those data.

Two improvements also went into the PR bot after GSoC:

  • https://github.com/dlang/dmd/pull/23834 - The PR check was reusing base's PGO profile for the head build, so some PRs got big deltas that weren't real (one showed +7.49% on hello.d, after merge the master run said 0.00%). Now both sides train their own profile, so the numbers are a lot more accurate.
  • https://github.com/dlang/dmd/pull/23884 - base and head are now built in parallel, nearly halves build time.

I will keep an eye on the dashboard and look into any spikes, that will be be interesting.
Thanks to Dennis for mentoring the whole thing, and Mike for setting things up, and to the whole D community. And as always, feel free to leave any feedback or suggestions!

4 days ago

Re: DMD performance dashboard is live now
Gravatar of H. S. TeohPosted by H. S. Teoh
in reply to Abul Hossain Khan
PermalinkReply

H. S. Teoh

Gravatar of H. S. Teoh

Posted in reply to Abul Hossain Khan

[Moving to general forum since this reply is not announcement-related]

On Wed, Sep 23, 2026 at 03:01:52PM +0000, Abul Hossain Khan via Digitalmars-d-announce wrote:
> Hi everyone,
> 
> Quick update on the performance regression publisher project from GSoC. The dashboard is now up and running at https://perf.dlang.org

Very nice!


> Every merge to dmd master gets measured by the perf workflow, the result goes into a data repo https://github.com/dlang/dmd-perf-data and the web page is showing those data.
[...]

Interesting, there seems to be a major improvement in compile-time memory usage across the board around 2026-09-16 that shows a marked dip in the graphs. (Though at the same time dmd binary size also grew by a leap.)  Which PR does this correspond to?


--T

4 days ago

Re: DMD performance dashboard is live now
Gravatar of Abul Hossain KhanPosted by Abul Hossain Khan
in reply to H. S. Teoh
PermalinkReply

Abul Hossain Khan

Gravatar of Abul Hossain Khan

Posted in reply to H. S. Teoh

> Interesting, there seems to be a major improvement in compile-time memory usage across the board around 2026-09-16 that shows a marked dip in the graphs. (Though at the same time dmd binary size also grew by a leap.)  Which PR does this correspond to?

You can drag on a chart to zoom into a range, and clicking a point opens the commit page which has links to the commit and the PR. For this one it's https://github.com/dlang/dmd/pull/23870. It changes how the measured compiler is built, not dmd itself.

4 days ago

Re: DMD performance dashboard is live now
Gravatar of user1234Posted by user1234
in reply to Abul Hossain Khan
PermalinkReply

user1234

Gravatar of user1234

Posted in reply to Abul Hossain Khan

On Wednesday, 23 September 2026 at 15:01:52 UTC, Abul Hossain Khan wrote:

>

Hi everyone,

Quick update on the performance regression publisher project from GSoC. The dashboard is now up and running at https://perf.dlang.org

[...]

Thanks to Dennis for mentoring the whole thing, and Mike for setting things up, and to the whole D community. And as always, feel free to leave any feedback or suggestions!

Congratz, nice work. Is there any plan to eventually block a PR if the delta is too suspiciously positive ?

4 days ago

Re: DMD performance dashboard is live now
Gravatar of M.M.Posted by M.M.
in reply to Abul Hossain Khan
PermalinkReply

M.M.

Gravatar of M.M.

Posted in reply to Abul Hossain Khan

On Wednesday, 23 September 2026 at 15:01:52 UTC, Abul Hossain Khan wrote:

>

Hi everyone,

Quick update on the performance regression publisher project from GSoC. The dashboard is now up and running at https://perf.dlang.org

[...]

Nice work!

4 days ago

Re: DMD performance dashboard is live now
Gravatar of jmh530Posted by jmh530
in reply to Abul Hossain Khan
PermalinkReply

jmh530

Gravatar of jmh530

Posted in reply to Abul Hossain Khan

On Wednesday, 23 September 2026 at 15:01:52 UTC, Abul Hossain Khan wrote:

>

Hi everyone,

Quick update on the performance regression publisher project from GSoC. The dashboard is now up and running at https://perf.dlang.org

Looks good. In terms of presentation, you might consider adding y axis labels and giving the titles more descriptive names (and centering them). The more that someone could look at it with fresh eyes and not need to go to the Info page, probably the better.

It might also be interesting to integrate something like this into it (just for D)
https://github.com/nordlow/compiler-benchmark
such that you can track runtime performance over time.

4 days ago

Re: DMD performance dashboard is live now
Gravatar of Per NordlöwPosted by Per Nordlöw
in reply to jmh530
PermalinkReply

Per Nordlöw

Gravatar of Per Nordlöw

Posted in reply to jmh530

On Thursday, 24 September 2026 at 13:49:07 UTC, jmh530 wrote:

>

It might also be interesting to integrate something like this into it (just for D)
https://github.com/nordlow/compiler-benchmark
such that you can track runtime performance over time.

Incidentally, I've been spending hours improving compiler-benchmark this week. I've added more languages and now working on parallell execution across multiple processes.

3 days ago

Re: DMD performance dashboard is live now
Gravatar of Andrea FontanaPosted by Andrea Fontana
in reply to Abul Hossain Khan
PermalinkReply

Andrea Fontana

Gravatar of Andrea Fontana

Posted in reply to Abul Hossain Khan

On Wednesday, 23 September 2026 at 15:01:52 UTC, Abul Hossain Khan wrote:

>

Hi everyone,

Quick update on the performance regression publisher project from GSoC. The dashboard is now up and running at https://perf.dlang.org

Nice! I see some graphs are a bit noisy. Did you run the tests just once? Maybe running them multiple times and taking the median would do the trick.

Andrea

2 days ago

Re: DMD performance dashboard is live now
Gravatar of libxmocPosted by libxmoc
in reply to Abul Hossain Khan
PermalinkReply

libxmoc

Gravatar of libxmoc

Posted in reply to Abul Hossain Khan

That's awesome, thanks for your work!

I was wondering tho, what are you using to run the benchmarks?

If you are using GitHub Actions, I would suggest moving the benchmarks to a dedicated server.

GitHub Actions runners run on shared/ephemeral virtual machines, so their performance will vary between runs.

That make them less reliable for detecting small performance changes or regressions.

A dedicated machine would give you a much more controlled and reproducibel environment.

2 days ago

Re: DMD performance dashboard is live now
Gravatar of libxmocPosted by libxmoc
in reply to libxmoc
PermalinkReply

libxmoc

Gravatar of libxmoc

Posted in reply to libxmoc

On Saturday, 26 September 2026 at 07:03:52 UTC, libxmoc wrote:

>

That's awesome, thanks for your work!

I was wondering tho, what are you using to run the benchmarks?

If you are using GitHub Actions, I would suggest moving the benchmarks to a dedicated server.

GitHub Actions runners run on shared/ephemeral virtual machines, so their performance will vary between runs.

That make them less reliable for detecting small performance changes or regressions.

A dedicated machine would give you a much more controlled and reproducibel environment.

Also, are you pinning the Phobos version? Otherwise, a change in Phobos between two runs could affect the results too.