Como detectar gargalos no código para poder otimizá-lo
hamishwillee
(Talk | contribs) m (Hamishwillee - Automated change of category from Lang-PT to Unlikely Category. (Moving)) |
|||
| Line 1: | Line 1: | ||
| − | [[Category:Java ME | + | [[Category:Java ME]] |
| − | [[Category:Lang- | + | [[Category:Lang-Portuguese]] |
| − | [[Category: | + | [[Category:Code Examples]] |
Original: [[How to detect bottlenecks in the code to optimize it]] | Original: [[How to detect bottlenecks in the code to optimize it]] | ||
Revision as of 08:19, 14 July 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:

