Manual and Fast C Code Optimization
Developing an application with high performance through the code optimization places a greater responsibility on the programmers. While most of the existing compilers attempt to automatically optimize the program code, manual techniques remain the predominant method for performing optimization. Deci...
Main Author: | |
---|---|
Format: | Article |
Language: | deu |
Published: |
Mirton Publishing House, Timisoara
2010-01-01
|
Series: | Anale: Seria Informatică |
Online Access: | http://anale-informatica.tibiscus.ro/download/lucrari/8-1-09-Abdulla.pdf |
_version_ | 1811251610762870784 |
---|---|
author | Mohammed Fadle Abdulla |
author_facet | Mohammed Fadle Abdulla |
author_sort | Mohammed Fadle Abdulla |
collection | DOAJ |
description | Developing an application with high performance through the code optimization places a greater responsibility on the programmers. While most of the existing compilers attempt to automatically optimize the program code, manual techniques remain the predominant method for performing optimization. Deciding where to try to optimize code is difficult, especially for large complex applications. For manual optimization, the programmers can use his experiences in writing the code, and then he can use a software profiler in order to collect and analyze the performance data from the code. In this work, we have gathered the most experiences which can be applied to improve the style of writing programs in C language as well as we present an implementation of the manual optimization of the codes using the Intel VTune profiler. The paper includes two case studies to illustrate our optimization on the Heap Sort and Factorial functions. |
first_indexed | 2024-04-12T16:23:00Z |
format | Article |
id | doaj.art-a8c5d95b3ac94f50a30880dda0ecae82 |
institution | Directory Open Access Journal |
issn | 1583-7165 2065-7471 |
language | deu |
last_indexed | 2024-04-12T16:23:00Z |
publishDate | 2010-01-01 |
publisher | Mirton Publishing House, Timisoara |
record_format | Article |
series | Anale: Seria Informatică |
spelling | doaj.art-a8c5d95b3ac94f50a30880dda0ecae822022-12-22T03:25:30ZdeuMirton Publishing House, TimisoaraAnale: Seria Informatică1583-71652065-74712010-01-01VIII194108Manual and Fast C Code OptimizationMohammed Fadle AbdullaDeveloping an application with high performance through the code optimization places a greater responsibility on the programmers. While most of the existing compilers attempt to automatically optimize the program code, manual techniques remain the predominant method for performing optimization. Deciding where to try to optimize code is difficult, especially for large complex applications. For manual optimization, the programmers can use his experiences in writing the code, and then he can use a software profiler in order to collect and analyze the performance data from the code. In this work, we have gathered the most experiences which can be applied to improve the style of writing programs in C language as well as we present an implementation of the manual optimization of the codes using the Intel VTune profiler. The paper includes two case studies to illustrate our optimization on the Heap Sort and Factorial functions.http://anale-informatica.tibiscus.ro/download/lucrari/8-1-09-Abdulla.pdf |
spellingShingle | Mohammed Fadle Abdulla Manual and Fast C Code Optimization Anale: Seria Informatică |
title | Manual and Fast C Code Optimization |
title_full | Manual and Fast C Code Optimization |
title_fullStr | Manual and Fast C Code Optimization |
title_full_unstemmed | Manual and Fast C Code Optimization |
title_short | Manual and Fast C Code Optimization |
title_sort | manual and fast c code optimization |
url | http://anale-informatica.tibiscus.ro/download/lucrari/8-1-09-Abdulla.pdf |
work_keys_str_mv | AT mohammedfadleabdulla manualandfastccodeoptimization |