2
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Androidアプリの実行速度計測テンプレ

Posted at

「計測できないものは改善できない。」 by T.K.Kato

速度計測コード
long startTime = System.nanoTime();
~計測したい処理~
long endTime = System.nanoTime();

// ミリ秒単位で表示
Log.d(TAG, "経過時間 " + ((endTime - startTime) / 1000000) + "(ms)");

引用元
黒帯エンジニアが教えるプロの技術 Android開発の教科書

2
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?