Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Performance

MaggieYingYi edited this page Sep 22, 2020 · 10 revisions

Compile Timings

This page currently shows a limited collection of code that we've compiled to a program repository. The quantity of code being successfully compiled has been gradually increasing, even LLVM itself (Build LLVM with the Repo Compiler) is a viable test source.

pstore compilation

pstore (commit: 0b38182933421c800847d2acc322cda08ae68a70)

The compilation time is measured by adding -ftime-trace to all files and analysed with ClangBuildAnalyzer.

Debug

Barchart

Compiler switches: -O0 -DNDEBUG -ftime-trace -fno-exceptions -fno-rtti

Target Frontend time (seconds) Backend time (seconds) Total compilation time (seconds)
ELF 262.6 21.5 284.1
prepo initial compilation 260 21.6 281.6
prepo incremental compilation 259 4.9 263.9

(Times are average of 4 iterations.)

Release

Barchart

Compiler switches: -O3 -DNDEBUG -ftime-trace -fno-exceptions -fno-rtti

Target Frontend time (seconds) Backend time (seconds) Total compilation time (seconds)
ELF 273.8 180.7 454.5
prepo initial compilation 272.5 180.7 453.2
prepo incremental compilation 264.3 9.3 273.6

(Times are average of 4 iterations.)

Test conditions

Compiler

llvm-project-prepo (commit: ff3ca79f6cf10f99a05ad3067c197cbd38f913a1)
pstore (commit: 0b38182933421c800847d2acc322cda08ae68a70)

Hardware/OS:

Architecture x86_64
Model name AMD Ryzen 9 3950X 16-Core Processor
CPU(s) 32
Thread(s) per core 2
Core(s) per socket 16
Socket(s) 1
CPU max MHz 3500.0000
CPU min MHz 2200.0000
L1d cache 512 KiB
L1i cache 512 KiB
L2 cache 8 MiB
L3 cache 64 MiB
Memory 32GiB System Memory
OS Ubuntu 20.04.1 LTS