Como detectar gargalos no código para poder otimizá-lo
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot addition of Template:ArticleMetaData) |
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update of Template:ArticleMetaData) |
||
| Line 12: | Line 12: | ||
|id= <!-- Article Id (Knowledge base articles only) --> | |id= <!-- Article Id (Knowledge base articles only) --> | ||
|language=Lang-Portuguese | |language=Lang-Portuguese | ||
| − | |translated-by= | + | |translated-by=[[User:Maiconherverton]] |
| − | |translated-from-title= | + | |translated-from-title=How to detect bottlenecks in the code to optimize it |
| − | |translated-from-id= | + | |translated-from-id=51130 |
|review-by=<!-- After re-review: [[User:username]] --> | |review-by=<!-- After re-review: [[User:username]] --> | ||
|review-timestamp=<!-- After re-review: YYYYMMDD --> | |review-timestamp=<!-- After re-review: YYYYMMDD --> | ||
| Line 20: | Line 20: | ||
|update-timestamp=<!-- After significant update: YYYYMMDD --> | |update-timestamp=<!-- After significant update: YYYYMMDD --> | ||
|creationdate=20090828 | |creationdate=20090828 | ||
| − | |author=[[User: | + | |author=[[User:Firt]] |
}}[[Category:Java ME]] | }}[[Category:Java ME]] | ||
[[Category:Lang-Portuguese]] | [[Category:Lang-Portuguese]] | ||
| Line 41: | Line 41: | ||
... | ... | ||
</code> | </code> | ||
| + | <!-- Translation --> [[en:How to detect bottlenecks in the code to optimize it]] | ||
Revision as of 09:38, 7 December 2011
Dados do artigo
Artigo
Tradução:
Originado de How to detect bottlenecks in the code to optimize it
Por maiconherverton
Última alteração feita por hamishwillee
em 07 Dec 2011
Original: How to detect bottlenecks in the code to optimize it
Se você precisa otimizar seu jogo ou aplicação Java ME e você não sabe onde otimizar, você deve usar um Profiler como os tem nos SDKs e você deve testar várias vezes seu código.
Se você quiser saber quantos milissegundos um algoritmo leva para concluir a tarefa em um dispositivo, você deve usar este código:

