Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Remove Performance Measurements
Browse files Browse the repository at this point in the history
  • Loading branch information
Sogolumbo committed Jul 22, 2019
1 parent 083d794 commit 69505e5
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,8 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
for (int i = 0; i < playlists.size(); i++) {
int playlistId = playlists.get(i).id;

long startTime = System.currentTimeMillis();//TODO: remove stopwatch

boolean isAnySongInPlaylist = PlaylistsUtil.doPlaylistContainsAnySong(getActivity(), playlistId, songIds);
long stopTime1 = System.currentTimeMillis();//TODO: remove stopwatch
boolean areAllSongsInPlaylist = PlaylistsUtil.doPlaylistContainsAllSongs(getActivity(), playlistId, songIds);
long stopTime2 = System.currentTimeMillis();//TODO: remove stopwatch

//TODO: display checkboxes instead of checkmark
if (isAnySongInPlaylist) {
Expand All @@ -74,14 +70,6 @@ public Dialog onCreateDialog(Bundle savedInstanceState) {
playlistNames[i + 1] = playlists.get(i).name + " (\u2713)"; //Add checkmark in brackets
}
}

long stopTimeTotal = System.currentTimeMillis();//TODO: remove stopwatch
long Time1 = stopTime1 - startTime;
long Time2 = stopTime2 - stopTime1;
long Time3 = stopTimeTotal - stopTime2;
long TotalTime = stopTimeTotal - startTime;//TODO: remove stopwatch
int uselessAssignmentForDebugging = 7;//TODO: remove stopwatch
int c = uselessAssignmentForDebugging;//TODO: remove stopwatch
}
}

Expand Down

0 comments on commit 69505e5

Please sign in to comment.