Gentoo Archives: gentoo-dev

From: Lei Zhang <zhanglei.april@×××××.com>
To: "C Bergström" <cbergstrom@×××××××××.com>
Cc: "Anthony G. Basile" <gentoo-dev@l.g.o>, llvm@g.o
Subject: Re: [gentoo-dev] New project: LLVM
Date: Sun, 21 Aug 2016 01:10:58
Message-Id: CAOYuCc2OG26MQViSYi_YOvt6HzksWQWodQUFXx5UJbrgRDFiVw@mail.gmail.com
In Reply to: Re: [gentoo-dev] New project: LLVM by "C Bergström"
1 2016-08-20 1:13 GMT+08:00 C Bergström <cbergstrom@×××××××××.com>:
2 > I finally got it to build and here's the size numbers
3 > 952K ./lib/libc++abi.a
4 > 616K ./lib/libc++abi.so.1.0
5 >
6 > If the above isn't enough motivation and you really want benchmarks
7 > which prove it's a pig... I'll try to figure something else
8 >
9 > Not exactly a 1:1 comparison because I think other things are mixed in, but...
10 > 352K /usr/lib/gcc/x86_64-linux-gnu/4.9/libsupc++.a
11 > 356K /usr/lib/gcc/x86_64-linux-gnu/5/libsupc++.a
12 >
13 > In the land of HPC we frequently statically link stuff... not that
14 > 864KB is big by any sort of modern definition, but it does raise
15 > questions..
16
17 Though larger code size might be detrimental to performance (more
18 cache misses), seeing the runtime of a real world program is probably
19 more convincing :)
20
21 Speaking of HPC, could you recommend some HPC programs that I can
22 benchmark against libcxxrt/libc++abi?
23
24
25 Lei