From 209dbf3c599a3d184ba18e47dc1ea9436e856702 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Mon, 12 Oct 2026 18:36:48 +0100 Subject: [PATCH] compiler.md: v0.8.0's measures, all told Measured against v0.7.1 directly: rat 2.5% fewer cycles and 5.9% fewer instructions, not the 4% the release commit guessed. --- diff --git a/doc/compiler.md b/doc/compiler.md index 8ac32ce..4317118 100644 --- a/doc/compiler.md +++ b/doc/compiler.md @@ -425,6 +425,11 @@ it looked through its own; `.debug_line`'s section header points at it in rodata. Hello is 7 KB smaller, 28 KB; rat 17%, 505 KB. +All told, against v0.7.1, in user-space cycles: the heap sort 23% +fewer, the search 15%, the sum 41%, each now within 2% of FPC +`-O2`'s; rat 2.5% fewer cycles and 6% fewer instructions on its +workload. Every default program is 20 to 25% smaller. + ## diag.pas: messages Every message the compiler prints is made here. A position, `TPos`, is