News for hackers. Stuff that matters.
Re:LLVM 11.0 by stabbles on Monday October 12, 2020 @02:37PM (#24757833)
Are there any benchmarks that show compilation times using LLVM 11 versus older versions for representative projects?
Re:LLVM 11.0 by wallnuss on Monday October 12, 2020 @06:16PM (#24760087)
Julia is particularly sensitive to LLVM compile times. LLVM 11 did improve those over LLVM 10 (which had noticeable regressions versus LLVM 9). As an example see https://github.com/JuliaLang/julia/issues/37915#issuecomment...
Re:LLVM 11.0 by ChrisRackauckas on Monday October 12, 2020 @06:16PM (#24760086)
Julia devs are posting things like:

    julia-master with llvm10:
    % julia-master --project=. --startup-file=no -e '@time using Plots'
      4.028043 seconds (6.51 M allocations: 470.491 MiB, 4.07% gc time, 16.62% compilation time)
    llvm11:
    % julia-master --project=. --startup-file=no -e '@time using Plots'
      3.392166 seconds (5.97 M allocations: 431.075 MiB, 3.46% gc time, 17.22% compilation time)
So it looks promising that the startup + compilation time is improved.
Re:LLVM 11.0 by CyberDildonics on Monday October 12, 2020 @06:53PM (#24760425)
I wonder if cutting out a few million allocations might help
Re:LLVM 11.0 by gjasny on Monday October 12, 2020 @04:51PM (#24759310)
Our internal mono-repo with about 11000 C++ compilation units took about the same time with clang-11 compared to clang-10. I used the Ubuntu 20.04 packages from apt.llvm.org for testing.
Re:LLVM 11.0 by ndesaulniers on Monday October 12, 2020 @09:01PM (#24761257)
We fixed a method taking 13% of Linux kernel compiles in llvm-11.
Re:LLVM 11.0 by gjvc on Tuesday October 13, 2020 @06:11AM (#24764022)
I am interested to read the details behind this.
Re:LLVM 11.0 by kibwen on Monday October 12, 2020 @04:47PM (#24759278)
I don't have a link on me, but I recall that Rust reported some improved compilation time from upgrading to LLVM 11 (which is the default for 1.47, released last week).
Re:LLVM 11.0 by faitswulff on Monday October 12, 2020 @06:15PM (#24760067)
IIRC llvm 11 addressed a regression in compilation times.