Skip to content

Commit

Permalink
Remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
vfsfitvnm committed Nov 1, 2022
1 parent 4fbadc7 commit 490d2d6
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import it.vfsfitvnm.vimusic.R
import it.vfsfitvnm.vimusic.enums.SongSortBy
import it.vfsfitvnm.vimusic.enums.SortOrder
import it.vfsfitvnm.vimusic.models.Song
import it.vfsfitvnm.vimusic.query
import it.vfsfitvnm.vimusic.ui.components.LocalMenuState
import it.vfsfitvnm.vimusic.ui.components.themed.FloatingActionsContainerWithScrollToTop
import it.vfsfitvnm.vimusic.ui.components.themed.Header
Expand All @@ -59,8 +58,6 @@ import it.vfsfitvnm.vimusic.utils.rememberPreference
import it.vfsfitvnm.vimusic.utils.semiBold
import it.vfsfitvnm.vimusic.utils.songSortByKey
import it.vfsfitvnm.vimusic.utils.songSortOrderKey
import kotlin.system.measureTimeMillis
import kotlinx.coroutines.flow.first

@ExperimentalFoundationApi
@ExperimentalAnimationApi
Expand All @@ -81,9 +78,6 @@ fun HomeSongs(
var items by persistList<Song>("home/songs")

LaunchedEffect(sortBy, sortOrder) {
// 670, 58, 97, 91, 94
println("took ${measureTimeMillis { Database.songs(sortBy, sortOrder).first() }}ms")

Database.songs(sortBy, sortOrder).collect { items = it }
}

Expand Down

0 comments on commit 490d2d6

Please sign in to comment.