Remix.run Logo
fngjdflmdflg 4 days ago

Is there a reason that some of the linked benchmarks, if I'm reading it right, have Fil-C running faster than C?[0] I assume it's just due to micro-benchmark variability but I'm curious. Some of them seem impossibly fast compared to C so I wonder if there are some correctness issue there.

[0] https://cr.yp.to/2025/20251028-filcc-vs-clang.html

jeffjeffbear 4 days ago | parent [-]

Usually garbage collection does improve alot of benchmarks, just look at the hans boem gc benchmarks.

fragmede 4 days ago | parent | next [-]

Back in the day, the cheat was to set up the GC so that the GC happened outside the timed portion of the benchmark. You know what's faster than the fastest GC? Not doing it.

jeffjeffbear 4 days ago | parent [-]

Classic example: https://devblogs.microsoft.com/oldnewthing/20180228-00/?p=98...

fngjdflmdflg 4 days ago | parent | prev [-]

The two extreme outliers I see are labeled "aead/clx192q/opt,-O3" and "aead/schwaemm128128v2/opt,-Os" according to clicking on the points with devtools. aead/schwaemm128128v2/opt,-Os looks like it is almost at 0x. 1x is at about y = 659 and that test is at 769 out of I guess 780 based on the graph.