diff --git a/src/page/Home.js b/src/page/Home.js index f17fe3a..4d1459f 100644 --- a/src/page/Home.js +++ b/src/page/Home.js @@ -688,6 +688,51 @@ let r = query p select (c, d) from ReadyDate(c; d)
+ + +

Compiler Performance: The Raw Numbers

+ +

+ The following table illustrates the performance of the Flix compiler on an Apple M2 Pro with + a 10‑core CPU running on OpenJDK 21: +

+ + + + + + + + + + + + + +
Throughput (entire compiler):41,700 lines/sec
Throughput (frontend only):93,000 lines/sec
+ + +

+ The above results can be reproduced by running the commands: java -jar flix.jar Xperf + --n 21 and java -jar flix.jar Xperf --frontend --n 21. +

+ +

+ The Flix compiler achieves these results despite supporting costly programming language + features, including: (a) type and effect inference, (b) monomorphization, and (c) + whole-program optimization. +

+ +

+ The performance of Flix compiler is mostly determined by CPU performance and memory + bandwidth. +

+ + +
+ +
+

Visual Studio Code Support