Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Message from Our Sponsor on ttyTV at 13:58 ...


devel / comp.lang.c / Re: Measuring the performance of C code

SubjectAuthor
* Measuring the performance of C codeMehdi Amini
`- Re: Measuring the performance of C codeBranimir Maksimovic

1
Measuring the performance of C code

<sjrlnb$4tf$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18630&group=comp.lang.c#18630

  copy link   Newsgroups: comp.lang.c
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: atorr...@gmail.com (Mehdi Amini)
Newsgroups: comp.lang.c
Subject: Measuring the performance of C code
Date: Sat, 9 Oct 2021 12:30:25 +0330
Organization: A noiseless patient Spider
Lines: 4
Message-ID: <sjrlnb$4tf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Oct 2021 09:00:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="443c22d7edc6614742e43de967aca080";
logging-data="5039"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3wWPwVXLxNDBNSeuJszQj6VI+GtiTOAg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
Cancel-Lock: sha1:w0qUI3rq7Bdr3Gs8qMcprT1rCoA=
Content-Language: en-US
X-Mozilla-News-Host: snews://news.eternal-september.org:563
 by: Mehdi Amini - Sat, 9 Oct 2021 09:00 UTC

Hi,

I know about profiling with gcc (-pg). It seems to me Clang supports
that too. What are other ways of measuring performance of C code ?

Re: Measuring the performance of C code

<RYc8J.168657$rl3.119193@fx45.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18631&group=comp.lang.c#18631

  copy link   Newsgroups: comp.lang.c
Path: rocksolid2!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
Newsgroups: comp.lang.c
From: branimir...@icloud.com (Branimir Maksimovic)
Subject: Re: Measuring the performance of C code
References: <sjrlnb$4tf$1@dont-email.me>
User-Agent: slrn/1.0.3 (Darwin)
Lines: 13
Message-ID: <RYc8J.168657$rl3.119193@fx45.iad>
X-Complaints-To: abuse@usenet-news.net
NNTP-Posting-Date: Sat, 09 Oct 2021 09:06:57 UTC
Organization: usenet-news.net
Date: Sat, 09 Oct 2021 09:06:57 GMT
X-Received-Bytes: 1027
 by: Branimir Maksimovic - Sat, 9 Oct 2021 09:06 UTC

On 2021-10-09, Mehdi Amini <atorrses@gmail.com> wrote:
> Hi,
>
> I know about profiling with gcc (-pg). It seems to me Clang supports
> that too. What are other ways of measuring performance of C code ?
on macOS there is instruments app (lot of data), and on Linux there is perf command
line tool that shows cache hits/misses to cycles spent...

--

7-77-777
Evil Sinner!
with software, you repeat same experiment, expecting different results...


devel / comp.lang.c / Re: Measuring the performance of C code

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor