[llvm-dev] How to get Code size and Performance numbers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[llvm-dev] How to get Code size and Performance numbers

Tingyuan LIANG via llvm-dev

Hi All,

 

How to get Code size and Performance numbers ?

 

Could any one please give your suggestions.

 

Thanks & Regards,

Ramakota.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
LLVM Developers mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reply | Threaded
Open this post in threaded view
|

Re: [llvm-dev] How to get Code size and Performance numbers

Tingyuan LIANG via llvm-dev
Hi Ramakota,

Code-size is usually straightforward: you add the size of the text and data sections to obtain the total size of an image. Depending on your platform, there are different tools that can help you with that, but e.g. "size" on a linux platform would be one.

Obtaining performance numbers can be a bit of a different story. But since you don't provide any details about your platform or environment, your question how to obtain numbers can't be answered in a useful way.

Cheers,
Sjoerd.


From: llvm-dev <[hidden email]> on behalf of Ramakota Reddy via llvm-dev <[hidden email]>
Sent: 21 May 2019 05:19
To: [hidden email]
Subject: [llvm-dev] How to get Code size and Performance numbers
 

Hi All,

 

How to get Code size and Performance numbers ?

 

Could any one please give your suggestions.

 

Thanks & Regards,

Ramakota.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

_______________________________________________
LLVM Developers mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reply | Threaded
Open this post in threaded view
|

Re: [llvm-dev] How to get Code size and Performance numbers

Tingyuan LIANG via llvm-dev

Thanks for your suggestions Sjoerd.

 

Is there any way to get code size by using  lnt frame work ?

 

And I am looking for Performance numbers in Linux Environment/Platform using lnt (correct me if I am wrong).

 

Could you please give your suggestions.

 

Thanks,

Ramakota.

 

From: Sjoerd Meijer <[hidden email]>
Sent: Tuesday, May 21, 2019 1:39 PM
To: [hidden email]; Ramakota Reddy <[hidden email]>
Cc: nd <[hidden email]>
Subject: Re: How to get Code size and Performance numbers

 

Hi Ramakota,

 

Code-size is usually straightforward: you add the size of the text and data sections to obtain the total size of an image. Depending on your platform, there are different tools that can help you with that, but e.g. "size" on a linux platform would be one.

 

Obtaining performance numbers can be a bit of a different story. But since you don't provide any details about your platform or environment, your question how to obtain numbers can't be answered in a useful way.

 

Cheers,

Sjoerd.

 


From: llvm-dev <[hidden email]> on behalf of Ramakota Reddy via llvm-dev <[hidden email]>
Sent: 21 May 2019 05:19
To: [hidden email]
Subject: [llvm-dev] How to get Code size and Performance numbers

 

Hi All,

 

How to get Code size and Performance numbers ?

 

Could any one please give your suggestions.

 

Thanks & Regards,

Ramakota.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
LLVM Developers mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Reply | Threaded
Open this post in threaded view
|

Re: [llvm-dev] How to get Code size and Performance numbers

Tingyuan LIANG via llvm-dev
I guess that depends on your LNT configuration/setup, looks like ours report code_size by default. Anyway, this looks like a good start: https://llvm.org/docs/lnt/quickstart.html

From: Ramakota Reddy
Sent: 21 May 2019 09:52
To: Sjoerd Meijer; [hidden email]
Cc: nd
Subject: RE: How to get Code size and Performance numbers
 

Thanks for your suggestions Sjoerd.

 

Is there any way to get code size by using  lnt frame work ?

 

And I am looking for Performance numbers in Linux Environment/Platform using lnt (correct me if I am wrong).

 

Could you please give your suggestions.

 

Thanks,

Ramakota.

 

From: Sjoerd Meijer <[hidden email]>
Sent: Tuesday, May 21, 2019 1:39 PM
To: [hidden email]; Ramakota Reddy <[hidden email]>
Cc: nd <[hidden email]>
Subject: Re: How to get Code size and Performance numbers

 

Hi Ramakota,

 

Code-size is usually straightforward: you add the size of the text and data sections to obtain the total size of an image. Depending on your platform, there are different tools that can help you with that, but e.g. "size" on a linux platform would be one.

 

Obtaining performance numbers can be a bit of a different story. But since you don't provide any details about your platform or environment, your question how to obtain numbers can't be answered in a useful way.

 

Cheers,

Sjoerd.

 


From: llvm-dev <[hidden email]> on behalf of Ramakota Reddy via llvm-dev <[hidden email]>
Sent: 21 May 2019 05:19
To: [hidden email]
Subject: [llvm-dev] How to get Code size and Performance numbers

 

Hi All,

 

How to get Code size and Performance numbers ?

 

Could any one please give your suggestions.

 

Thanks & Regards,

Ramakota.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


_______________________________________________
LLVM Developers mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev